From dabc69812fbbb94acb5f8f4d1caca67c6ce7de7b Mon Sep 17 00:00:00 2001 From: YuriUfimtsev Date: Tue, 31 Oct 2023 22:59:20 +0300 Subject: [PATCH 1/2] Add pure 5.11.3 regenerated without enum class support --- .../com_trolltech_qt_core0.cpp | 1155 +- .../com_trolltech_qt_core0.h | 501 +- .../com_trolltech_qt_core1.cpp | 1426 ++- .../com_trolltech_qt_core1.h | 602 +- .../com_trolltech_qt_core2.cpp | 1669 +-- .../com_trolltech_qt_core2.h | 727 +- .../com_trolltech_qt_core3.cpp | 1517 ++- .../com_trolltech_qt_core3.h | 550 +- .../com_trolltech_qt_core_init.cpp | 125 +- .../com_trolltech_qt_core_builtin0.cpp | 50 + .../com_trolltech_qt_core_builtin0.h | 45 +- .../com_trolltech_qt_core_builtin_init.cpp | 34 +- .../com_trolltech_qt_gui0.cpp | 5601 ++++----- .../com_trolltech_qt_gui0.h | 2155 ++-- .../com_trolltech_qt_gui1.cpp | 4319 +++---- .../com_trolltech_qt_gui1.h | 1767 +-- .../com_trolltech_qt_gui10.cpp | 2704 ++--- .../com_trolltech_qt_gui10.h | 1190 +- .../com_trolltech_qt_gui11.cpp | 2431 ++-- .../com_trolltech_qt_gui11.h | 1093 +- .../com_trolltech_qt_gui12.cpp | 2090 ++-- .../com_trolltech_qt_gui12.h | 840 +- .../com_trolltech_qt_gui2.cpp | 5739 +++++---- .../com_trolltech_qt_gui2.h | 1142 +- .../com_trolltech_qt_gui3.cpp | 10102 ++++++++++------ .../com_trolltech_qt_gui3.h | 1437 +-- .../com_trolltech_qt_gui4.cpp | 3399 +++--- .../com_trolltech_qt_gui4.h | 1385 +-- .../com_trolltech_qt_gui5.cpp | 2614 ++-- .../com_trolltech_qt_gui5.h | 1189 +- .../com_trolltech_qt_gui6.cpp | 1595 +-- .../com_trolltech_qt_gui6.h | 761 +- .../com_trolltech_qt_gui7.cpp | 3169 ++--- .../com_trolltech_qt_gui7.h | 1358 +-- .../com_trolltech_qt_gui8.cpp | 3734 +++--- .../com_trolltech_qt_gui8.h | 1432 +-- .../com_trolltech_qt_gui9.cpp | 161 +- .../com_trolltech_qt_gui9.h | 309 +- .../com_trolltech_qt_gui_init.cpp | 212 +- .../com_trolltech_qt_gui_builtin0.cpp | 231 +- .../com_trolltech_qt_gui_builtin0.h | 130 +- .../com_trolltech_qt_gui_builtin_init.cpp | 28 +- .../com_trolltech_qt_multimedia0.cpp | 1859 +-- .../com_trolltech_qt_multimedia0.h | 811 +- .../com_trolltech_qt_multimedia1.cpp | 2697 +++-- .../com_trolltech_qt_multimedia1.h | 831 +- .../com_trolltech_qt_multimedia2.cpp | 1367 +-- .../com_trolltech_qt_multimedia2.h | 647 +- .../com_trolltech_qt_multimedia3.cpp | 619 +- .../com_trolltech_qt_multimedia3.h | 259 +- .../com_trolltech_qt_multimedia_init.cpp | 42 +- .../com_trolltech_qt_network0.cpp | 950 +- .../com_trolltech_qt_network0.h | 456 +- .../com_trolltech_qt_network1.cpp | 1093 +- .../com_trolltech_qt_network1.h | 403 +- .../com_trolltech_qt_network_init.cpp | 54 +- .../com_trolltech_qt_opengl0.cpp | 524 +- .../com_trolltech_qt_opengl0.h | 278 +- .../com_trolltech_qt_opengl_init.cpp | 8 +- .../com_trolltech_qt_qml0.cpp | 357 +- .../com_trolltech_qt_qml0.h | 331 +- .../com_trolltech_qt_qml_init.cpp | 16 +- .../com_trolltech_qt_quick0.cpp | 1571 +-- .../com_trolltech_qt_quick0.h | 837 +- .../com_trolltech_qt_quick1.cpp | 391 +- .../com_trolltech_qt_quick1.h | 207 +- .../com_trolltech_qt_quick_init.cpp | 8 +- .../com_trolltech_qt_sql0.cpp | 1733 +-- .../com_trolltech_qt_sql0.h | 527 +- .../com_trolltech_qt_sql_init.cpp | 14 +- .../com_trolltech_qt_svg0.cpp | 1324 +- .../com_trolltech_qt_svg0.h | 243 +- .../com_trolltech_qt_uitools0.cpp | 73 +- .../com_trolltech_qt_uitools0.h | 31 +- .../com_trolltech_qt_xml0.cpp | 1002 +- .../com_trolltech_qt_xml0.h | 382 +- .../com_trolltech_qt_xml1.h | 14 +- .../com_trolltech_qt_xml_init.cpp | 50 +- .../com_trolltech_qt_xmlpatterns0.cpp | 535 +- .../com_trolltech_qt_xmlpatterns0.h | 251 +- .../com_trolltech_qt_xmlpatterns_init.cpp | 20 +- 81 files changed, 51244 insertions(+), 44289 deletions(-) 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..3c211bf52 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 @@ -38,6 +38,7 @@ #include #include #include +#include #include #include @@ -55,9 +56,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -77,9 +78,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -99,20 +100,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -132,20 +133,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -165,20 +166,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -198,9 +199,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -220,9 +221,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)¤tTime0}; + void* args[2] = {nullptr, (void*)¤tTime0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -242,9 +243,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; + void* args[2] = {nullptr, (void*)&direction0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -264,9 +265,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -379,20 +380,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -412,20 +413,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -445,20 +446,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -478,9 +479,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -500,20 +501,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -533,9 +534,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -555,20 +556,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -588,20 +589,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -621,20 +622,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -654,20 +655,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -687,9 +688,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -709,20 +710,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -742,20 +743,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -775,20 +776,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -808,20 +809,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -841,20 +842,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -874,20 +875,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -907,20 +908,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -940,20 +941,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + QList returnValue{}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -973,20 +974,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1006,20 +1007,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1039,20 +1040,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1072,20 +1073,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1105,20 +1106,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&child0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1138,20 +1139,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1171,20 +1172,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1204,9 +1205,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1226,20 +1227,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1259,20 +1260,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1292,20 +1293,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1325,20 +1326,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1358,20 +1359,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1391,20 +1392,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1424,9 +1425,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1446,20 +1447,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1479,20 +1480,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1512,20 +1513,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1545,20 +1546,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1578,9 +1579,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1923,20 +1924,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1956,20 +1957,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1989,20 +1990,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2022,9 +2023,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2044,9 +2045,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2066,20 +2067,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2099,20 +2100,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2132,20 +2133,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2165,20 +2166,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2198,9 +2199,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2220,20 +2221,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2253,20 +2254,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2286,20 +2287,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2319,20 +2320,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2352,20 +2353,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2385,20 +2386,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2418,20 +2419,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + QList returnValue{}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2451,20 +2452,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2484,20 +2485,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2517,20 +2518,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2550,20 +2551,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2583,20 +2584,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2616,20 +2617,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2649,9 +2650,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2671,20 +2672,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2704,20 +2705,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2737,20 +2738,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2770,20 +2771,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2803,20 +2804,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2836,20 +2837,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2869,9 +2870,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2891,20 +2892,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2924,20 +2925,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2957,20 +2958,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2990,20 +2991,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3023,9 +3024,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3068,9 +3069,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3090,9 +3091,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3112,20 +3113,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3145,20 +3146,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3178,9 +3179,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3200,9 +3201,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3222,9 +3223,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3292,9 +3293,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3314,9 +3315,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3336,20 +3337,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3369,20 +3370,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3402,20 +3403,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3435,9 +3436,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3457,9 +3458,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3567,9 +3568,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3589,9 +3590,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3611,20 +3612,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3644,20 +3645,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3677,20 +3678,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3710,9 +3711,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3732,9 +3733,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)¤tTime0}; + void* args[2] = {nullptr, (void*)¤tTime0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3754,9 +3755,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; + void* args[2] = {nullptr, (void*)&direction0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3776,9 +3777,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3943,20 +3944,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3976,20 +3977,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4009,20 +4010,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4042,20 +4043,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4075,9 +4076,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4097,9 +4098,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4119,9 +4120,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMetaMethod&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4141,9 +4142,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4163,9 +4164,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMetaMethod&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4185,20 +4186,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4218,20 +4219,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4251,20 +4252,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4284,20 +4285,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&openMode0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&openMode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4317,20 +4318,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4350,20 +4351,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4383,20 +4384,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4416,20 +4417,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4449,20 +4450,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&off0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&off0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4482,20 +4483,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4515,9 +4516,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4537,20 +4538,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4570,20 +4571,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4603,20 +4604,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6200,9 +6201,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6222,9 +6223,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6244,20 +6245,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6277,20 +6278,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6310,9 +6311,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6385,9 +6386,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6407,9 +6408,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6429,20 +6430,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6462,20 +6463,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6495,20 +6496,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6528,9 +6529,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6550,9 +6551,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6619,20 +6620,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core0.h b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core0.h index 8698a1114..5745881ff 100644 --- a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core0.h +++ b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core0.h @@ -41,6 +41,7 @@ #include #include #include +#include #include #include @@ -49,23 +50,23 @@ class PythonQtShell_QAbstractAnimation : public QAbstractAnimation { public: - PythonQtShell_QAbstractAnimation(QObject* parent = nullptr):QAbstractAnimation(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractAnimation(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual int duration() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateCurrentTime(int currentTime); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractAnimation(QObject* parent = nullptr):QAbstractAnimation(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractAnimation() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int currentTime) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAnimation : public QAbstractAnimation @@ -89,7 +90,7 @@ enum DeletionPolicy{ KeepWhenStopped = QAbstractAnimation::KeepWhenStopped, DeleteWhenStopped = QAbstractAnimation::DeleteWhenStopped}; public slots: QAbstractAnimation* new_QAbstractAnimation(QObject* parent = nullptr); -void delete_QAbstractAnimation(QAbstractAnimation* obj) { delete obj; } +void delete_QAbstractAnimation(QAbstractAnimation* obj) { delete obj; } int currentLoop(QAbstractAnimation* theWrappedObject) const; int currentLoopTime(QAbstractAnimation* theWrappedObject) const; int currentTime(QAbstractAnimation* theWrappedObject) const; @@ -118,53 +119,53 @@ void delete_QAbstractAnimation(QAbstractAnimation* obj) { delete obj; } class PythonQtShell_QAbstractItemModel : public QAbstractItemModel { public: - PythonQtShell_QAbstractItemModel(QObject* parent = nullptr):QAbstractItemModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractItemModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* event); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* event); -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractItemModel(QObject* parent = nullptr):QAbstractItemModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractItemModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractItemModel : public QAbstractItemModel @@ -232,7 +233,7 @@ class PythonQtWrapper_QAbstractItemModel : public QObject public: public slots: QAbstractItemModel* new_QAbstractItemModel(QObject* parent = nullptr); -void delete_QAbstractItemModel(QAbstractItemModel* obj) { delete obj; } +void delete_QAbstractItemModel(QAbstractItemModel* obj) { delete obj; } void beginInsertColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last); void beginInsertRows(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last); bool beginMoveColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceFirst, int sourceLast, const QModelIndex& destinationParent, int destinationColumn); @@ -336,50 +337,50 @@ void delete_QAbstractItemModel(QAbstractItemModel* obj) { delete obj; } class PythonQtShell_QAbstractListModel : public QAbstractListModel { public: - PythonQtShell_QAbstractListModel(QObject* parent = nullptr):QAbstractListModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractListModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractListModel(QObject* parent = nullptr):QAbstractListModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractListModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractListModel : public QAbstractListModel @@ -395,7 +396,7 @@ class PythonQtWrapper_QAbstractListModel : public QObject public: public slots: QAbstractListModel* new_QAbstractListModel(QObject* parent = nullptr); -void delete_QAbstractListModel(QAbstractListModel* obj) { delete obj; } +void delete_QAbstractListModel(QAbstractListModel* obj) { delete obj; } bool py_q_dropMimeData(QAbstractListModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QAbstractListModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} Qt::ItemFlags py_q_flags(QAbstractListModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractListModel*)theWrappedObject)->py_q_flags(index));} QModelIndex py_q_index(QAbstractListModel* theWrappedObject, int row, int column = 0, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QAbstractListModel*)theWrappedObject)->py_q_index(row, column, parent));} @@ -409,21 +410,21 @@ void delete_QAbstractListModel(QAbstractListModel* obj) { delete obj; } class PythonQtShell_QAbstractState : public QAbstractState { public: - PythonQtShell_QAbstractState(QState* parent = nullptr):QAbstractState(parent),_wrapper(NULL) {}; + PythonQtShell_QAbstractState(QState* parent = nullptr):QAbstractState(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractState(); + ~PythonQtShell_QAbstractState() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void onEntry(QEvent* event) override; +void onExit(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractState : public QAbstractState @@ -441,7 +442,7 @@ class PythonQtWrapper_QAbstractState : public QObject public: public slots: QAbstractState* new_QAbstractState(QState* parent = nullptr); -void delete_QAbstractState(QAbstractState* obj) { delete obj; } +void delete_QAbstractState(QAbstractState* obj) { delete obj; } bool active(QAbstractState* theWrappedObject) const; bool py_q_event(QAbstractState* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QAbstractState*)theWrappedObject)->py_q_event(e));} QStateMachine* machine(QAbstractState* theWrappedObject) const; @@ -459,21 +460,21 @@ void delete_QAbstractState(QAbstractState* obj) { delete obj; } class PythonQtShell_QAbstractTransition : public QAbstractTransition { public: - PythonQtShell_QAbstractTransition(QState* sourceState = nullptr):QAbstractTransition(sourceState),_wrapper(NULL) {}; + PythonQtShell_QAbstractTransition(QState* sourceState = nullptr):QAbstractTransition(sourceState),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractTransition(); + ~PythonQtShell_QAbstractTransition() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool eventTest(QEvent* event) override; +void onTransition(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractTransition : public QAbstractTransition @@ -491,7 +492,7 @@ class PythonQtWrapper_QAbstractTransition : public QObject public: public slots: QAbstractTransition* new_QAbstractTransition(QState* sourceState = nullptr); -void delete_QAbstractTransition(QAbstractTransition* obj) { delete obj; } +void delete_QAbstractTransition(QAbstractTransition* obj) { delete obj; } void addAnimation(QAbstractTransition* theWrappedObject, QAbstractAnimation* animation); QList animations(QAbstractTransition* theWrappedObject) const; bool py_q_event(QAbstractTransition* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->py_q_event(e));} @@ -517,23 +518,23 @@ void delete_QAbstractTransition(QAbstractTransition* obj) { delete obj; } class PythonQtShell_QAnimationGroup : public QAnimationGroup { public: - PythonQtShell_QAnimationGroup(QObject* parent = nullptr):QAnimationGroup(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAnimationGroup(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual int duration() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateCurrentTime(int currentTime); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAnimationGroup(QObject* parent = nullptr):QAnimationGroup(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAnimationGroup() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int currentTime) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAnimationGroup : public QAnimationGroup @@ -547,7 +548,7 @@ class PythonQtWrapper_QAnimationGroup : public QObject public: public slots: QAnimationGroup* new_QAnimationGroup(QObject* parent = nullptr); -void delete_QAnimationGroup(QAnimationGroup* obj) { delete obj; } +void delete_QAnimationGroup(QAnimationGroup* obj) { delete obj; } void addAnimation(QAnimationGroup* theWrappedObject, PythonQtPassOwnershipToCPP animation); QAbstractAnimation* animationAt(QAnimationGroup* theWrappedObject, int index) const; int animationCount(QAnimationGroup* theWrappedObject) const; @@ -568,7 +569,7 @@ class PythonQtWrapper_QApplicationStateChangeEvent : public QObject public: public slots: QApplicationStateChangeEvent* new_QApplicationStateChangeEvent(Qt::ApplicationState state); -void delete_QApplicationStateChangeEvent(QApplicationStateChangeEvent* obj) { delete obj; } +void delete_QApplicationStateChangeEvent(QApplicationStateChangeEvent* obj) { delete obj; } Qt::ApplicationState applicationState(QApplicationStateChangeEvent* theWrappedObject) const; }; @@ -579,12 +580,12 @@ void delete_QApplicationStateChangeEvent(QApplicationStateChangeEvent* obj) { de class PythonQtShell_QBasicMutex : public QBasicMutex { public: - PythonQtShell_QBasicMutex():QBasicMutex(),_wrapper(NULL) {}; + PythonQtShell_QBasicMutex():QBasicMutex(),_wrapper(nullptr) {}; ~PythonQtShell_QBasicMutex(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QBasicMutex : public QObject @@ -592,7 +593,7 @@ class PythonQtWrapper_QBasicMutex : public QObject public: public slots: QBasicMutex* new_QBasicMutex(); -void delete_QBasicMutex(QBasicMutex* obj) { delete obj; } +void delete_QBasicMutex(QBasicMutex* obj) { delete obj; } bool isRecursive(QBasicMutex* theWrappedObject); bool isRecursive(QBasicMutex* theWrappedObject) const; void lock(QBasicMutex* theWrappedObject); @@ -614,7 +615,7 @@ QBasicTimer* new_QBasicTimer(const QBasicTimer& other) { QBasicTimer* a = new QBasicTimer(); *((QBasicTimer*)a) = other; return a; } -void delete_QBasicTimer(QBasicTimer* obj) { delete obj; } +void delete_QBasicTimer(QBasicTimer* obj) { delete obj; } bool isActive(QBasicTimer* theWrappedObject) const; void start(QBasicTimer* theWrappedObject, int msec, QObject* obj); void start(QBasicTimer* theWrappedObject, int msec, Qt::TimerType timerType, QObject* obj); @@ -629,38 +630,38 @@ void delete_QBasicTimer(QBasicTimer* obj) { delete obj; } class PythonQtShell_QBuffer : public QBuffer { public: - PythonQtShell_QBuffer(QByteArray* buf, QObject* parent = nullptr):QBuffer(buf, parent),_wrapper(NULL) {}; - PythonQtShell_QBuffer(QObject* parent = nullptr):QBuffer(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QBuffer(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* event); -virtual void close(); -virtual void connectNotify(const QMetaMethod& arg__1); -virtual void customEvent(QEvent* event); -virtual void disconnectNotify(const QMetaMethod& arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode openMode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 off); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* event); -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QBuffer(QByteArray* buf, QObject* parent = nullptr):QBuffer(buf, parent),_wrapper(nullptr) {}; + PythonQtShell_QBuffer(QObject* parent = nullptr):QBuffer(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QBuffer() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void connectNotify(const QMetaMethod& arg__1) override; +void customEvent(QEvent* event) override; +void disconnectNotify(const QMetaMethod& arg__1) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode openMode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool seek(qint64 off) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QBuffer : public QBuffer @@ -688,7 +689,7 @@ class PythonQtWrapper_QBuffer : public QObject public slots: QBuffer* new_QBuffer(QByteArray* buf, QObject* parent = nullptr); QBuffer* new_QBuffer(QObject* parent = nullptr); -void delete_QBuffer(QBuffer* obj) { delete obj; } +void delete_QBuffer(QBuffer* obj) { delete obj; } bool py_q_atEnd(QBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->py_q_atEnd());} const QByteArray* buffer(QBuffer* theWrappedObject) const; bool py_q_canReadLine(QBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->py_q_canReadLine());} @@ -720,7 +721,7 @@ QByteArrayMatcher* new_QByteArrayMatcher(); QByteArrayMatcher* new_QByteArrayMatcher(const QByteArray& pattern); QByteArrayMatcher* new_QByteArrayMatcher(const QByteArrayMatcher& other); QByteArrayMatcher* new_QByteArrayMatcher(const char* pattern, int length); -void delete_QByteArrayMatcher(QByteArrayMatcher* obj) { delete obj; } +void delete_QByteArrayMatcher(QByteArrayMatcher* obj) { delete obj; } int indexIn(QByteArrayMatcher* theWrappedObject, const QByteArray& ba, int from = 0) const; int indexIn(QByteArrayMatcher* theWrappedObject, const char* str, int len, int from = 0) const; QByteArray pattern(QByteArrayMatcher* theWrappedObject) const; @@ -734,12 +735,12 @@ void delete_QByteArrayMatcher(QByteArrayMatcher* obj) { delete obj; } class PythonQtShell_QChildEvent : public QChildEvent { public: - PythonQtShell_QChildEvent(QEvent::Type type, QObject* child):QChildEvent(type, child),_wrapper(NULL) {}; + PythonQtShell_QChildEvent(QEvent::Type type, QObject* child):QChildEvent(type, child),_wrapper(nullptr) {}; - ~PythonQtShell_QChildEvent(); + ~PythonQtShell_QChildEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QChildEvent : public QObject @@ -747,7 +748,7 @@ class PythonQtWrapper_QChildEvent : public QObject public: public slots: QChildEvent* new_QChildEvent(QEvent::Type type, QObject* child); -void delete_QChildEvent(QChildEvent* obj) { delete obj; } +void delete_QChildEvent(QChildEvent* obj) { delete obj; } bool added(QChildEvent* theWrappedObject) const; QObject* child(QChildEvent* theWrappedObject) const; bool polished(QChildEvent* theWrappedObject) const; @@ -764,7 +765,7 @@ class PythonQtWrapper_QCollator : public QObject public slots: QCollator* new_QCollator(const QCollator& arg__1); QCollator* new_QCollator(const QLocale& locale = QLocale()); -void delete_QCollator(QCollator* obj) { delete obj; } +void delete_QCollator(QCollator* obj) { delete obj; } Qt::CaseSensitivity caseSensitivity(QCollator* theWrappedObject) const; int compare(QCollator* theWrappedObject, const QChar* s1, int len1, const QChar* s2, int len2) const; int compare(QCollator* theWrappedObject, const QString& s1, const QString& s2) const; @@ -791,7 +792,7 @@ class PythonQtWrapper_QCollatorSortKey : public QObject public: public slots: QCollatorSortKey* new_QCollatorSortKey(const QCollatorSortKey& other); -void delete_QCollatorSortKey(QCollatorSortKey* obj) { delete obj; } +void delete_QCollatorSortKey(QCollatorSortKey* obj) { delete obj; } int compare(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& key) const; bool __lt__(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& rhs); QCollatorSortKey* operator_assign(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& other); @@ -814,7 +815,7 @@ QCommandLineOption* new_QCommandLineOption(const QString& name); QCommandLineOption* new_QCommandLineOption(const QString& name, const QString& description, const QString& valueName = QString(), const QString& defaultValue = QString()); QCommandLineOption* new_QCommandLineOption(const QStringList& names); QCommandLineOption* new_QCommandLineOption(const QStringList& names, const QString& description, const QString& valueName = QString(), const QString& defaultValue = QString()); -void delete_QCommandLineOption(QCommandLineOption* obj) { delete obj; } +void delete_QCommandLineOption(QCommandLineOption* obj) { delete obj; } QStringList defaultValues(QCommandLineOption* theWrappedObject) const; QString description(QCommandLineOption* theWrappedObject) const; bool isHidden(QCommandLineOption* theWrappedObject) const; @@ -843,7 +844,7 @@ enum SingleDashWordOptionMode{ ParseAsCompactedShortOptions = QCommandLineParser::ParseAsCompactedShortOptions, ParseAsLongOptions = QCommandLineParser::ParseAsLongOptions}; public slots: QCommandLineParser* new_QCommandLineParser(); -void delete_QCommandLineParser(QCommandLineParser* obj) { delete obj; } +void delete_QCommandLineParser(QCommandLineParser* obj) { delete obj; } QCommandLineOption addHelpOption(QCommandLineParser* theWrappedObject); bool addOption(QCommandLineParser* theWrappedObject, const QCommandLineOption& commandLineOption); bool addOptions(QCommandLineParser* theWrappedObject, const QList& options); @@ -892,7 +893,7 @@ Q_ENUMS(enum_1 ) enum enum_1{ ApplicationFlags = QCoreApplication::ApplicationFlags}; public slots: -void delete_QCoreApplication(QCoreApplication* obj) { delete obj; } +void delete_QCoreApplication(QCoreApplication* obj) { delete obj; } void static_QCoreApplication_addLibraryPath(const QString& arg__1); QString static_QCoreApplication_applicationDirPath(); QString static_QCoreApplication_applicationFilePath(); @@ -950,7 +951,7 @@ enum Algorithm{ Md4 = QCryptographicHash::Md4, Md5 = QCryptographicHash::Md5, Sha1 = QCryptographicHash::Sha1, Sha224 = QCryptographicHash::Sha224, Sha256 = QCryptographicHash::Sha256, Sha384 = QCryptographicHash::Sha384, Sha512 = QCryptographicHash::Sha512, Keccak_224 = QCryptographicHash::Keccak_224, Keccak_256 = QCryptographicHash::Keccak_256, Keccak_384 = QCryptographicHash::Keccak_384, Keccak_512 = QCryptographicHash::Keccak_512, RealSha3_224 = QCryptographicHash::RealSha3_224, RealSha3_256 = QCryptographicHash::RealSha3_256, RealSha3_384 = QCryptographicHash::RealSha3_384, RealSha3_512 = QCryptographicHash::RealSha3_512, Sha3_224 = QCryptographicHash::Sha3_224, Sha3_256 = QCryptographicHash::Sha3_256, Sha3_384 = QCryptographicHash::Sha3_384, Sha3_512 = QCryptographicHash::Sha3_512}; public slots: QCryptographicHash* new_QCryptographicHash(QCryptographicHash::Algorithm method); -void delete_QCryptographicHash(QCryptographicHash* obj) { delete obj; } +void delete_QCryptographicHash(QCryptographicHash* obj) { delete obj; } bool addData(QCryptographicHash* theWrappedObject, QIODevice* device); void addData(QCryptographicHash* theWrappedObject, const QByteArray& data); QByteArray static_QCryptographicHash_hash(const QByteArray& data, QCryptographicHash::Algorithm method); @@ -979,7 +980,7 @@ QDataStream* new_QDataStream(); QDataStream* new_QDataStream(QByteArray* arg__1, QIODevice::OpenMode flags); QDataStream* new_QDataStream(QIODevice* arg__1); QDataStream* new_QDataStream(const QByteArray& arg__1); -void delete_QDataStream(QDataStream* obj) { delete obj; } +void delete_QDataStream(QDataStream* obj) { delete obj; } void abortTransaction(QDataStream* theWrappedObject); bool atEnd(QDataStream* theWrappedObject) const; QDataStream::ByteOrder byteOrder(QDataStream* theWrappedObject) const; @@ -1067,7 +1068,7 @@ public slots: QDeadlineTimer* new_QDeadlineTimer(QDeadlineTimer::ForeverConstant arg__1, Qt::TimerType type_ = Qt::CoarseTimer); QDeadlineTimer* new_QDeadlineTimer(Qt::TimerType type_ = Qt::CoarseTimer); QDeadlineTimer* new_QDeadlineTimer(qint64 msecs, Qt::TimerType type = Qt::CoarseTimer); -void delete_QDeadlineTimer(QDeadlineTimer* obj) { delete obj; } +void delete_QDeadlineTimer(QDeadlineTimer* obj) { delete obj; } QDeadlineTimer static_QDeadlineTimer_addNSecs(QDeadlineTimer dt, qint64 nsecs); QDeadlineTimer static_QDeadlineTimer_current(Qt::TimerType timerType = Qt::CoarseTimer); qint64 deadline(QDeadlineTimer* theWrappedObject) const; @@ -1096,7 +1097,7 @@ class PythonQtWrapper_QDeferredDeleteEvent : public QObject public: public slots: QDeferredDeleteEvent* new_QDeferredDeleteEvent(); -void delete_QDeferredDeleteEvent(QDeferredDeleteEvent* obj) { delete obj; } +void delete_QDeferredDeleteEvent(QDeferredDeleteEvent* obj) { delete obj; } int loopLevel(QDeferredDeleteEvent* theWrappedObject) const; }; @@ -1119,7 +1120,7 @@ public slots: QDir* new_QDir(const QDir& arg__1); QDir* new_QDir(const QString& path = QString()); QDir* new_QDir(const QString& path, const QString& nameFilter, QDir::SortFlags sort = QDir::SortFlags(Name | IgnoreCase), QDir::Filters filter = QDir::AllEntries); -void delete_QDir(QDir* obj) { delete obj; } +void delete_QDir(QDir* obj) { delete obj; } QString absoluteFilePath(QDir* theWrappedObject, const QString& fileName) const; QString absolutePath(QDir* theWrappedObject) const; void static_QDir_addSearchPath(const QString& prefix, const QString& path); @@ -1205,7 +1206,7 @@ QDirIterator* new_QDirIterator(const QDir& dir, QDirIterator::IteratorFlags fl QDirIterator* new_QDirIterator(const QString& path, QDir::Filters filter, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags); QDirIterator* new_QDirIterator(const QString& path, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags); QDirIterator* new_QDirIterator(const QString& path, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags); -void delete_QDirIterator(QDirIterator* obj) { delete obj; } +void delete_QDirIterator(QDirIterator* obj) { delete obj; } QFileInfo fileInfo(QDirIterator* theWrappedObject) const; QString fileName(QDirIterator* theWrappedObject) const; QString filePath(QDirIterator* theWrappedObject) const; @@ -1223,7 +1224,7 @@ class PythonQtWrapper_QDynamicPropertyChangeEvent : public QObject public: public slots: QDynamicPropertyChangeEvent* new_QDynamicPropertyChangeEvent(const QByteArray& name); -void delete_QDynamicPropertyChangeEvent(QDynamicPropertyChangeEvent* obj) { delete obj; } +void delete_QDynamicPropertyChangeEvent(QDynamicPropertyChangeEvent* obj) { delete obj; } QByteArray propertyName(QDynamicPropertyChangeEvent* theWrappedObject) const; }; @@ -1240,7 +1241,7 @@ enum Type{ public slots: QEasingCurve* new_QEasingCurve(QEasingCurve::Type type = QEasingCurve::Linear); QEasingCurve* new_QEasingCurve(const QEasingCurve& other); -void delete_QEasingCurve(QEasingCurve* obj) { delete obj; } +void delete_QEasingCurve(QEasingCurve* obj) { delete obj; } void addCubicBezierSegment(QEasingCurve* theWrappedObject, const QPointF& c1, const QPointF& c2, const QPointF& endPoint); void addTCBSegment(QEasingCurve* theWrappedObject, const QPointF& nextPoint, qreal t, qreal c, qreal b); qreal amplitude(QEasingCurve* theWrappedObject) const; @@ -1274,7 +1275,7 @@ enum ClockType{ SystemTime = QElapsedTimer::SystemTime, MonotonicClock = QElapsedTimer::MonotonicClock, TickCounter = QElapsedTimer::TickCounter, MachAbsoluteTime = QElapsedTimer::MachAbsoluteTime, PerformanceCounter = QElapsedTimer::PerformanceCounter}; public slots: QElapsedTimer* new_QElapsedTimer(); -void delete_QElapsedTimer(QElapsedTimer* obj) { delete obj; } +void delete_QElapsedTimer(QElapsedTimer* obj) { delete obj; } QElapsedTimer::ClockType static_QElapsedTimer_clockType(); qint64 elapsed(QElapsedTimer* theWrappedObject) const; bool hasExpired(QElapsedTimer* theWrappedObject, qint64 timeout) const; @@ -1299,13 +1300,13 @@ void delete_QElapsedTimer(QElapsedTimer* obj) { delete obj; } class PythonQtShell_QEvent : public QEvent { public: - PythonQtShell_QEvent(QEvent::Type type):QEvent(type),_wrapper(NULL) {}; - PythonQtShell_QEvent(const QEvent& other):QEvent(other),_wrapper(NULL) {}; + PythonQtShell_QEvent(QEvent::Type type):QEvent(type),_wrapper(nullptr) {}; + PythonQtShell_QEvent(const QEvent& other):QEvent(other),_wrapper(nullptr) {}; - ~PythonQtShell_QEvent(); + ~PythonQtShell_QEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QEvent : public QObject @@ -1317,7 +1318,7 @@ enum Type{ public slots: QEvent* new_QEvent(QEvent::Type type); QEvent* new_QEvent(const QEvent& other); -void delete_QEvent(QEvent* obj) { delete obj; } +void delete_QEvent(QEvent* obj) { delete obj; } void accept(QEvent* theWrappedObject); void ignore(QEvent* theWrappedObject); bool isAccepted(QEvent* theWrappedObject) const; @@ -1336,19 +1337,19 @@ void delete_QEvent(QEvent* obj) { delete obj; } class PythonQtShell_QEventLoop : public QEventLoop { public: - PythonQtShell_QEventLoop(QObject* parent = nullptr):QEventLoop(parent),_wrapper(NULL) {}; + PythonQtShell_QEventLoop(QObject* parent = nullptr):QEventLoop(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QEventLoop(); + ~PythonQtShell_QEventLoop() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QEventLoop : public QEventLoop @@ -1366,7 +1367,7 @@ enum ProcessEventsFlag{ Q_DECLARE_FLAGS(ProcessEventsFlags, ProcessEventsFlag) public slots: QEventLoop* new_QEventLoop(QObject* parent = nullptr); -void delete_QEventLoop(QEventLoop* obj) { delete obj; } +void delete_QEventLoop(QEventLoop* obj) { delete obj; } bool py_q_event(QEventLoop* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QEventLoop*)theWrappedObject)->py_q_event(event));} int exec(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents); void exit(QEventLoop* theWrappedObject, int returnCode = 0); @@ -1383,22 +1384,22 @@ void delete_QEventLoop(QEventLoop* obj) { delete obj; } class PythonQtShell_QEventTransition : public QEventTransition { public: - PythonQtShell_QEventTransition(QObject* object, QEvent::Type type, QState* sourceState = nullptr):QEventTransition(object, type, sourceState),_wrapper(NULL) {}; - PythonQtShell_QEventTransition(QState* sourceState = nullptr):QEventTransition(sourceState),_wrapper(NULL) {}; - - ~PythonQtShell_QEventTransition(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QEventTransition(QObject* object, QEvent::Type type, QState* sourceState = nullptr):QEventTransition(object, type, sourceState),_wrapper(nullptr) {}; + PythonQtShell_QEventTransition(QState* sourceState = nullptr):QEventTransition(sourceState),_wrapper(nullptr) {}; + + ~PythonQtShell_QEventTransition() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool eventTest(QEvent* event) override; +void onTransition(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QEventTransition : public QEventTransition @@ -1417,7 +1418,7 @@ class PythonQtWrapper_QEventTransition : public QObject public slots: QEventTransition* new_QEventTransition(QObject* object, QEvent::Type type, QState* sourceState = nullptr); QEventTransition* new_QEventTransition(QState* sourceState = nullptr); -void delete_QEventTransition(QEventTransition* obj) { delete obj; } +void delete_QEventTransition(QEventTransition* obj) { delete obj; } bool py_q_event(QEventTransition* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QEventTransition*)theWrappedObject)->py_q_event(e));} QObject* eventSource(QEventTransition* theWrappedObject) const; bool py_q_eventTest(QEventTransition* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QEventTransition*)theWrappedObject)->py_q_eventTest(event));} @@ -1434,13 +1435,13 @@ void delete_QEventTransition(QEventTransition* obj) { delete obj; } class PythonQtShell_QFactoryInterface : public QFactoryInterface { public: - PythonQtShell_QFactoryInterface():QFactoryInterface(),_wrapper(NULL) {}; + PythonQtShell_QFactoryInterface():QFactoryInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QFactoryInterface(); + ~PythonQtShell_QFactoryInterface() override; -virtual QStringList keys() const; +QStringList keys() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFactoryInterface : public QFactoryInterface @@ -1453,7 +1454,7 @@ class PythonQtWrapper_QFactoryInterface : public QObject public: public slots: QFactoryInterface* new_QFactoryInterface(); -void delete_QFactoryInterface(QFactoryInterface* obj) { delete obj; } +void delete_QFactoryInterface(QFactoryInterface* obj) { delete obj; } QStringList keys(QFactoryInterface* theWrappedObject) const; QStringList py_q_keys(QFactoryInterface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFactoryInterface*)theWrappedObject)->py_q_keys());} }; 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..dc89f5c9d 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 @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include @@ -44,6 +45,7 @@ #include #include #include +#include #include #include @@ -61,20 +63,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -94,20 +96,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -127,20 +129,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -160,20 +162,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -193,9 +195,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -215,9 +217,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -237,9 +239,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -259,20 +261,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -292,20 +294,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -325,20 +327,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -358,20 +360,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -391,20 +393,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&flags0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -424,20 +426,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QFileDevice::Permissions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QFileDevice::Permissions returnValue; - void* args[1] = {NULL}; + QFileDevice::Permissions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); } else { returnValue = *((QFileDevice::Permissions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -457,20 +459,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -490,20 +492,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -523,20 +525,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -556,20 +558,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -589,20 +591,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&sz0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&sz0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -622,20 +624,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -655,20 +657,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&permissionSpec0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&permissionSpec0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -688,20 +690,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -721,9 +723,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -743,20 +745,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -776,20 +778,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -809,20 +811,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -972,20 +974,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1005,20 +1007,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1038,20 +1040,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1071,20 +1073,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1104,9 +1106,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1126,9 +1128,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1148,9 +1150,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1170,20 +1172,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1203,20 +1205,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1236,20 +1238,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1269,20 +1271,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1302,20 +1304,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&mode0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1335,20 +1337,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QFileDevice::Permissions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QFileDevice::Permissions returnValue; - void* args[1] = {NULL}; + QFileDevice::Permissions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); } else { returnValue = *((QFileDevice::Permissions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1368,20 +1370,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1401,20 +1403,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1434,20 +1436,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1467,20 +1469,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1500,20 +1502,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&sz0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&sz0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1533,20 +1535,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1566,20 +1568,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&permissionSpec0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&permissionSpec0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1599,20 +1601,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1632,9 +1634,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1654,20 +1656,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1687,20 +1689,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1720,20 +1722,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2114,9 +2116,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2136,9 +2138,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2158,20 +2160,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2191,20 +2193,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2224,9 +2226,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2294,9 +2296,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2316,9 +2318,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2338,20 +2340,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2371,20 +2373,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2404,9 +2406,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2483,9 +2485,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2505,9 +2507,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2527,20 +2529,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2560,20 +2562,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2593,9 +2595,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2615,9 +2617,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2637,9 +2639,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2682,9 +2684,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2704,9 +2706,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2726,20 +2728,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2759,20 +2761,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2792,9 +2794,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2814,9 +2816,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2836,9 +2838,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2915,20 +2917,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2948,20 +2950,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2981,20 +2983,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3014,20 +3016,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3047,9 +3049,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3069,9 +3071,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3091,9 +3093,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3113,20 +3115,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3146,20 +3148,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3179,20 +3181,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3212,20 +3214,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&mode0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3245,20 +3247,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3278,20 +3280,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3311,20 +3313,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3344,20 +3346,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3377,20 +3379,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&pos0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3410,20 +3412,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3443,9 +3445,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3465,20 +3467,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3498,20 +3500,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3531,20 +3533,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3816,20 +3818,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3849,20 +3851,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3882,20 +3884,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3915,9 +3917,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3937,20 +3939,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3970,9 +3972,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3992,20 +3994,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&proxyIndex0, (void*)&role1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&proxyIndex0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4025,20 +4027,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4058,20 +4060,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4091,20 +4093,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4124,9 +4126,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4146,20 +4148,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4179,20 +4181,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4212,20 +4214,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4245,20 +4247,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4278,20 +4280,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4311,20 +4313,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4344,20 +4346,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4377,20 +4379,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&sourceIndex0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&sourceIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4410,20 +4412,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue; - void* args[2] = {NULL, (void*)&selection0}; + QItemSelection returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); } else { returnValue = *((QItemSelection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4443,20 +4445,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue; - void* args[2] = {NULL, (void*)&selection0}; + QItemSelection returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); } else { returnValue = *((QItemSelection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4476,20 +4478,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&proxyIndex0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&proxyIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4509,20 +4511,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + QList returnValue{}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4542,20 +4544,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4575,20 +4577,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4608,20 +4610,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4641,20 +4643,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4674,20 +4676,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&child0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4707,20 +4709,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4740,20 +4742,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4773,9 +4775,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4795,20 +4797,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4828,20 +4830,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4861,20 +4863,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4894,20 +4896,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4927,20 +4929,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4960,9 +4962,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&sourceModel0}; + void* args[2] = {nullptr, (void*)&sourceModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4982,20 +4984,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5015,9 +5017,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5037,20 +5039,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5070,20 +5072,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5103,20 +5105,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5136,20 +5138,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5169,9 +5171,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5854,9 +5856,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5876,9 +5878,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5898,20 +5900,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5931,20 +5933,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5964,9 +5966,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6150,6 +6152,53 @@ void PythonQtWrapper_QLockFile::unlock(QLockFile* theWrappedObject) +const char* PythonQtWrapper_QLoggingCategory::categoryName(QLoggingCategory* theWrappedObject) const +{ + return ( theWrappedObject->categoryName()); +} + +QLoggingCategory* PythonQtWrapper_QLoggingCategory::static_QLoggingCategory_defaultCategory() +{ + return (QLoggingCategory::defaultCategory()); +} + +bool PythonQtWrapper_QLoggingCategory::isCriticalEnabled(QLoggingCategory* theWrappedObject) const +{ + return ( theWrappedObject->isCriticalEnabled()); +} + +bool PythonQtWrapper_QLoggingCategory::isDebugEnabled(QLoggingCategory* theWrappedObject) const +{ + return ( theWrappedObject->isDebugEnabled()); +} + +bool PythonQtWrapper_QLoggingCategory::isEnabled(QLoggingCategory* theWrappedObject, QtMsgType type) const +{ + return ( theWrappedObject->isEnabled(type)); +} + +bool PythonQtWrapper_QLoggingCategory::isInfoEnabled(QLoggingCategory* theWrappedObject) const +{ + return ( theWrappedObject->isInfoEnabled()); +} + +bool PythonQtWrapper_QLoggingCategory::isWarningEnabled(QLoggingCategory* theWrappedObject) const +{ + return ( theWrappedObject->isWarningEnabled()); +} + +void PythonQtWrapper_QLoggingCategory::setEnabled(QLoggingCategory* theWrappedObject, QtMsgType type, bool enable) +{ + ( theWrappedObject->setEnabled(type, enable)); +} + +void PythonQtWrapper_QLoggingCategory::static_QLoggingCategory_setFilterRules(const QString& rules) +{ + (QLoggingCategory::setFilterRules(rules)); +} + + + QMarginsF* PythonQtWrapper_QMarginsF::new_QMarginsF() { return new QMarginsF(); } @@ -6177,6 +6226,11 @@ qreal PythonQtWrapper_QMarginsF::left(QMarginsF* theWrappedObject) const return ( theWrappedObject->left()); } +bool PythonQtWrapper_QMarginsF::__ne__(QMarginsF* theWrappedObject, const QMarginsF& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + QMarginsF PythonQtWrapper_QMarginsF::__mul__(QMarginsF* theWrappedObject, qreal rhs) { return ( (*theWrappedObject)* rhs); @@ -6511,6 +6565,11 @@ QByteArray PythonQtWrapper_QMetaMethod::name(QMetaMethod* theWrappedObject) con return ( theWrappedObject->name()); } +bool PythonQtWrapper_QMetaMethod::__ne__(QMetaMethod* theWrappedObject, const QMetaMethod& m2) +{ + return ( (*theWrappedObject)!= m2); +} + bool PythonQtWrapper_QMetaMethod::__eq__(QMetaMethod* theWrappedObject, const QMetaMethod& m2) { return ( (*theWrappedObject)== m2); @@ -6894,9 +6953,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6916,9 +6975,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6938,20 +6997,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6971,20 +7030,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7004,20 +7063,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("formats", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7037,20 +7096,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&mimetype0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mimetype0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasFormat", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7070,20 +7129,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QString&" , "QVariant::Type"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&mimetype0, (void*)&preferredType1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&mimetype0, (void*)&preferredType1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("retrieveData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7103,9 +7162,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7411,96 +7470,3 @@ QString PythonQtWrapper_QMimeType::py_toString(QMimeType* obj) { } - -QModelIndex* PythonQtWrapper_QModelIndex::new_QModelIndex() -{ -return new QModelIndex(); } - -QModelIndex PythonQtWrapper_QModelIndex::child(QModelIndex* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->child(row, column)); -} - -int PythonQtWrapper_QModelIndex::column(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->column()); -} - -QVariant PythonQtWrapper_QModelIndex::data(QModelIndex* theWrappedObject, int role) const -{ - return ( theWrappedObject->data(role)); -} - -Qt::ItemFlags PythonQtWrapper_QModelIndex::flags(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -quintptr PythonQtWrapper_QModelIndex::internalId(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->internalId()); -} - -void* PythonQtWrapper_QModelIndex::internalPointer(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->internalPointer()); -} - -bool PythonQtWrapper_QModelIndex::isValid(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -const QAbstractItemModel* PythonQtWrapper_QModelIndex::model(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -bool PythonQtWrapper_QModelIndex::__ne__(QModelIndex* theWrappedObject, const QModelIndex& other) const -{ - return ( (*theWrappedObject)!= other); -} - -bool PythonQtWrapper_QModelIndex::__lt__(QModelIndex* theWrappedObject, const QModelIndex& other) const -{ - return ( (*theWrappedObject)< other); -} - -bool PythonQtWrapper_QModelIndex::__eq__(QModelIndex* theWrappedObject, const QModelIndex& other) const -{ - return ( (*theWrappedObject)== other); -} - -QModelIndex PythonQtWrapper_QModelIndex::parent(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -int PythonQtWrapper_QModelIndex::row(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->row()); -} - -QModelIndex PythonQtWrapper_QModelIndex::sibling(QModelIndex* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->sibling(row, column)); -} - -QModelIndex PythonQtWrapper_QModelIndex::siblingAtColumn(QModelIndex* theWrappedObject, int column) const -{ - return ( theWrappedObject->siblingAtColumn(column)); -} - -QModelIndex PythonQtWrapper_QModelIndex::siblingAtRow(QModelIndex* theWrappedObject, int row) const -{ - return ( theWrappedObject->siblingAtRow(row)); -} - -QString PythonQtWrapper_QModelIndex::py_toString(QModelIndex* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - diff --git a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core1.h b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core1.h index 61b107bfa..2195fe67e 100644 --- a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core1.h +++ b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core1.h @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -45,6 +46,7 @@ #include #include #include +#include #include #include @@ -53,42 +55,42 @@ class PythonQtShell_QFile : public QFile { public: - PythonQtShell_QFile():QFile(),_wrapper(NULL) {}; - PythonQtShell_QFile(QObject* parent):QFile(parent),_wrapper(NULL) {}; - PythonQtShell_QFile(const QString& name):QFile(name),_wrapper(NULL) {}; - PythonQtShell_QFile(const QString& name, QObject* parent):QFile(name, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFile(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* event); -virtual void close(); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QString fileName() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode flags); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* event); -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFile():QFile(),_wrapper(nullptr) {}; + PythonQtShell_QFile(QObject* parent):QFile(parent),_wrapper(nullptr) {}; + PythonQtShell_QFile(const QString& name):QFile(name),_wrapper(nullptr) {}; + PythonQtShell_QFile(const QString& name, QObject* parent):QFile(name, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFile() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString fileName() const override; +bool isSequential() const override; +bool open(QIODevice::OpenMode flags) override; +QFileDevice::Permissions permissions() const override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool resize(qint64 sz) override; +bool seek(qint64 offset) override; +bool setPermissions(QFileDevice::Permissions permissionSpec) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFile : public QFile @@ -109,7 +111,7 @@ QFile* new_QFile(); QFile* new_QFile(QObject* parent); QFile* new_QFile(const QString& name); QFile* new_QFile(const QString& name, QObject* parent); -void delete_QFile(QFile* obj) { delete obj; } +void delete_QFile(QFile* obj) { delete obj; } bool static_QFile_copy(const QString& fileName, const QString& newName); bool copy(QFile* theWrappedObject, const QString& newName); QString static_QFile_decodeName(const QByteArray& localFileName); @@ -144,40 +146,40 @@ void delete_QFile(QFile* obj) { delete obj; } class PythonQtShell_QFileDevice : public QFileDevice { public: - PythonQtShell_QFileDevice():QFileDevice(),_wrapper(NULL) {}; - PythonQtShell_QFileDevice(QObject* parent):QFileDevice(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFileDevice(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* event); -virtual void close(); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QString fileName() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* event); -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFileDevice():QFileDevice(),_wrapper(nullptr) {}; + PythonQtShell_QFileDevice(QObject* parent):QFileDevice(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFileDevice() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString fileName() const override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +QFileDevice::Permissions permissions() const override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool resize(qint64 sz) override; +bool seek(qint64 offset) override; +bool setPermissions(QFileDevice::Permissions permissionSpec) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFileDevice : public QFileDevice @@ -220,7 +222,7 @@ Q_DECLARE_FLAGS(Permissions, Permission) public slots: QFileDevice* new_QFileDevice(); QFileDevice* new_QFileDevice(QObject* parent); -void delete_QFileDevice(QFileDevice* obj) { delete obj; } +void delete_QFileDevice(QFileDevice* obj) { delete obj; } bool py_q_atEnd(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_atEnd());} void py_q_close(QFileDevice* theWrappedObject){ (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_close());} QFileDevice::FileError error(QFileDevice* theWrappedObject) const; @@ -261,7 +263,7 @@ QFileInfo* new_QFileInfo(const QDir& dir, const QString& file); QFileInfo* new_QFileInfo(const QFile& file); QFileInfo* new_QFileInfo(const QFileInfo& fileinfo); QFileInfo* new_QFileInfo(const QString& file); -void delete_QFileInfo(QFileInfo* obj) { delete obj; } +void delete_QFileInfo(QFileInfo* obj) { delete obj; } QDir absoluteDir(QFileInfo* theWrappedObject) const; QString absoluteFilePath(QFileInfo* theWrappedObject) const; QString absolutePath(QFileInfo* theWrappedObject) const; @@ -321,19 +323,19 @@ void delete_QFileInfo(QFileInfo* obj) { delete obj; } class PythonQtShell_QFileSelector : public QFileSelector { public: - PythonQtShell_QFileSelector(QObject* parent = nullptr):QFileSelector(parent),_wrapper(NULL) {}; + PythonQtShell_QFileSelector(QObject* parent = nullptr):QFileSelector(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QFileSelector(); + ~PythonQtShell_QFileSelector() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QFileSelector : public QObject @@ -341,7 +343,7 @@ class PythonQtWrapper_QFileSelector : public QObject public: public slots: QFileSelector* new_QFileSelector(QObject* parent = nullptr); -void delete_QFileSelector(QFileSelector* obj) { delete obj; } +void delete_QFileSelector(QFileSelector* obj) { delete obj; } QStringList allSelectors(QFileSelector* theWrappedObject) const; QStringList extraSelectors(QFileSelector* theWrappedObject) const; QString select(QFileSelector* theWrappedObject, const QString& filePath) const; @@ -356,20 +358,20 @@ void delete_QFileSelector(QFileSelector* obj) { delete obj; } class PythonQtShell_QFileSystemWatcher : public QFileSystemWatcher { public: - PythonQtShell_QFileSystemWatcher(QObject* parent = nullptr):QFileSystemWatcher(parent),_wrapper(NULL) {}; - PythonQtShell_QFileSystemWatcher(const QStringList& paths, QObject* parent = nullptr):QFileSystemWatcher(paths, parent),_wrapper(NULL) {}; + PythonQtShell_QFileSystemWatcher(QObject* parent = nullptr):QFileSystemWatcher(parent),_wrapper(nullptr) {}; + PythonQtShell_QFileSystemWatcher(const QStringList& paths, QObject* parent = nullptr):QFileSystemWatcher(paths, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QFileSystemWatcher(); + ~PythonQtShell_QFileSystemWatcher() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QFileSystemWatcher : public QObject @@ -378,7 +380,7 @@ class PythonQtWrapper_QFileSystemWatcher : public QObject public slots: QFileSystemWatcher* new_QFileSystemWatcher(QObject* parent = nullptr); QFileSystemWatcher* new_QFileSystemWatcher(const QStringList& paths, QObject* parent = nullptr); -void delete_QFileSystemWatcher(QFileSystemWatcher* obj) { delete obj; } +void delete_QFileSystemWatcher(QFileSystemWatcher* obj) { delete obj; } bool addPath(QFileSystemWatcher* theWrappedObject, const QString& file); QStringList addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files); QStringList directories(QFileSystemWatcher* theWrappedObject) const; @@ -394,21 +396,21 @@ void delete_QFileSystemWatcher(QFileSystemWatcher* obj) { delete obj; } class PythonQtShell_QFinalState : public QFinalState { public: - PythonQtShell_QFinalState(QState* parent = nullptr):QFinalState(parent),_wrapper(NULL) {}; + PythonQtShell_QFinalState(QState* parent = nullptr):QFinalState(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QFinalState(); + ~PythonQtShell_QFinalState() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void onEntry(QEvent* event) override; +void onExit(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFinalState : public QFinalState @@ -426,7 +428,7 @@ class PythonQtWrapper_QFinalState : public QObject public: public slots: QFinalState* new_QFinalState(QState* parent = nullptr); -void delete_QFinalState(QFinalState* obj) { delete obj; } +void delete_QFinalState(QFinalState* obj) { delete obj; } bool py_q_event(QFinalState* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QFinalState*)theWrappedObject)->py_q_event(e));} void py_q_onEntry(QFinalState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QFinalState*)theWrappedObject)->py_q_onEntry(event));} void py_q_onExit(QFinalState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QFinalState*)theWrappedObject)->py_q_onExit(event));} @@ -439,22 +441,22 @@ void delete_QFinalState(QFinalState* obj) { delete obj; } class PythonQtShell_QHistoryState : public QHistoryState { public: - PythonQtShell_QHistoryState(QHistoryState::HistoryType type, QState* parent = nullptr):QHistoryState(type, parent),_wrapper(NULL) {}; - PythonQtShell_QHistoryState(QState* parent = nullptr):QHistoryState(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QHistoryState(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QHistoryState(QHistoryState::HistoryType type, QState* parent = nullptr):QHistoryState(type, parent),_wrapper(nullptr) {}; + PythonQtShell_QHistoryState(QState* parent = nullptr):QHistoryState(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QHistoryState() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void onEntry(QEvent* event) override; +void onExit(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QHistoryState : public QHistoryState @@ -473,7 +475,7 @@ class PythonQtWrapper_QHistoryState : public QObject public slots: QHistoryState* new_QHistoryState(QHistoryState::HistoryType type, QState* parent = nullptr); QHistoryState* new_QHistoryState(QState* parent = nullptr); -void delete_QHistoryState(QHistoryState* obj) { delete obj; } +void delete_QHistoryState(QHistoryState* obj) { delete obj; } QAbstractState* defaultState(QHistoryState* theWrappedObject) const; QAbstractTransition* defaultTransition(QHistoryState* theWrappedObject) const; bool py_q_event(QHistoryState* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QHistoryState*)theWrappedObject)->py_q_event(e));} @@ -492,36 +494,36 @@ void delete_QHistoryState(QHistoryState* obj) { delete obj; } class PythonQtShell_QIODevice : public QIODevice { public: - PythonQtShell_QIODevice():QIODevice(),_wrapper(NULL) {}; - PythonQtShell_QIODevice(QObject* parent):QIODevice(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QIODevice(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* event); -virtual void close(); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* event); -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QIODevice():QIODevice(),_wrapper(nullptr) {}; + PythonQtShell_QIODevice(QObject* parent):QIODevice(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QIODevice() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool seek(qint64 pos) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QIODevice : public QIODevice @@ -560,7 +562,7 @@ Q_DECLARE_FLAGS(OpenMode, OpenModeFlag) public slots: QIODevice* new_QIODevice(); QIODevice* new_QIODevice(QObject* parent); -void delete_QIODevice(QIODevice* obj) { delete obj; } +void delete_QIODevice(QIODevice* obj) { delete obj; } bool atEnd(QIODevice* theWrappedObject) const; bool py_q_atEnd(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_atEnd());} qint64 bytesAvailable(QIODevice* theWrappedObject) const; @@ -631,58 +633,58 @@ void delete_QIODevice(QIODevice* obj) { delete obj; } class PythonQtShell_QIdentityProxyModel : public QIdentityProxyModel { public: - PythonQtShell_QIdentityProxyModel(QObject* parent = nullptr):QIdentityProxyModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QIdentityProxyModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* event); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* event); -virtual QVariant data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QModelIndex mapFromSource(const QModelIndex& sourceIndex) const; -virtual QItemSelection mapSelectionFromSource(const QItemSelection& selection) const; -virtual QItemSelection mapSelectionToSource(const QItemSelection& selection) const; -virtual QModelIndex mapToSource(const QModelIndex& proxyIndex) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setSourceModel(QAbstractItemModel* sourceModel); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QIdentityProxyModel(QObject* parent = nullptr):QIdentityProxyModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QIdentityProxyModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QModelIndex mapFromSource(const QModelIndex& sourceIndex) const override; +QItemSelection mapSelectionFromSource(const QItemSelection& selection) const override; +QItemSelection mapSelectionToSource(const QItemSelection& selection) const override; +QModelIndex mapToSource(const QModelIndex& proxyIndex) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +void setSourceModel(QAbstractItemModel* sourceModel) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QIdentityProxyModel : public QIdentityProxyModel @@ -711,7 +713,7 @@ class PythonQtWrapper_QIdentityProxyModel : public QObject public: public slots: QIdentityProxyModel* new_QIdentityProxyModel(QObject* parent = nullptr); -void delete_QIdentityProxyModel(QIdentityProxyModel* obj) { delete obj; } +void delete_QIdentityProxyModel(QIdentityProxyModel* obj) { delete obj; } int py_q_columnCount(QIdentityProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_columnCount(parent));} bool py_q_dropMimeData(QIdentityProxyModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} QVariant py_q_headerData(QIdentityProxyModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_headerData(section, orientation, role));} @@ -741,7 +743,7 @@ class PythonQtWrapper_QJsonArray : public QObject public slots: QJsonArray* new_QJsonArray(); QJsonArray* new_QJsonArray(const QJsonArray& other); -void delete_QJsonArray(QJsonArray* obj) { delete obj; } +void delete_QJsonArray(QJsonArray* obj) { delete obj; } void append(QJsonArray* theWrappedObject, const QJsonValue& value); QJsonValue at(QJsonArray* theWrappedObject, int i) const; bool contains(QJsonArray* theWrappedObject, const QJsonValue& element) const; @@ -784,15 +786,15 @@ void delete_QJsonArray(QJsonArray* obj) { delete obj; } class PythonQtShell_QJsonDocument : public QJsonDocument { public: - PythonQtShell_QJsonDocument():QJsonDocument(),_wrapper(NULL) {}; - PythonQtShell_QJsonDocument(const QJsonArray& array):QJsonDocument(array),_wrapper(NULL) {}; - PythonQtShell_QJsonDocument(const QJsonDocument& other):QJsonDocument(other),_wrapper(NULL) {}; - PythonQtShell_QJsonDocument(const QJsonObject& object):QJsonDocument(object),_wrapper(NULL) {}; + PythonQtShell_QJsonDocument():QJsonDocument(),_wrapper(nullptr) {}; + PythonQtShell_QJsonDocument(const QJsonArray& array):QJsonDocument(array),_wrapper(nullptr) {}; + PythonQtShell_QJsonDocument(const QJsonDocument& other):QJsonDocument(other),_wrapper(nullptr) {}; + PythonQtShell_QJsonDocument(const QJsonObject& object):QJsonDocument(object),_wrapper(nullptr) {}; ~PythonQtShell_QJsonDocument(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QJsonDocument : public QObject @@ -808,7 +810,7 @@ QJsonDocument* new_QJsonDocument(); QJsonDocument* new_QJsonDocument(const QJsonArray& array); QJsonDocument* new_QJsonDocument(const QJsonDocument& other); QJsonDocument* new_QJsonDocument(const QJsonObject& object); -void delete_QJsonDocument(QJsonDocument* obj) { delete obj; } +void delete_QJsonDocument(QJsonDocument* obj) { delete obj; } QJsonArray array(QJsonDocument* theWrappedObject) const; QJsonDocument static_QJsonDocument_fromBinaryData(const QByteArray& data, QJsonDocument::DataValidation validation = QJsonDocument::Validate); QJsonDocument static_QJsonDocument_fromJson(const QByteArray& json, QJsonParseError* error = nullptr); @@ -847,7 +849,7 @@ class PythonQtWrapper_QJsonObject : public QObject public slots: QJsonObject* new_QJsonObject(); QJsonObject* new_QJsonObject(const QJsonObject& other); -void delete_QJsonObject(QJsonObject* obj) { delete obj; } +void delete_QJsonObject(QJsonObject* obj) { delete obj; } bool contains(QJsonObject* theWrappedObject, QLatin1String key) const; bool contains(QJsonObject* theWrappedObject, const QString& key) const; int count(QJsonObject* theWrappedObject) const; @@ -881,12 +883,12 @@ void delete_QJsonObject(QJsonObject* obj) { delete obj; } class PythonQtShell_QJsonParseError : public QJsonParseError { public: - PythonQtShell_QJsonParseError():QJsonParseError(),_wrapper(NULL) {}; + PythonQtShell_QJsonParseError():QJsonParseError(),_wrapper(nullptr) {}; ~PythonQtShell_QJsonParseError(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QJsonParseError : public QObject @@ -897,7 +899,7 @@ enum ParseError{ NoError = QJsonParseError::NoError, UnterminatedObject = QJsonParseError::UnterminatedObject, MissingNameSeparator = QJsonParseError::MissingNameSeparator, UnterminatedArray = QJsonParseError::UnterminatedArray, MissingValueSeparator = QJsonParseError::MissingValueSeparator, IllegalValue = QJsonParseError::IllegalValue, TerminationByNumber = QJsonParseError::TerminationByNumber, IllegalNumber = QJsonParseError::IllegalNumber, IllegalEscapeSequence = QJsonParseError::IllegalEscapeSequence, IllegalUTF8String = QJsonParseError::IllegalUTF8String, UnterminatedString = QJsonParseError::UnterminatedString, MissingObject = QJsonParseError::MissingObject, DeepNesting = QJsonParseError::DeepNesting, DocumentTooLarge = QJsonParseError::DocumentTooLarge, GarbageAtEnd = QJsonParseError::GarbageAtEnd}; public slots: QJsonParseError* new_QJsonParseError(); -void delete_QJsonParseError(QJsonParseError* obj) { delete obj; } +void delete_QJsonParseError(QJsonParseError* obj) { delete obj; } QString errorString(QJsonParseError* theWrappedObject) const; void py_set_error(QJsonParseError* theWrappedObject, QJsonParseError::ParseError error){ theWrappedObject->error = error; } QJsonParseError::ParseError py_get_error(QJsonParseError* theWrappedObject){ return theWrappedObject->error; } @@ -927,7 +929,7 @@ QJsonValue* new_QJsonValue(const char* s); QJsonValue* new_QJsonValue(double n); QJsonValue* new_QJsonValue(int n); QJsonValue* new_QJsonValue(qint64 n); -void delete_QJsonValue(QJsonValue* obj) { delete obj; } +void delete_QJsonValue(QJsonValue* obj) { delete obj; } QJsonValue static_QJsonValue_fromVariant(const QVariant& variant); bool isArray(QJsonValue* theWrappedObject) const; bool isBool(QJsonValue* theWrappedObject) const; @@ -965,22 +967,22 @@ void delete_QJsonValue(QJsonValue* obj) { delete obj; } class PythonQtShell_QLibrary : public QLibrary { public: - PythonQtShell_QLibrary(QObject* parent = nullptr):QLibrary(parent),_wrapper(NULL) {}; - PythonQtShell_QLibrary(const QString& fileName, QObject* parent = nullptr):QLibrary(fileName, parent),_wrapper(NULL) {}; - PythonQtShell_QLibrary(const QString& fileName, const QString& version, QObject* parent = nullptr):QLibrary(fileName, version, parent),_wrapper(NULL) {}; - PythonQtShell_QLibrary(const QString& fileName, int verNum, QObject* parent = nullptr):QLibrary(fileName, verNum, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLibrary(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QLibrary(QObject* parent = nullptr):QLibrary(parent),_wrapper(nullptr) {}; + PythonQtShell_QLibrary(const QString& fileName, QObject* parent = nullptr):QLibrary(fileName, parent),_wrapper(nullptr) {}; + PythonQtShell_QLibrary(const QString& fileName, const QString& version, QObject* parent = nullptr):QLibrary(fileName, version, parent),_wrapper(nullptr) {}; + PythonQtShell_QLibrary(const QString& fileName, int verNum, QObject* parent = nullptr):QLibrary(fileName, verNum, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QLibrary() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QLibrary : public QObject @@ -996,7 +998,7 @@ QLibrary* new_QLibrary(QObject* parent = nullptr); QLibrary* new_QLibrary(const QString& fileName, QObject* parent = nullptr); QLibrary* new_QLibrary(const QString& fileName, const QString& version, QObject* parent = nullptr); QLibrary* new_QLibrary(const QString& fileName, int verNum, QObject* parent = nullptr); -void delete_QLibrary(QLibrary* obj) { delete obj; } +void delete_QLibrary(QLibrary* obj) { delete obj; } QString errorString(QLibrary* theWrappedObject) const; QString fileName(QLibrary* theWrappedObject) const; bool static_QLibrary_isLibrary(const QString& fileName); @@ -1021,7 +1023,7 @@ Q_ENUMS(LibraryLocation ) enum LibraryLocation{ PrefixPath = QLibraryInfo::PrefixPath, DocumentationPath = QLibraryInfo::DocumentationPath, HeadersPath = QLibraryInfo::HeadersPath, LibrariesPath = QLibraryInfo::LibrariesPath, LibraryExecutablesPath = QLibraryInfo::LibraryExecutablesPath, BinariesPath = QLibraryInfo::BinariesPath, PluginsPath = QLibraryInfo::PluginsPath, ImportsPath = QLibraryInfo::ImportsPath, Qml2ImportsPath = QLibraryInfo::Qml2ImportsPath, ArchDataPath = QLibraryInfo::ArchDataPath, DataPath = QLibraryInfo::DataPath, TranslationsPath = QLibraryInfo::TranslationsPath, ExamplesPath = QLibraryInfo::ExamplesPath, TestsPath = QLibraryInfo::TestsPath, SettingsPath = QLibraryInfo::SettingsPath}; public slots: -void delete_QLibraryInfo(QLibraryInfo* obj) { delete obj; } +void delete_QLibraryInfo(QLibraryInfo* obj) { delete obj; } const char* static_QLibraryInfo_build(); QDate static_QLibraryInfo_buildDate(); bool static_QLibraryInfo_isDebugBuild(); @@ -1043,7 +1045,7 @@ enum LockError{ NoError = QLockFile::NoError, LockFailedError = QLockFile::LockFailedError, PermissionError = QLockFile::PermissionError, UnknownError = QLockFile::UnknownError}; public slots: QLockFile* new_QLockFile(const QString& fileName); -void delete_QLockFile(QLockFile* obj) { delete obj; } +void delete_QLockFile(QLockFile* obj) { delete obj; } QLockFile::LockError error(QLockFile* theWrappedObject) const; bool getLockInfo(QLockFile* theWrappedObject, qint64* pid, QString* hostname, QString* appname) const; bool isLocked(QLockFile* theWrappedObject) const; @@ -1059,6 +1061,26 @@ void delete_QLockFile(QLockFile* obj) { delete obj; } +class PythonQtWrapper_QLoggingCategory : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QLoggingCategory(QLoggingCategory* obj) { delete obj; } + const char* categoryName(QLoggingCategory* theWrappedObject) const; + QLoggingCategory* static_QLoggingCategory_defaultCategory(); + bool isCriticalEnabled(QLoggingCategory* theWrappedObject) const; + bool isDebugEnabled(QLoggingCategory* theWrappedObject) const; + bool isEnabled(QLoggingCategory* theWrappedObject, QtMsgType type) const; + bool isInfoEnabled(QLoggingCategory* theWrappedObject) const; + bool isWarningEnabled(QLoggingCategory* theWrappedObject) const; + void setEnabled(QLoggingCategory* theWrappedObject, QtMsgType type, bool enable); + void static_QLoggingCategory_setFilterRules(const QString& rules); +}; + + + + + class PythonQtWrapper_QMarginsF : public QObject { Q_OBJECT public: @@ -1066,10 +1088,11 @@ public slots: QMarginsF* new_QMarginsF(); QMarginsF* new_QMarginsF(const QMargins& margins); QMarginsF* new_QMarginsF(qreal left, qreal top, qreal right, qreal bottom); -void delete_QMarginsF(QMarginsF* obj) { delete obj; } +void delete_QMarginsF(QMarginsF* obj) { delete obj; } qreal bottom(QMarginsF* theWrappedObject) const; bool isNull(QMarginsF* theWrappedObject) const; qreal left(QMarginsF* theWrappedObject) const; + bool __ne__(QMarginsF* theWrappedObject, const QMarginsF& rhs); QMarginsF __mul__(QMarginsF* theWrappedObject, qreal rhs); QMarginsF* __imul__(QMarginsF* theWrappedObject, qreal factor); QMarginsF __add__(QMarginsF* theWrappedObject, const QMarginsF& rhs); @@ -1106,7 +1129,7 @@ class PythonQtWrapper_QMessageAuthenticationCode : public QObject public: public slots: QMessageAuthenticationCode* new_QMessageAuthenticationCode(QCryptographicHash::Algorithm method, const QByteArray& key = QByteArray()); -void delete_QMessageAuthenticationCode(QMessageAuthenticationCode* obj) { delete obj; } +void delete_QMessageAuthenticationCode(QMessageAuthenticationCode* obj) { delete obj; } bool addData(QMessageAuthenticationCode* theWrappedObject, QIODevice* device); void addData(QMessageAuthenticationCode* theWrappedObject, const QByteArray& data); void addData(QMessageAuthenticationCode* theWrappedObject, const char* data, int length); @@ -1123,13 +1146,13 @@ void delete_QMessageAuthenticationCode(QMessageAuthenticationCode* obj) { delete class PythonQtShell_QMessageLogContext : public QMessageLogContext { public: - PythonQtShell_QMessageLogContext():QMessageLogContext(),_wrapper(NULL) {}; - PythonQtShell_QMessageLogContext(const char* fileName, int lineNumber, const char* functionName, const char* categoryName):QMessageLogContext(fileName, lineNumber, functionName, categoryName),_wrapper(NULL) {}; + PythonQtShell_QMessageLogContext():QMessageLogContext(),_wrapper(nullptr) {}; + PythonQtShell_QMessageLogContext(const char* fileName, int lineNumber, const char* functionName, const char* categoryName):QMessageLogContext(fileName, lineNumber, functionName, categoryName),_wrapper(nullptr) {}; ~PythonQtShell_QMessageLogContext(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMessageLogContext : public QObject @@ -1138,7 +1161,7 @@ class PythonQtWrapper_QMessageLogContext : public QObject public slots: QMessageLogContext* new_QMessageLogContext(); QMessageLogContext* new_QMessageLogContext(const char* fileName, int lineNumber, const char* functionName, const char* categoryName); -void delete_QMessageLogContext(QMessageLogContext* obj) { delete obj; } +void delete_QMessageLogContext(QMessageLogContext* obj) { delete obj; } const char* py_get_category(QMessageLogContext* theWrappedObject){ return theWrappedObject->category; } const char* py_get_file(QMessageLogContext* theWrappedObject){ return theWrappedObject->file; } const char* py_get_function(QMessageLogContext* theWrappedObject){ return theWrappedObject->function; } @@ -1159,7 +1182,7 @@ public slots: QMessageLogger* new_QMessageLogger(); QMessageLogger* new_QMessageLogger(const char* file, int line, const char* function); QMessageLogger* new_QMessageLogger(const char* file, int line, const char* function, const char* category); -void delete_QMessageLogger(QMessageLogger* obj) { delete obj; } +void delete_QMessageLogger(QMessageLogger* obj) { delete obj; } }; @@ -1171,7 +1194,7 @@ class PythonQtWrapper_QMetaClassInfo : public QObject public: public slots: QMetaClassInfo* new_QMetaClassInfo(); -void delete_QMetaClassInfo(QMetaClassInfo* obj) { delete obj; } +void delete_QMetaClassInfo(QMetaClassInfo* obj) { delete obj; } const QMetaObject* enclosingMetaObject(QMetaClassInfo* theWrappedObject) const; const char* name(QMetaClassInfo* theWrappedObject) const; const char* value(QMetaClassInfo* theWrappedObject) const; @@ -1186,7 +1209,7 @@ class PythonQtWrapper_QMetaEnum : public QObject public: public slots: QMetaEnum* new_QMetaEnum(); -void delete_QMetaEnum(QMetaEnum* obj) { delete obj; } +void delete_QMetaEnum(QMetaEnum* obj) { delete obj; } const QMetaObject* enclosingMetaObject(QMetaEnum* theWrappedObject) const; bool isFlag(QMetaEnum* theWrappedObject) const; bool isScoped(QMetaEnum* theWrappedObject) const; @@ -1219,7 +1242,7 @@ enum MethodType{ Method = QMetaMethod::Method, Signal = QMetaMethod::Signal, Slot = QMetaMethod::Slot, Constructor = QMetaMethod::Constructor}; public slots: QMetaMethod* new_QMetaMethod(); -void delete_QMetaMethod(QMetaMethod* obj) { delete obj; } +void delete_QMetaMethod(QMetaMethod* obj) { delete obj; } QMetaMethod::Access access(QMetaMethod* theWrappedObject) const; int attributes(QMetaMethod* theWrappedObject) const; const QMetaObject* enclosingMetaObject(QMetaMethod* theWrappedObject) const; @@ -1229,6 +1252,7 @@ void delete_QMetaMethod(QMetaMethod* obj) { delete obj; } QByteArray methodSignature(QMetaMethod* theWrappedObject) const; QMetaMethod::MethodType methodType(QMetaMethod* theWrappedObject) const; QByteArray name(QMetaMethod* theWrappedObject) const; + bool __ne__(QMetaMethod* theWrappedObject, const QMetaMethod& m2); bool __eq__(QMetaMethod* theWrappedObject, const QMetaMethod& m2); int parameterCount(QMetaMethod* theWrappedObject) const; QList parameterNames(QMetaMethod* theWrappedObject) const; @@ -1250,7 +1274,7 @@ class PythonQtWrapper_QMetaProperty : public QObject public: public slots: QMetaProperty* new_QMetaProperty(); -void delete_QMetaProperty(QMetaProperty* obj) { delete obj; } +void delete_QMetaProperty(QMetaProperty* obj) { delete obj; } const QMetaObject* enclosingMetaObject(QMetaProperty* theWrappedObject) const; QMetaEnum enumerator(QMetaProperty* theWrappedObject) const; bool hasNotifySignal(QMetaProperty* theWrappedObject) const; @@ -1299,7 +1323,7 @@ enum TypeFlag{ Q_DECLARE_FLAGS(TypeFlags, TypeFlag) public slots: QMetaType* new_QMetaType(const int type); -void delete_QMetaType(QMetaType* obj) { delete obj; } +void delete_QMetaType(QMetaType* obj) { delete obj; } bool static_QMetaType_compare(const void* lhs, const void* rhs, int typeId, int* result); void* static_QMetaType_construct(int type, void* where, const void* copy); void* construct(QMetaType* theWrappedObject, void* where, const void* copy = nullptr) const; @@ -1341,22 +1365,22 @@ void delete_QMetaType(QMetaType* obj) { delete obj; } class PythonQtShell_QMimeData : public QMimeData { public: - PythonQtShell_QMimeData():QMimeData(),_wrapper(NULL) {}; - - ~PythonQtShell_QMimeData(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QStringList formats() const; -virtual bool hasFormat(const QString& mimetype) const; -virtual QVariant retrieveData(const QString& mimetype, QVariant::Type preferredType) const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMimeData():QMimeData(),_wrapper(nullptr) {}; + + ~PythonQtShell_QMimeData() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QStringList formats() const override; +bool hasFormat(const QString& mimetype) const override; +QVariant retrieveData(const QString& mimetype, QVariant::Type preferredType) const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMimeData : public QMimeData @@ -1372,7 +1396,7 @@ class PythonQtWrapper_QMimeData : public QObject public: public slots: QMimeData* new_QMimeData(); -void delete_QMimeData(QMimeData* obj) { delete obj; } +void delete_QMimeData(QMimeData* obj) { delete obj; } void clear(QMimeData* theWrappedObject); QVariant colorData(QMimeData* theWrappedObject) const; QByteArray data(QMimeData* theWrappedObject, const QString& mimetype) const; @@ -1412,7 +1436,7 @@ enum MatchMode{ MatchDefault = QMimeDatabase::MatchDefault, MatchExtension = QMimeDatabase::MatchExtension, MatchContent = QMimeDatabase::MatchContent}; public slots: QMimeDatabase* new_QMimeDatabase(); -void delete_QMimeDatabase(QMimeDatabase* obj) { delete obj; } +void delete_QMimeDatabase(QMimeDatabase* obj) { delete obj; } QList allMimeTypes(QMimeDatabase* theWrappedObject) const; QMimeType mimeTypeForData(QMimeDatabase* theWrappedObject, QIODevice* device) const; QMimeType mimeTypeForData(QMimeDatabase* theWrappedObject, const QByteArray& data) const; @@ -1436,7 +1460,7 @@ class PythonQtWrapper_QMimeType : public QObject public slots: QMimeType* new_QMimeType(); QMimeType* new_QMimeType(const QMimeType& other); -void delete_QMimeType(QMimeType* obj) { delete obj; } +void delete_QMimeType(QMimeType* obj) { delete obj; } QStringList aliases(QMimeType* theWrappedObject) const; QStringList allAncestors(QMimeType* theWrappedObject) const; QString comment(QMimeType* theWrappedObject) const; @@ -1460,37 +1484,3 @@ void delete_QMimeType(QMimeType* obj) { delete obj; } }; - - - -class PythonQtWrapper_QModelIndex : public QObject -{ Q_OBJECT -public: -public slots: -QModelIndex* new_QModelIndex(); -QModelIndex* new_QModelIndex(const QModelIndex& other) { -QModelIndex* a = new QModelIndex(); -*((QModelIndex*)a) = other; -return a; } -void delete_QModelIndex(QModelIndex* obj) { delete obj; } - QModelIndex child(QModelIndex* theWrappedObject, int row, int column) const; - int column(QModelIndex* theWrappedObject) const; - QVariant data(QModelIndex* theWrappedObject, int role = Qt::DisplayRole) const; - Qt::ItemFlags flags(QModelIndex* theWrappedObject) const; - quintptr internalId(QModelIndex* theWrappedObject) const; - void* internalPointer(QModelIndex* theWrappedObject) const; - bool isValid(QModelIndex* theWrappedObject) const; - const QAbstractItemModel* model(QModelIndex* theWrappedObject) const; - bool __ne__(QModelIndex* theWrappedObject, const QModelIndex& other) const; - bool __lt__(QModelIndex* theWrappedObject, const QModelIndex& other) const; - bool __eq__(QModelIndex* theWrappedObject, const QModelIndex& other) const; - QModelIndex parent(QModelIndex* theWrappedObject) const; - int row(QModelIndex* theWrappedObject) const; - QModelIndex sibling(QModelIndex* theWrappedObject, int row, int column) const; - QModelIndex siblingAtColumn(QModelIndex* theWrappedObject, int column) const; - QModelIndex siblingAtRow(QModelIndex* theWrappedObject, int row) const; - QString py_toString(QModelIndex*); - bool __nonzero__(QModelIndex* obj) { return obj->isValid(); } -}; - - 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..b3f1f5ce0 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 @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include @@ -41,9 +40,103 @@ #include #include #include +#include #include #include +QModelIndex* PythonQtWrapper_QModelIndex::new_QModelIndex() +{ +return new QModelIndex(); } + +QModelIndex PythonQtWrapper_QModelIndex::child(QModelIndex* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->child(row, column)); +} + +int PythonQtWrapper_QModelIndex::column(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +QVariant PythonQtWrapper_QModelIndex::data(QModelIndex* theWrappedObject, int role) const +{ + return ( theWrappedObject->data(role)); +} + +Qt::ItemFlags PythonQtWrapper_QModelIndex::flags(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +quintptr PythonQtWrapper_QModelIndex::internalId(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->internalId()); +} + +void* PythonQtWrapper_QModelIndex::internalPointer(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->internalPointer()); +} + +bool PythonQtWrapper_QModelIndex::isValid(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +const QAbstractItemModel* PythonQtWrapper_QModelIndex::model(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +bool PythonQtWrapper_QModelIndex::__ne__(QModelIndex* theWrappedObject, const QModelIndex& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QModelIndex::__lt__(QModelIndex* theWrappedObject, const QModelIndex& other) const +{ + return ( (*theWrappedObject)< other); +} + +bool PythonQtWrapper_QModelIndex::__eq__(QModelIndex* theWrappedObject, const QModelIndex& other) const +{ + return ( (*theWrappedObject)== other); +} + +QModelIndex PythonQtWrapper_QModelIndex::parent(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +int PythonQtWrapper_QModelIndex::row(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->row()); +} + +QModelIndex PythonQtWrapper_QModelIndex::sibling(QModelIndex* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->sibling(row, column)); +} + +QModelIndex PythonQtWrapper_QModelIndex::siblingAtColumn(QModelIndex* theWrappedObject, int column) const +{ + return ( theWrappedObject->siblingAtColumn(column)); +} + +QModelIndex PythonQtWrapper_QModelIndex::siblingAtRow(QModelIndex* theWrappedObject, int row) const +{ + return ( theWrappedObject->siblingAtRow(row)); +} + +QString PythonQtWrapper_QModelIndex::py_toString(QModelIndex* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + QMutex* PythonQtWrapper_QMutex::new_QMutex(QMutex::RecursionMode mode) { return new QMutex(mode); } @@ -75,6 +168,27 @@ void PythonQtWrapper_QMutex::unlock(QMutex* theWrappedObject) +QMutexLocker* PythonQtWrapper_QMutexLocker::new_QMutexLocker(QMutex* arg__1) +{ +return new QMutexLocker(arg__1); } + +QMutex* PythonQtWrapper_QMutexLocker::mutex(QMutexLocker* theWrappedObject) const +{ + return ( theWrappedObject->mutex()); +} + +void PythonQtWrapper_QMutexLocker::relock(QMutexLocker* theWrappedObject) +{ + ( theWrappedObject->relock()); +} + +void PythonQtWrapper_QMutexLocker::unlock(QMutexLocker* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + PythonQtShell_QObject::~PythonQtShell_QObject() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -89,9 +203,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -111,9 +225,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -133,20 +247,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -166,20 +280,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -199,9 +313,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -431,9 +545,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -453,9 +567,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -475,20 +589,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -508,20 +622,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -541,20 +655,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -574,9 +688,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -596,9 +710,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)¤tTime0}; + void* args[2] = {nullptr, (void*)¤tTime0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -618,9 +732,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; + void* args[2] = {nullptr, (void*)&direction0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -640,9 +754,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -685,9 +799,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -707,9 +821,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -729,20 +843,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -762,20 +876,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -795,20 +909,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -828,9 +942,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -850,9 +964,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -872,9 +986,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; + void* args[2] = {nullptr, (void*)&direction0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -894,9 +1008,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1054,20 +1168,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1087,20 +1201,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1120,20 +1234,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1153,20 +1267,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1186,9 +1300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1208,9 +1322,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1230,9 +1344,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1252,20 +1366,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1285,20 +1399,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1318,20 +1432,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1351,20 +1465,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&mode0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1384,20 +1498,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1417,20 +1531,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1450,20 +1564,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1483,20 +1597,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1516,20 +1630,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&pos0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1549,9 +1663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1571,20 +1685,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1604,9 +1718,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1626,20 +1740,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1659,20 +1773,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1692,20 +1806,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2048,9 +2162,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2070,9 +2184,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2092,20 +2206,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2125,20 +2239,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2158,20 +2272,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2191,20 +2305,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QVariant&" , "const QVariant&" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)&from0, (void*)&to1, (void*)&progress2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)&from0, (void*)&to1, (void*)&progress2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("interpolated", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2224,9 +2338,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2246,9 +2360,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2268,9 +2382,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2290,9 +2404,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; + void* args[2] = {nullptr, (void*)&direction0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2312,9 +2426,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2525,6 +2639,27 @@ QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator +QReadLocker* PythonQtWrapper_QReadLocker::new_QReadLocker(QReadWriteLock* readWriteLock) +{ +return new QReadLocker(readWriteLock); } + +QReadWriteLock* PythonQtWrapper_QReadLocker::readWriteLock(QReadLocker* theWrappedObject) const +{ + return ( theWrappedObject->readWriteLock()); +} + +void PythonQtWrapper_QReadLocker::relock(QReadLocker* theWrappedObject) +{ + ( theWrappedObject->relock()); +} + +void PythonQtWrapper_QReadLocker::unlock(QReadLocker* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + QReadWriteLock* PythonQtWrapper_QReadWriteLock::new_QReadWriteLock(QReadWriteLock::RecursionMode recursionMode) { return new QReadWriteLock(recursionMode); } @@ -2983,9 +3118,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3030,20 +3165,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3063,20 +3198,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3096,20 +3231,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3129,20 +3264,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3162,9 +3297,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3184,9 +3319,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3206,20 +3341,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3239,20 +3374,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3272,20 +3407,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3305,20 +3440,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3338,20 +3473,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&flags0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3371,20 +3506,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QFileDevice::Permissions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QFileDevice::Permissions returnValue; - void* args[1] = {NULL}; + QFileDevice::Permissions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); } else { returnValue = *((QFileDevice::Permissions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3404,20 +3539,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3437,20 +3572,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3470,20 +3605,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3503,20 +3638,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3536,20 +3671,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&sz0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&sz0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3569,20 +3704,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3602,20 +3737,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&permissionSpec0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&permissionSpec0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3635,20 +3770,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3668,9 +3803,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3690,20 +3825,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3723,20 +3858,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3756,20 +3891,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3876,9 +4011,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3898,9 +4033,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3920,20 +4055,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3953,20 +4088,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3986,20 +4121,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4019,9 +4154,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4041,9 +4176,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4063,9 +4198,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; + void* args[2] = {nullptr, (void*)&direction0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4085,9 +4220,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4145,9 +4280,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4167,9 +4302,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4189,20 +4324,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4222,20 +4357,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4255,9 +4390,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4481,9 +4616,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4503,9 +4638,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4525,20 +4660,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4558,20 +4693,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4591,9 +4726,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4735,9 +4870,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4757,9 +4892,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4779,20 +4914,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4812,20 +4947,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4845,9 +4980,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4935,9 +5070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4957,9 +5092,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4979,20 +5114,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5012,20 +5147,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5045,20 +5180,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5078,9 +5213,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5100,9 +5235,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5169,9 +5304,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5191,9 +5326,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5213,20 +5348,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5246,20 +5381,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5279,9 +5414,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5371,683 +5506,3 @@ QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_writableLocation( } - -PythonQtShell_QState::~PythonQtShell_QState() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QState::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QState::childEvent(event0); -} -void PythonQtShell_QState::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QState::customEvent(event0); -} -bool PythonQtShell_QState::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QState::event(e0); -} -bool PythonQtShell_QState::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QState::eventFilter(watched0, event1); -} -void PythonQtShell_QState::onEntry(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onEntry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QState::onEntry(event0); -} -void PythonQtShell_QState::onExit(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onExit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QState::onExit(event0); -} -void PythonQtShell_QState::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QState::timerEvent(event0); -} -QState* PythonQtWrapper_QState::new_QState(QState* parent) -{ -return new PythonQtShell_QState(parent); } - -QState* PythonQtWrapper_QState::new_QState(QState::ChildMode childMode, QState* parent) -{ -return new PythonQtShell_QState(childMode, parent); } - -const QMetaObject* PythonQtShell_QState::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QState::staticMetaObject); - } else { - return &QState::staticMetaObject; - } -} -int PythonQtShell_QState::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QState::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QAbstractTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP target) -{ - return ( theWrappedObject->addTransition(target)); -} - -void PythonQtWrapper_QState::addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP transition) -{ - ( theWrappedObject->addTransition(transition)); -} - -QSignalTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, const QObject* sender, const char* signal, QAbstractState* target) -{ - return ( theWrappedObject->addTransition(sender, signal, target)); -} - -void PythonQtWrapper_QState::assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value) -{ - ( theWrappedObject->assignProperty(object, name, value)); -} - -QState::ChildMode PythonQtWrapper_QState::childMode(QState* theWrappedObject) const -{ - return ( theWrappedObject->childMode()); -} - -QAbstractState* PythonQtWrapper_QState::errorState(QState* theWrappedObject) const -{ - return ( theWrappedObject->errorState()); -} - -QAbstractState* PythonQtWrapper_QState::initialState(QState* theWrappedObject) const -{ - return ( theWrappedObject->initialState()); -} - -void PythonQtWrapper_QState::removeTransition(QState* theWrappedObject, PythonQtPassOwnershipToPython transition) -{ - ( theWrappedObject->removeTransition(transition)); -} - -void PythonQtWrapper_QState::setChildMode(QState* theWrappedObject, QState::ChildMode mode) -{ - ( theWrappedObject->setChildMode(mode)); -} - -void PythonQtWrapper_QState::setErrorState(QState* theWrappedObject, QAbstractState* state) -{ - ( theWrappedObject->setErrorState(state)); -} - -void PythonQtWrapper_QState::setInitialState(QState* theWrappedObject, QAbstractState* state) -{ - ( theWrappedObject->setInitialState(state)); -} - -QList PythonQtWrapper_QState::transitions(QState* theWrappedObject) const -{ - return ( theWrappedObject->transitions()); -} - - - -PythonQtShell_QStateMachine::~PythonQtShell_QStateMachine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("beginMicrostep"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::beginMicrostep(event0); -} -void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("beginSelectTransitions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::beginSelectTransitions(event0); -} -void PythonQtShell_QStateMachine::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::childEvent(event0); -} -void PythonQtShell_QStateMachine::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::customEvent(event0); -} -void PythonQtShell_QStateMachine::endMicrostep(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("endMicrostep"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::endMicrostep(event0); -} -void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("endSelectTransitions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::endSelectTransitions(event0); -} -bool PythonQtShell_QStateMachine::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStateMachine::event(e0); -} -bool PythonQtShell_QStateMachine::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStateMachine::eventFilter(watched0, event1); -} -void PythonQtShell_QStateMachine::onEntry(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onEntry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::onEntry(event0); -} -void PythonQtShell_QStateMachine::onExit(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onExit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::onExit(event0); -} -void PythonQtShell_QStateMachine::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::timerEvent(event0); -} -QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QObject* parent) -{ -return new PythonQtShell_QStateMachine(parent); } - -QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QState::ChildMode childMode, QObject* parent) -{ -return new PythonQtShell_QStateMachine(childMode, parent); } - -const QMetaObject* PythonQtShell_QStateMachine::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStateMachine::staticMetaObject); - } else { - return &QStateMachine::staticMetaObject; - } -} -int PythonQtShell_QStateMachine::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QStateMachine::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QStateMachine::addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) -{ - ( theWrappedObject->addDefaultAnimation(animation)); -} - -void PythonQtWrapper_QStateMachine::addState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToCPP state) -{ - ( theWrappedObject->addState(state)); -} - -void PythonQtWrapper_QStateMachine::beginMicrostep(QStateMachine* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginMicrostep(event)); -} - -void PythonQtWrapper_QStateMachine::beginSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginSelectTransitions(event)); -} - -bool PythonQtWrapper_QStateMachine::cancelDelayedEvent(QStateMachine* theWrappedObject, int id) -{ - return ( theWrappedObject->cancelDelayedEvent(id)); -} - -void PythonQtWrapper_QStateMachine::clearError(QStateMachine* theWrappedObject) -{ - ( theWrappedObject->clearError()); -} - -QSet PythonQtWrapper_QStateMachine::configuration(QStateMachine* theWrappedObject) const -{ - return ( theWrappedObject->configuration()); -} - -QList PythonQtWrapper_QStateMachine::defaultAnimations(QStateMachine* theWrappedObject) const -{ - return ( theWrappedObject->defaultAnimations()); -} - -void PythonQtWrapper_QStateMachine::endMicrostep(QStateMachine* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endMicrostep(event)); -} - -void PythonQtWrapper_QStateMachine::endSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endSelectTransitions(event)); -} - -QStateMachine::Error PythonQtWrapper_QStateMachine::error(QStateMachine* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -QString PythonQtWrapper_QStateMachine::errorString(QStateMachine* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -QState::RestorePolicy PythonQtWrapper_QStateMachine::globalRestorePolicy(QStateMachine* theWrappedObject) const -{ - return ( theWrappedObject->globalRestorePolicy()); -} - -bool PythonQtWrapper_QStateMachine::isAnimated(QStateMachine* theWrappedObject) const -{ - return ( theWrappedObject->isAnimated()); -} - -bool PythonQtWrapper_QStateMachine::isRunning(QStateMachine* theWrappedObject) const -{ - return ( theWrappedObject->isRunning()); -} - -int PythonQtWrapper_QStateMachine::postDelayedEvent(QStateMachine* theWrappedObject, QEvent* event, int delay) -{ - return ( theWrappedObject->postDelayedEvent(event, delay)); -} - -void PythonQtWrapper_QStateMachine::postEvent(QStateMachine* theWrappedObject, QEvent* event, QStateMachine::EventPriority priority) -{ - ( theWrappedObject->postEvent(event, priority)); -} - -void PythonQtWrapper_QStateMachine::removeDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) -{ - ( theWrappedObject->removeDefaultAnimation(animation)); -} - -void PythonQtWrapper_QStateMachine::removeState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToPython state) -{ - ( theWrappedObject->removeState(state)); -} - -void PythonQtWrapper_QStateMachine::setAnimated(QStateMachine* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setAnimated(enabled)); -} - -void PythonQtWrapper_QStateMachine::setGlobalRestorePolicy(QStateMachine* theWrappedObject, QState::RestorePolicy restorePolicy) -{ - ( theWrappedObject->setGlobalRestorePolicy(restorePolicy)); -} - - - -QStateMachine::SignalEvent* PythonQtWrapper_QStateMachine__SignalEvent::new_QStateMachine__SignalEvent(QObject* sender, int signalIndex, const QList& arguments) -{ -return new QStateMachine::SignalEvent(sender, signalIndex, arguments); } - -QList PythonQtWrapper_QStateMachine__SignalEvent::arguments(QStateMachine::SignalEvent* theWrappedObject) const -{ - return ( theWrappedObject->arguments()); -} - -QObject* PythonQtWrapper_QStateMachine__SignalEvent::sender(QStateMachine::SignalEvent* theWrappedObject) const -{ - return ( theWrappedObject->sender()); -} - -int PythonQtWrapper_QStateMachine__SignalEvent::signalIndex(QStateMachine::SignalEvent* theWrappedObject) const -{ - return ( theWrappedObject->signalIndex()); -} - - diff --git a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core2.h b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core2.h index d5538a124..3bcfe42ad 100644 --- a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core2.h +++ b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core2.h @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include @@ -42,11 +41,46 @@ #include #include #include +#include #include #include +class PythonQtWrapper_QModelIndex : public QObject +{ Q_OBJECT +public: +public slots: +QModelIndex* new_QModelIndex(); +QModelIndex* new_QModelIndex(const QModelIndex& other) { +QModelIndex* a = new QModelIndex(); +*((QModelIndex*)a) = other; +return a; } +void delete_QModelIndex(QModelIndex* obj) { delete obj; } + QModelIndex child(QModelIndex* theWrappedObject, int row, int column) const; + int column(QModelIndex* theWrappedObject) const; + QVariant data(QModelIndex* theWrappedObject, int role = Qt::DisplayRole) const; + Qt::ItemFlags flags(QModelIndex* theWrappedObject) const; + quintptr internalId(QModelIndex* theWrappedObject) const; + void* internalPointer(QModelIndex* theWrappedObject) const; + bool isValid(QModelIndex* theWrappedObject) const; + const QAbstractItemModel* model(QModelIndex* theWrappedObject) const; + bool __ne__(QModelIndex* theWrappedObject, const QModelIndex& other) const; + bool __lt__(QModelIndex* theWrappedObject, const QModelIndex& other) const; + bool __eq__(QModelIndex* theWrappedObject, const QModelIndex& other) const; + QModelIndex parent(QModelIndex* theWrappedObject) const; + int row(QModelIndex* theWrappedObject) const; + QModelIndex sibling(QModelIndex* theWrappedObject, int row, int column) const; + QModelIndex siblingAtColumn(QModelIndex* theWrappedObject, int column) const; + QModelIndex siblingAtRow(QModelIndex* theWrappedObject, int row) const; + QString py_toString(QModelIndex*); + bool __nonzero__(QModelIndex* obj) { return obj->isValid(); } +}; + + + + + class PythonQtWrapper_QMutex : public QObject { Q_OBJECT public: @@ -55,7 +89,7 @@ enum RecursionMode{ NonRecursive = QMutex::NonRecursive, Recursive = QMutex::Recursive}; public slots: QMutex* new_QMutex(QMutex::RecursionMode mode = QMutex::NonRecursive); -void delete_QMutex(QMutex* obj) { delete obj; } +void delete_QMutex(QMutex* obj) { delete obj; } bool isRecursive(QMutex* theWrappedObject) const; void lock(QMutex* theWrappedObject); bool tryLock(QMutex* theWrappedObject, int timeout = 0); @@ -67,22 +101,41 @@ void delete_QMutex(QMutex* obj) { delete obj; } +class PythonQtWrapper_QMutexLocker : public QObject +{ Q_OBJECT +public: +public slots: +QMutexLocker* new_QMutexLocker(QMutex* arg__1); +void delete_QMutexLocker(QMutexLocker* obj) { delete obj; } + QMutex* mutex(QMutexLocker* theWrappedObject) const; + void relock(QMutexLocker* theWrappedObject); + void unlock(QMutexLocker* theWrappedObject); + + void __enter__(QMutexLocker* self) {} + void __exit__(QMutexLocker* self, PyObject* type, PyObject* value, PyObject* traceback) { self->unlock(); } + +}; + + + + + class PythonQtShell_QObject : public QObject { public: - PythonQtShell_QObject(QObject* parent = nullptr):QObject(parent),_wrapper(NULL) {}; + PythonQtShell_QObject(QObject* parent = nullptr):QObject(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QObject(); + ~PythonQtShell_QObject() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QObject : public QObject @@ -105,7 +158,7 @@ class PythonQtWrapper_QObject : public QObject public: public slots: QObject* new_QObject(QObject* parent = nullptr); -void delete_QObject(QObject* obj) { delete obj; } +void delete_QObject(QObject* obj) { delete obj; } bool blockSignals(QObject* theWrappedObject, bool b); void childEvent(QObject* theWrappedObject, QChildEvent* event); void py_q_childEvent(QObject* theWrappedObject, QChildEvent* event){ (((PythonQtPublicPromoter_QObject*)theWrappedObject)->py_q_childEvent(event));} @@ -146,12 +199,12 @@ void delete_QObject(QObject* obj) { delete obj; } class PythonQtShell_QOperatingSystemVersion : public QOperatingSystemVersion { public: - PythonQtShell_QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor = -1, int vmicro = -1):QOperatingSystemVersion(osType, vmajor, vminor, vmicro),_wrapper(NULL) {}; + PythonQtShell_QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor = -1, int vmicro = -1):QOperatingSystemVersion(osType, vmajor, vminor, vmicro),_wrapper(nullptr) {}; ~PythonQtShell_QOperatingSystemVersion(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOperatingSystemVersion : public QObject @@ -162,7 +215,7 @@ enum OSType{ Unknown = QOperatingSystemVersion::Unknown, Windows = QOperatingSystemVersion::Windows, MacOS = QOperatingSystemVersion::MacOS, IOS = QOperatingSystemVersion::IOS, TvOS = QOperatingSystemVersion::TvOS, WatchOS = QOperatingSystemVersion::WatchOS, Android = QOperatingSystemVersion::Android}; public slots: QOperatingSystemVersion* new_QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor = -1, int vmicro = -1); -void delete_QOperatingSystemVersion(QOperatingSystemVersion* obj) { delete obj; } +void delete_QOperatingSystemVersion(QOperatingSystemVersion* obj) { delete obj; } QOperatingSystemVersion static_QOperatingSystemVersion_current(); QOperatingSystemVersion::OSType static_QOperatingSystemVersion_currentType(); int majorVersion(QOperatingSystemVersion* theWrappedObject) const; @@ -181,23 +234,23 @@ void delete_QOperatingSystemVersion(QOperatingSystemVersion* obj) { delete obj; class PythonQtShell_QParallelAnimationGroup : public QParallelAnimationGroup { public: - PythonQtShell_QParallelAnimationGroup(QObject* parent = nullptr):QParallelAnimationGroup(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QParallelAnimationGroup(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual int duration() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateCurrentTime(int currentTime); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QParallelAnimationGroup(QObject* parent = nullptr):QParallelAnimationGroup(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QParallelAnimationGroup() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int currentTime) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QParallelAnimationGroup : public QParallelAnimationGroup @@ -218,7 +271,7 @@ class PythonQtWrapper_QParallelAnimationGroup : public QObject public: public slots: QParallelAnimationGroup* new_QParallelAnimationGroup(QObject* parent = nullptr); -void delete_QParallelAnimationGroup(QParallelAnimationGroup* obj) { delete obj; } +void delete_QParallelAnimationGroup(QParallelAnimationGroup* obj) { delete obj; } int py_q_duration(QParallelAnimationGroup* theWrappedObject) const{ return (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_duration());} bool py_q_event(QParallelAnimationGroup* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_event(event));} void py_q_updateCurrentTime(QParallelAnimationGroup* theWrappedObject, int currentTime){ (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_updateCurrentTime(currentTime));} @@ -233,24 +286,24 @@ void delete_QParallelAnimationGroup(QParallelAnimationGroup* obj) { delete obj; class PythonQtShell_QPauseAnimation : public QPauseAnimation { public: - PythonQtShell_QPauseAnimation(QObject* parent = nullptr):QPauseAnimation(parent),_wrapper(NULL) {}; - PythonQtShell_QPauseAnimation(int msecs, QObject* parent = nullptr):QPauseAnimation(msecs, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPauseAnimation(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual int duration() const; -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateCurrentTime(int arg__1); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPauseAnimation(QObject* parent = nullptr):QPauseAnimation(parent),_wrapper(nullptr) {}; + PythonQtShell_QPauseAnimation(int msecs, QObject* parent = nullptr):QPauseAnimation(msecs, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPauseAnimation() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int arg__1) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPauseAnimation : public QPauseAnimation @@ -268,7 +321,7 @@ class PythonQtWrapper_QPauseAnimation : public QObject public slots: QPauseAnimation* new_QPauseAnimation(QObject* parent = nullptr); QPauseAnimation* new_QPauseAnimation(int msecs, QObject* parent = nullptr); -void delete_QPauseAnimation(QPauseAnimation* obj) { delete obj; } +void delete_QPauseAnimation(QPauseAnimation* obj) { delete obj; } int py_q_duration(QPauseAnimation* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->py_q_duration());} bool py_q_event(QPauseAnimation* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->py_q_event(e));} void setDuration(QPauseAnimation* theWrappedObject, int msecs); @@ -286,7 +339,7 @@ public slots: QPersistentModelIndex* new_QPersistentModelIndex(); QPersistentModelIndex* new_QPersistentModelIndex(const QModelIndex& index); QPersistentModelIndex* new_QPersistentModelIndex(const QPersistentModelIndex& other); -void delete_QPersistentModelIndex(QPersistentModelIndex* obj) { delete obj; } +void delete_QPersistentModelIndex(QPersistentModelIndex* obj) { delete obj; } QModelIndex child(QPersistentModelIndex* theWrappedObject, int row, int column) const; int column(QPersistentModelIndex* theWrappedObject) const; QVariant data(QPersistentModelIndex* theWrappedObject, int role = Qt::DisplayRole) const; @@ -315,36 +368,36 @@ void delete_QPersistentModelIndex(QPersistentModelIndex* obj) { delete obj; } class PythonQtShell_QProcess : public QProcess { public: - PythonQtShell_QProcess(QObject* parent = nullptr):QProcess(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QProcess(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* event); -virtual void close(); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode = QIODevice::ReadWrite); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual void setupChildProcess(); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* event); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QProcess(QObject* parent = nullptr):QProcess(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QProcess() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode = QIODevice::ReadWrite) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool seek(qint64 pos) override; +void setupChildProcess() override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QProcess : public QProcess @@ -372,7 +425,7 @@ class PythonQtWrapper_QProcess : public QObject public: public slots: QProcess* new_QProcess(QObject* parent = nullptr); -void delete_QProcess(QProcess* obj) { delete obj; } +void delete_QProcess(QProcess* obj) { delete obj; } QStringList arguments(QProcess* theWrappedObject) const; bool py_q_atEnd(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_atEnd());} qint64 py_q_bytesAvailable(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_bytesAvailable());} @@ -441,7 +494,7 @@ class PythonQtWrapper_QProcessEnvironment : public QObject public slots: QProcessEnvironment* new_QProcessEnvironment(); QProcessEnvironment* new_QProcessEnvironment(const QProcessEnvironment& other); -void delete_QProcessEnvironment(QProcessEnvironment* obj) { delete obj; } +void delete_QProcessEnvironment(QProcessEnvironment* obj) { delete obj; } void clear(QProcessEnvironment* theWrappedObject); bool contains(QProcessEnvironment* theWrappedObject, const QString& name) const; void insert(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& e); @@ -466,26 +519,26 @@ void delete_QProcessEnvironment(QProcessEnvironment* obj) { delete obj; } class PythonQtShell_QPropertyAnimation : public QPropertyAnimation { public: - PythonQtShell_QPropertyAnimation(QObject* parent = nullptr):QPropertyAnimation(parent),_wrapper(NULL) {}; - PythonQtShell_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent = nullptr):QPropertyAnimation(target, propertyName, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPropertyAnimation(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual int duration() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QVariant interpolated(const QVariant& from, const QVariant& to, qreal progress) const; -virtual void timerEvent(QTimerEvent* event); -virtual void updateCurrentTime(int arg__1); -virtual void updateCurrentValue(const QVariant& value); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPropertyAnimation(QObject* parent = nullptr):QPropertyAnimation(parent),_wrapper(nullptr) {}; + PythonQtShell_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent = nullptr):QPropertyAnimation(target, propertyName, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPropertyAnimation() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant interpolated(const QVariant& from, const QVariant& to, qreal progress) const override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int arg__1) override; +void updateCurrentValue(const QVariant& value) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPropertyAnimation : public QPropertyAnimation @@ -504,7 +557,7 @@ class PythonQtWrapper_QPropertyAnimation : public QObject public slots: QPropertyAnimation* new_QPropertyAnimation(QObject* parent = nullptr); QPropertyAnimation* new_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent = nullptr); -void delete_QPropertyAnimation(QPropertyAnimation* obj) { delete obj; } +void delete_QPropertyAnimation(QPropertyAnimation* obj) { delete obj; } bool py_q_event(QPropertyAnimation* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->py_q_event(event));} QByteArray propertyName(QPropertyAnimation* theWrappedObject) const; void setPropertyName(QPropertyAnimation* theWrappedObject, const QByteArray& propertyName); @@ -525,7 +578,7 @@ public slots: QRandomGenerator* new_QRandomGenerator(const QRandomGenerator& other); QRandomGenerator* new_QRandomGenerator(const unsigned int* begin, const unsigned int* end); QRandomGenerator* new_QRandomGenerator(unsigned int seedValue = 1); -void delete_QRandomGenerator(QRandomGenerator* obj) { delete obj; } +void delete_QRandomGenerator(QRandomGenerator* obj) { delete obj; } double bounded(QRandomGenerator* theWrappedObject, double highest); int bounded(QRandomGenerator* theWrappedObject, int highest); int bounded(QRandomGenerator* theWrappedObject, int lowest, int highest); @@ -557,7 +610,7 @@ public slots: QRandomGenerator64* new_QRandomGenerator64(const QRandomGenerator& other); QRandomGenerator64* new_QRandomGenerator64(const unsigned int* begin, const unsigned int* end); QRandomGenerator64* new_QRandomGenerator64(unsigned int seedValue = 1); -void delete_QRandomGenerator64(QRandomGenerator64* obj) { delete obj; } +void delete_QRandomGenerator64(QRandomGenerator64* obj) { delete obj; } void discard(QRandomGenerator64* theWrappedObject, quint64 z); quint64 generate(QRandomGenerator64* theWrappedObject); QRandomGenerator64* static_QRandomGenerator64_global(); @@ -572,6 +625,25 @@ void delete_QRandomGenerator64(QRandomGenerator64* obj) { delete obj; } +class PythonQtWrapper_QReadLocker : public QObject +{ Q_OBJECT +public: +public slots: +QReadLocker* new_QReadLocker(QReadWriteLock* readWriteLock); +void delete_QReadLocker(QReadLocker* obj) { delete obj; } + QReadWriteLock* readWriteLock(QReadLocker* theWrappedObject) const; + void relock(QReadLocker* theWrappedObject); + void unlock(QReadLocker* theWrappedObject); + + void __enter__(QReadLocker* self) {} + void __exit__(QReadLocker* self, PyObject* type, PyObject* value, PyObject* traceback) { self->unlock(); } + +}; + + + + + class PythonQtWrapper_QReadWriteLock : public QObject { Q_OBJECT public: @@ -580,7 +652,7 @@ enum RecursionMode{ NonRecursive = QReadWriteLock::NonRecursive, Recursive = QReadWriteLock::Recursive}; public slots: QReadWriteLock* new_QReadWriteLock(QReadWriteLock::RecursionMode recursionMode = QReadWriteLock::NonRecursive); -void delete_QReadWriteLock(QReadWriteLock* obj) { delete obj; } +void delete_QReadWriteLock(QReadWriteLock* obj) { delete obj; } void lockForRead(QReadWriteLock* theWrappedObject); void lockForWrite(QReadWriteLock* theWrappedObject); bool tryLockForRead(QReadWriteLock* theWrappedObject); @@ -611,7 +683,7 @@ public slots: QRegularExpression* new_QRegularExpression(); QRegularExpression* new_QRegularExpression(const QRegularExpression& re); QRegularExpression* new_QRegularExpression(const QString& pattern, QRegularExpression::PatternOptions options = QRegularExpression::NoPatternOption); -void delete_QRegularExpression(QRegularExpression* obj) { delete obj; } +void delete_QRegularExpression(QRegularExpression* obj) { delete obj; } int captureCount(QRegularExpression* theWrappedObject) const; QString errorString(QRegularExpression* theWrappedObject) const; QString static_QRegularExpression_escape(const QString& str); @@ -647,7 +719,7 @@ class PythonQtWrapper_QRegularExpressionMatch : public QObject public slots: QRegularExpressionMatch* new_QRegularExpressionMatch(); QRegularExpressionMatch* new_QRegularExpressionMatch(const QRegularExpressionMatch& match); -void delete_QRegularExpressionMatch(QRegularExpressionMatch* obj) { delete obj; } +void delete_QRegularExpressionMatch(QRegularExpressionMatch* obj) { delete obj; } QString captured(QRegularExpressionMatch* theWrappedObject, const QString& name) const; QString captured(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; int capturedEnd(QRegularExpressionMatch* theWrappedObject, const QString& name) const; @@ -682,7 +754,7 @@ class PythonQtWrapper_QRegularExpressionMatchIterator : public QObject public slots: QRegularExpressionMatchIterator* new_QRegularExpressionMatchIterator(); QRegularExpressionMatchIterator* new_QRegularExpressionMatchIterator(const QRegularExpressionMatchIterator& iterator); -void delete_QRegularExpressionMatchIterator(QRegularExpressionMatchIterator* obj) { delete obj; } +void delete_QRegularExpressionMatchIterator(QRegularExpressionMatchIterator* obj) { delete obj; } bool hasNext(QRegularExpressionMatchIterator* theWrappedObject) const; bool isValid(QRegularExpressionMatchIterator* theWrappedObject) const; QRegularExpression::MatchOptions matchOptions(QRegularExpressionMatchIterator* theWrappedObject) const; @@ -702,12 +774,12 @@ void delete_QRegularExpressionMatchIterator(QRegularExpressionMatchIterator* obj class PythonQtShell_QResource : public QResource { public: - PythonQtShell_QResource(const QString& file = QString(), const QLocale& locale = QLocale()):QResource(file, locale),_wrapper(NULL) {}; + PythonQtShell_QResource(const QString& file = QString(), const QLocale& locale = QLocale()):QResource(file, locale),_wrapper(nullptr) {}; ~PythonQtShell_QResource(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QResource : public QResource @@ -722,7 +794,7 @@ class PythonQtWrapper_QResource : public QObject public: public slots: QResource* new_QResource(const QString& file = QString(), const QLocale& locale = QLocale()); -void delete_QResource(QResource* obj) { delete obj; } +void delete_QResource(QResource* obj) { delete obj; } QString absoluteFilePath(QResource* theWrappedObject) const; void static_QResource_addSearchPath(const QString& path); QStringList children(QResource* theWrappedObject) const; @@ -752,13 +824,13 @@ void delete_QResource(QResource* obj) { delete obj; } class PythonQtShell_QRunnable : public QRunnable { public: - PythonQtShell_QRunnable():QRunnable(),_wrapper(NULL) {}; + PythonQtShell_QRunnable():QRunnable(),_wrapper(nullptr) {}; - ~PythonQtShell_QRunnable(); + ~PythonQtShell_QRunnable() override; -virtual void run(); +void run() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRunnable : public QRunnable @@ -771,7 +843,7 @@ class PythonQtWrapper_QRunnable : public QObject public: public slots: QRunnable* new_QRunnable(); -void delete_QRunnable(QRunnable* obj) { delete obj; } +void delete_QRunnable(QRunnable* obj) { delete obj; } bool autoDelete(QRunnable* theWrappedObject) const; void run(QRunnable* theWrappedObject); void py_q_run(QRunnable* theWrappedObject){ (((PythonQtPublicPromoter_QRunnable*)theWrappedObject)->py_q_run());} @@ -785,40 +857,40 @@ void delete_QRunnable(QRunnable* obj) { delete obj; } class PythonQtShell_QSaveFile : public QSaveFile { public: - PythonQtShell_QSaveFile(QObject* parent = nullptr):QSaveFile(parent),_wrapper(NULL) {}; - PythonQtShell_QSaveFile(const QString& name):QSaveFile(name),_wrapper(NULL) {}; - PythonQtShell_QSaveFile(const QString& name, QObject* parent):QSaveFile(name, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSaveFile(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QString fileName() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode flags); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* event); -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSaveFile(QObject* parent = nullptr):QSaveFile(parent),_wrapper(nullptr) {}; + PythonQtShell_QSaveFile(const QString& name):QSaveFile(name),_wrapper(nullptr) {}; + PythonQtShell_QSaveFile(const QString& name, QObject* parent):QSaveFile(name, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSaveFile() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString fileName() const override; +bool isSequential() const override; +bool open(QIODevice::OpenMode flags) override; +QFileDevice::Permissions permissions() const override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool resize(qint64 sz) override; +bool seek(qint64 offset) override; +bool setPermissions(QFileDevice::Permissions permissionSpec) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSaveFile : public QSaveFile @@ -836,7 +908,7 @@ public slots: QSaveFile* new_QSaveFile(QObject* parent = nullptr); QSaveFile* new_QSaveFile(const QString& name); QSaveFile* new_QSaveFile(const QString& name, QObject* parent); -void delete_QSaveFile(QSaveFile* obj) { delete obj; } +void delete_QSaveFile(QSaveFile* obj) { delete obj; } void cancelWriting(QSaveFile* theWrappedObject); bool commit(QSaveFile* theWrappedObject); bool directWriteFallback(QSaveFile* theWrappedObject) const; @@ -856,7 +928,7 @@ class PythonQtWrapper_QSemaphore : public QObject public: public slots: QSemaphore* new_QSemaphore(int n = 0); -void delete_QSemaphore(QSemaphore* obj) { delete obj; } +void delete_QSemaphore(QSemaphore* obj) { delete obj; } void acquire(QSemaphore* theWrappedObject, int n = 1); int available(QSemaphore* theWrappedObject) const; void release(QSemaphore* theWrappedObject, int n = 1); @@ -871,23 +943,23 @@ void delete_QSemaphore(QSemaphore* obj) { delete obj; } class PythonQtShell_QSequentialAnimationGroup : public QSequentialAnimationGroup { public: - PythonQtShell_QSequentialAnimationGroup(QObject* parent = nullptr):QSequentialAnimationGroup(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSequentialAnimationGroup(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual int duration() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateCurrentTime(int arg__1); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSequentialAnimationGroup(QObject* parent = nullptr):QSequentialAnimationGroup(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSequentialAnimationGroup() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int arg__1) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSequentialAnimationGroup : public QSequentialAnimationGroup @@ -908,7 +980,7 @@ class PythonQtWrapper_QSequentialAnimationGroup : public QObject public: public slots: QSequentialAnimationGroup* new_QSequentialAnimationGroup(QObject* parent = nullptr); -void delete_QSequentialAnimationGroup(QSequentialAnimationGroup* obj) { delete obj; } +void delete_QSequentialAnimationGroup(QSequentialAnimationGroup* obj) { delete obj; } QPauseAnimation* addPause(QSequentialAnimationGroup* theWrappedObject, int msecs); QAbstractAnimation* currentAnimation(QSequentialAnimationGroup* theWrappedObject) const; int py_q_duration(QSequentialAnimationGroup* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_duration());} @@ -926,23 +998,23 @@ void delete_QSequentialAnimationGroup(QSequentialAnimationGroup* obj) { delete o class PythonQtShell_QSettings : public QSettings { public: - PythonQtShell_QSettings(QObject* parent = nullptr):QSettings(parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(format, scope, organization, application, parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(scope, organization, application, parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(const QString& fileName, QSettings::Format format, QObject* parent = nullptr):QSettings(fileName, format, parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(organization, application, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSettings(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSettings(QObject* parent = nullptr):QSettings(parent),_wrapper(nullptr) {}; + PythonQtShell_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(format, scope, organization, application, parent),_wrapper(nullptr) {}; + PythonQtShell_QSettings(QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(scope, organization, application, parent),_wrapper(nullptr) {}; + PythonQtShell_QSettings(const QString& fileName, QSettings::Format format, QObject* parent = nullptr):QSettings(fileName, format, parent),_wrapper(nullptr) {}; + PythonQtShell_QSettings(const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(organization, application, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSettings() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSettings : public QSettings @@ -960,7 +1032,7 @@ QSettings* new_QSettings(QSettings::Format format, QSettings::Scope scope, con QSettings* new_QSettings(QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr); QSettings* new_QSettings(const QString& fileName, QSettings::Format format, QObject* parent = nullptr); QSettings* new_QSettings(const QString& organization, const QString& application = QString(), QObject* parent = nullptr); -void delete_QSettings(QSettings* obj) { delete obj; } +void delete_QSettings(QSettings* obj) { delete obj; } QStringList allKeys(QSettings* theWrappedObject) const; QString applicationName(QSettings* theWrappedObject) const; void beginGroup(QSettings* theWrappedObject, const QString& prefix); @@ -1004,20 +1076,20 @@ void delete_QSettings(QSettings* obj) { delete obj; } class PythonQtShell_QSharedMemory : public QSharedMemory { public: - PythonQtShell_QSharedMemory(QObject* parent = nullptr):QSharedMemory(parent),_wrapper(NULL) {}; - PythonQtShell_QSharedMemory(const QString& key, QObject* parent = nullptr):QSharedMemory(key, parent),_wrapper(NULL) {}; + PythonQtShell_QSharedMemory(QObject* parent = nullptr):QSharedMemory(parent),_wrapper(nullptr) {}; + PythonQtShell_QSharedMemory(const QString& key, QObject* parent = nullptr):QSharedMemory(key, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSharedMemory(); + ~PythonQtShell_QSharedMemory() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSharedMemory : public QObject @@ -1031,7 +1103,7 @@ enum SharedMemoryError{ public slots: QSharedMemory* new_QSharedMemory(QObject* parent = nullptr); QSharedMemory* new_QSharedMemory(const QString& key, QObject* parent = nullptr); -void delete_QSharedMemory(QSharedMemory* obj) { delete obj; } +void delete_QSharedMemory(QSharedMemory* obj) { delete obj; } bool attach(QSharedMemory* theWrappedObject, QSharedMemory::AccessMode mode = QSharedMemory::ReadWrite); const void* constData(QSharedMemory* theWrappedObject) const; bool create(QSharedMemory* theWrappedObject, int size, QSharedMemory::AccessMode mode = QSharedMemory::ReadWrite); @@ -1059,7 +1131,7 @@ class PythonQtWrapper_QSignalBlocker : public QObject public slots: QSignalBlocker* new_QSignalBlocker(QObject& o); QSignalBlocker* new_QSignalBlocker(QObject* o); -void delete_QSignalBlocker(QSignalBlocker* obj) { delete obj; } +void delete_QSignalBlocker(QSignalBlocker* obj) { delete obj; } void reblock(QSignalBlocker* theWrappedObject); void unblock(QSignalBlocker* theWrappedObject); }; @@ -1071,19 +1143,19 @@ void delete_QSignalBlocker(QSignalBlocker* obj) { delete obj; } class PythonQtShell_QSignalMapper : public QSignalMapper { public: - PythonQtShell_QSignalMapper(QObject* parent = nullptr):QSignalMapper(parent),_wrapper(NULL) {}; + PythonQtShell_QSignalMapper(QObject* parent = nullptr):QSignalMapper(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSignalMapper(); + ~PythonQtShell_QSignalMapper() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSignalMapper : public QObject @@ -1091,7 +1163,7 @@ class PythonQtWrapper_QSignalMapper : public QObject public: public slots: QSignalMapper* new_QSignalMapper(QObject* parent = nullptr); -void delete_QSignalMapper(QSignalMapper* obj) { delete obj; } +void delete_QSignalMapper(QSignalMapper* obj) { delete obj; } QObject* mapping(QSignalMapper* theWrappedObject, QObject* object) const; QObject* mapping(QSignalMapper* theWrappedObject, QWidget* widget) const; QObject* mapping(QSignalMapper* theWrappedObject, const QString& text) const; @@ -1110,22 +1182,22 @@ void delete_QSignalMapper(QSignalMapper* obj) { delete obj; } class PythonQtShell_QSignalTransition : public QSignalTransition { public: - PythonQtShell_QSignalTransition(QState* sourceState = nullptr):QSignalTransition(sourceState),_wrapper(NULL) {}; - PythonQtShell_QSignalTransition(const QObject* sender, const char* signal, QState* sourceState = nullptr):QSignalTransition(sender, signal, sourceState),_wrapper(NULL) {}; - - ~PythonQtShell_QSignalTransition(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSignalTransition(QState* sourceState = nullptr):QSignalTransition(sourceState),_wrapper(nullptr) {}; + PythonQtShell_QSignalTransition(const QObject* sender, const char* signal, QState* sourceState = nullptr):QSignalTransition(sender, signal, sourceState),_wrapper(nullptr) {}; + + ~PythonQtShell_QSignalTransition() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool eventTest(QEvent* event) override; +void onTransition(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSignalTransition : public QSignalTransition @@ -1144,7 +1216,7 @@ class PythonQtWrapper_QSignalTransition : public QObject public slots: QSignalTransition* new_QSignalTransition(QState* sourceState = nullptr); QSignalTransition* new_QSignalTransition(const QObject* sender, const char* signal, QState* sourceState = nullptr); -void delete_QSignalTransition(QSignalTransition* obj) { delete obj; } +void delete_QSignalTransition(QSignalTransition* obj) { delete obj; } bool py_q_event(QSignalTransition* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->py_q_event(e));} bool py_q_eventTest(QSignalTransition* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->py_q_eventTest(event));} void py_q_onTransition(QSignalTransition* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->py_q_onTransition(event));} @@ -1161,19 +1233,19 @@ void delete_QSignalTransition(QSignalTransition* obj) { delete obj; } class PythonQtShell_QSocketNotifier : public QSocketNotifier { public: - PythonQtShell_QSocketNotifier(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent = nullptr):QSocketNotifier(socket, arg__2, parent),_wrapper(NULL) {}; + PythonQtShell_QSocketNotifier(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent = nullptr):QSocketNotifier(socket, arg__2, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSocketNotifier(); + ~PythonQtShell_QSocketNotifier() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSocketNotifier : public QSocketNotifier @@ -1190,7 +1262,7 @@ enum Type{ Read = QSocketNotifier::Read, Write = QSocketNotifier::Write, Exception = QSocketNotifier::Exception}; public slots: QSocketNotifier* new_QSocketNotifier(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent = nullptr); -void delete_QSocketNotifier(QSocketNotifier* obj) { delete obj; } +void delete_QSocketNotifier(QSocketNotifier* obj) { delete obj; } bool py_q_event(QSocketNotifier* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QSocketNotifier*)theWrappedObject)->py_q_event(arg__1));} bool isEnabled(QSocketNotifier* theWrappedObject) const; qintptr socket(QSocketNotifier* theWrappedObject) const; @@ -1224,168 +1296,3 @@ public slots: }; - - - -class PythonQtShell_QState : public QState -{ -public: - PythonQtShell_QState(QState* parent = nullptr):QState(parent),_wrapper(NULL) {}; - PythonQtShell_QState(QState::ChildMode childMode, QState* parent = nullptr):QState(childMode, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QState(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QState : public QState -{ public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_onEntry(QEvent* event) { this->onEntry(event); } -inline void promoted_onExit(QEvent* event) { this->onExit(event); } -inline bool py_q_event(QEvent* e) { return QState::event(e); } -inline void py_q_onEntry(QEvent* event) { QState::onEntry(event); } -inline void py_q_onExit(QEvent* event) { QState::onExit(event); } -}; - -class PythonQtWrapper_QState : public QObject -{ Q_OBJECT -public: -public slots: -QState* new_QState(QState* parent = nullptr); -QState* new_QState(QState::ChildMode childMode, QState* parent = nullptr); -void delete_QState(QState* obj) { delete obj; } - QAbstractTransition* addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP target); - void addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP transition); - QSignalTransition* addTransition(QState* theWrappedObject, const QObject* sender, const char* signal, QAbstractState* target); - void assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value); - QState::ChildMode childMode(QState* theWrappedObject) const; - QAbstractState* errorState(QState* theWrappedObject) const; - bool py_q_event(QState* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QState*)theWrappedObject)->py_q_event(e));} - QAbstractState* initialState(QState* theWrappedObject) const; - void py_q_onEntry(QState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QState*)theWrappedObject)->py_q_onEntry(event));} - void py_q_onExit(QState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QState*)theWrappedObject)->py_q_onExit(event));} - void removeTransition(QState* theWrappedObject, PythonQtPassOwnershipToPython transition); - void setChildMode(QState* theWrappedObject, QState::ChildMode mode); - void setErrorState(QState* theWrappedObject, QAbstractState* state); - void setInitialState(QState* theWrappedObject, QAbstractState* state); - QList transitions(QState* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QStateMachine : public QStateMachine -{ -public: - PythonQtShell_QStateMachine(QObject* parent = nullptr):QStateMachine(parent),_wrapper(NULL) {}; - PythonQtShell_QStateMachine(QState::ChildMode childMode, QObject* parent = nullptr):QStateMachine(childMode, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStateMachine(); - -virtual void beginMicrostep(QEvent* event); -virtual void beginSelectTransitions(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual void endMicrostep(QEvent* event); -virtual void endSelectTransitions(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QStateMachine : public QStateMachine -{ public: -inline void promoted_beginMicrostep(QEvent* event) { this->beginMicrostep(event); } -inline void promoted_beginSelectTransitions(QEvent* event) { this->beginSelectTransitions(event); } -inline void promoted_endMicrostep(QEvent* event) { this->endMicrostep(event); } -inline void promoted_endSelectTransitions(QEvent* event) { this->endSelectTransitions(event); } -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_onEntry(QEvent* event) { this->onEntry(event); } -inline void promoted_onExit(QEvent* event) { this->onExit(event); } -inline void py_q_beginMicrostep(QEvent* event) { QStateMachine::beginMicrostep(event); } -inline void py_q_beginSelectTransitions(QEvent* event) { QStateMachine::beginSelectTransitions(event); } -inline void py_q_endMicrostep(QEvent* event) { QStateMachine::endMicrostep(event); } -inline void py_q_endSelectTransitions(QEvent* event) { QStateMachine::endSelectTransitions(event); } -inline bool py_q_event(QEvent* e) { return QStateMachine::event(e); } -inline bool py_q_eventFilter(QObject* watched, QEvent* event) { return QStateMachine::eventFilter(watched, event); } -inline void py_q_onEntry(QEvent* event) { QStateMachine::onEntry(event); } -inline void py_q_onExit(QEvent* event) { QStateMachine::onExit(event); } -}; - -class PythonQtWrapper_QStateMachine : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Error EventPriority ) -enum Error{ - NoError = QStateMachine::NoError, NoInitialStateError = QStateMachine::NoInitialStateError, NoDefaultStateInHistoryStateError = QStateMachine::NoDefaultStateInHistoryStateError, NoCommonAncestorForTransitionError = QStateMachine::NoCommonAncestorForTransitionError}; -enum EventPriority{ - NormalPriority = QStateMachine::NormalPriority, HighPriority = QStateMachine::HighPriority}; -public slots: -QStateMachine* new_QStateMachine(QObject* parent = nullptr); -QStateMachine* new_QStateMachine(QState::ChildMode childMode, QObject* parent = nullptr); -void delete_QStateMachine(QStateMachine* obj) { delete obj; } - void addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation); - void addState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToCPP state); - void beginMicrostep(QStateMachine* theWrappedObject, QEvent* event); - void py_q_beginMicrostep(QStateMachine* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_beginMicrostep(event));} - void beginSelectTransitions(QStateMachine* theWrappedObject, QEvent* event); - void py_q_beginSelectTransitions(QStateMachine* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_beginSelectTransitions(event));} - bool cancelDelayedEvent(QStateMachine* theWrappedObject, int id); - void clearError(QStateMachine* theWrappedObject); - QSet configuration(QStateMachine* theWrappedObject) const; - QList defaultAnimations(QStateMachine* theWrappedObject) const; - void endMicrostep(QStateMachine* theWrappedObject, QEvent* event); - void py_q_endMicrostep(QStateMachine* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_endMicrostep(event));} - void endSelectTransitions(QStateMachine* theWrappedObject, QEvent* event); - void py_q_endSelectTransitions(QStateMachine* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_endSelectTransitions(event));} - QStateMachine::Error error(QStateMachine* theWrappedObject) const; - QString errorString(QStateMachine* theWrappedObject) const; - bool py_q_event(QStateMachine* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_event(e));} - bool py_q_eventFilter(QStateMachine* theWrappedObject, QObject* watched, QEvent* event){ return (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_eventFilter(watched, event));} - QState::RestorePolicy globalRestorePolicy(QStateMachine* theWrappedObject) const; - bool isAnimated(QStateMachine* theWrappedObject) const; - bool isRunning(QStateMachine* theWrappedObject) const; - void py_q_onEntry(QStateMachine* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_onEntry(event));} - void py_q_onExit(QStateMachine* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_onExit(event));} - int postDelayedEvent(QStateMachine* theWrappedObject, QEvent* event, int delay); - void postEvent(QStateMachine* theWrappedObject, QEvent* event, QStateMachine::EventPriority priority = QStateMachine::NormalPriority); - void removeDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation); - void removeState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToPython state); - void setAnimated(QStateMachine* theWrappedObject, bool enabled); - void setGlobalRestorePolicy(QStateMachine* theWrappedObject, QState::RestorePolicy restorePolicy); -}; - - - - - -class PythonQtWrapper_QStateMachine__SignalEvent : public QObject -{ Q_OBJECT -public: -public slots: -QStateMachine::SignalEvent* new_QStateMachine__SignalEvent(QObject* sender, int signalIndex, const QList& arguments); -void delete_QStateMachine__SignalEvent(QStateMachine::SignalEvent* obj) { delete obj; } - QList arguments(QStateMachine::SignalEvent* theWrappedObject) const; - QObject* sender(QStateMachine::SignalEvent* theWrappedObject) const; - int signalIndex(QStateMachine::SignalEvent* theWrappedObject) const; -}; - - 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..2e9fa9d83 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 @@ -4,6 +4,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -21,6 +24,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -30,6 +36,7 @@ #include #include #include +#include #include #include #include @@ -42,6 +49,686 @@ #include #include +PythonQtShell_QState::~PythonQtShell_QState() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QState::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QState::childEvent(event0); +} +void PythonQtShell_QState::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QState::customEvent(event0); +} +bool PythonQtShell_QState::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QState::event(e0); +} +bool PythonQtShell_QState::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QState::eventFilter(watched0, event1); +} +void PythonQtShell_QState::onEntry(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onEntry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QState::onEntry(event0); +} +void PythonQtShell_QState::onExit(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onExit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QState::onExit(event0); +} +void PythonQtShell_QState::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QState::timerEvent(event0); +} +QState* PythonQtWrapper_QState::new_QState(QState* parent) +{ +return new PythonQtShell_QState(parent); } + +QState* PythonQtWrapper_QState::new_QState(QState::ChildMode childMode, QState* parent) +{ +return new PythonQtShell_QState(childMode, parent); } + +const QMetaObject* PythonQtShell_QState::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QState::staticMetaObject); + } else { + return &QState::staticMetaObject; + } +} +int PythonQtShell_QState::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QState::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAbstractTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP target) +{ + return ( theWrappedObject->addTransition(target)); +} + +void PythonQtWrapper_QState::addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP transition) +{ + ( theWrappedObject->addTransition(transition)); +} + +QSignalTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, const QObject* sender, const char* signal, QAbstractState* target) +{ + return ( theWrappedObject->addTransition(sender, signal, target)); +} + +void PythonQtWrapper_QState::assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value) +{ + ( theWrappedObject->assignProperty(object, name, value)); +} + +QState::ChildMode PythonQtWrapper_QState::childMode(QState* theWrappedObject) const +{ + return ( theWrappedObject->childMode()); +} + +QAbstractState* PythonQtWrapper_QState::errorState(QState* theWrappedObject) const +{ + return ( theWrappedObject->errorState()); +} + +QAbstractState* PythonQtWrapper_QState::initialState(QState* theWrappedObject) const +{ + return ( theWrappedObject->initialState()); +} + +void PythonQtWrapper_QState::removeTransition(QState* theWrappedObject, PythonQtPassOwnershipToPython transition) +{ + ( theWrappedObject->removeTransition(transition)); +} + +void PythonQtWrapper_QState::setChildMode(QState* theWrappedObject, QState::ChildMode mode) +{ + ( theWrappedObject->setChildMode(mode)); +} + +void PythonQtWrapper_QState::setErrorState(QState* theWrappedObject, QAbstractState* state) +{ + ( theWrappedObject->setErrorState(state)); +} + +void PythonQtWrapper_QState::setInitialState(QState* theWrappedObject, QAbstractState* state) +{ + ( theWrappedObject->setInitialState(state)); +} + +QList PythonQtWrapper_QState::transitions(QState* theWrappedObject) const +{ + return ( theWrappedObject->transitions()); +} + + + +PythonQtShell_QStateMachine::~PythonQtShell_QStateMachine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("beginMicrostep"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStateMachine::beginMicrostep(event0); +} +void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("beginSelectTransitions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStateMachine::beginSelectTransitions(event0); +} +void PythonQtShell_QStateMachine::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStateMachine::childEvent(event0); +} +void PythonQtShell_QStateMachine::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStateMachine::customEvent(event0); +} +void PythonQtShell_QStateMachine::endMicrostep(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endMicrostep"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStateMachine::endMicrostep(event0); +} +void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endSelectTransitions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStateMachine::endSelectTransitions(event0); +} +bool PythonQtShell_QStateMachine::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStateMachine::event(e0); +} +bool PythonQtShell_QStateMachine::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStateMachine::eventFilter(watched0, event1); +} +void PythonQtShell_QStateMachine::onEntry(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onEntry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStateMachine::onEntry(event0); +} +void PythonQtShell_QStateMachine::onExit(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onExit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStateMachine::onExit(event0); +} +void PythonQtShell_QStateMachine::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStateMachine::timerEvent(event0); +} +QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QObject* parent) +{ +return new PythonQtShell_QStateMachine(parent); } + +QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QState::ChildMode childMode, QObject* parent) +{ +return new PythonQtShell_QStateMachine(childMode, parent); } + +const QMetaObject* PythonQtShell_QStateMachine::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStateMachine::staticMetaObject); + } else { + return &QStateMachine::staticMetaObject; + } +} +int PythonQtShell_QStateMachine::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QStateMachine::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QStateMachine::addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) +{ + ( theWrappedObject->addDefaultAnimation(animation)); +} + +void PythonQtWrapper_QStateMachine::addState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToCPP state) +{ + ( theWrappedObject->addState(state)); +} + +void PythonQtWrapper_QStateMachine::beginMicrostep(QStateMachine* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginMicrostep(event)); +} + +void PythonQtWrapper_QStateMachine::beginSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginSelectTransitions(event)); +} + +bool PythonQtWrapper_QStateMachine::cancelDelayedEvent(QStateMachine* theWrappedObject, int id) +{ + return ( theWrappedObject->cancelDelayedEvent(id)); +} + +void PythonQtWrapper_QStateMachine::clearError(QStateMachine* theWrappedObject) +{ + ( theWrappedObject->clearError()); +} + +QSet PythonQtWrapper_QStateMachine::configuration(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->configuration()); +} + +QList PythonQtWrapper_QStateMachine::defaultAnimations(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->defaultAnimations()); +} + +void PythonQtWrapper_QStateMachine::endMicrostep(QStateMachine* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endMicrostep(event)); +} + +void PythonQtWrapper_QStateMachine::endSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endSelectTransitions(event)); +} + +QStateMachine::Error PythonQtWrapper_QStateMachine::error(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QStateMachine::errorString(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QState::RestorePolicy PythonQtWrapper_QStateMachine::globalRestorePolicy(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->globalRestorePolicy()); +} + +bool PythonQtWrapper_QStateMachine::isAnimated(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->isAnimated()); +} + +bool PythonQtWrapper_QStateMachine::isRunning(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->isRunning()); +} + +int PythonQtWrapper_QStateMachine::postDelayedEvent(QStateMachine* theWrappedObject, QEvent* event, int delay) +{ + return ( theWrappedObject->postDelayedEvent(event, delay)); +} + +void PythonQtWrapper_QStateMachine::postEvent(QStateMachine* theWrappedObject, QEvent* event, QStateMachine::EventPriority priority) +{ + ( theWrappedObject->postEvent(event, priority)); +} + +void PythonQtWrapper_QStateMachine::removeDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) +{ + ( theWrappedObject->removeDefaultAnimation(animation)); +} + +void PythonQtWrapper_QStateMachine::removeState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToPython state) +{ + ( theWrappedObject->removeState(state)); +} + +void PythonQtWrapper_QStateMachine::setAnimated(QStateMachine* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAnimated(enabled)); +} + +void PythonQtWrapper_QStateMachine::setGlobalRestorePolicy(QStateMachine* theWrappedObject, QState::RestorePolicy restorePolicy) +{ + ( theWrappedObject->setGlobalRestorePolicy(restorePolicy)); +} + + + +QStateMachine::SignalEvent* PythonQtWrapper_QStateMachine__SignalEvent::new_QStateMachine__SignalEvent(QObject* sender, int signalIndex, const QList& arguments) +{ +return new QStateMachine::SignalEvent(sender, signalIndex, arguments); } + +QList PythonQtWrapper_QStateMachine__SignalEvent::arguments(QStateMachine::SignalEvent* theWrappedObject) const +{ + return ( theWrappedObject->arguments()); +} + +QObject* PythonQtWrapper_QStateMachine__SignalEvent::sender(QStateMachine::SignalEvent* theWrappedObject) const +{ + return ( theWrappedObject->sender()); +} + +int PythonQtWrapper_QStateMachine__SignalEvent::signalIndex(QStateMachine::SignalEvent* theWrappedObject) const +{ + return ( theWrappedObject->signalIndex()); +} + + + QStateMachine::WrappedEvent* PythonQtWrapper_QStateMachine__WrappedEvent::new_QStateMachine__WrappedEvent(QObject* object, QEvent* event) { return new QStateMachine::WrappedEvent(object, event); } @@ -139,6 +826,11 @@ QString PythonQtWrapper_QStorageInfo::name(QStorageInfo* theWrappedObject) cons return ( theWrappedObject->name()); } +bool PythonQtWrapper_QStorageInfo::__ne__(QStorageInfo* theWrappedObject, const QStorageInfo& second) +{ + return ( (*theWrappedObject)!= second); +} + QStorageInfo* PythonQtWrapper_QStorageInfo::operator_assign(QStorageInfo* theWrappedObject, const QStorageInfo& other) { return &( (*theWrappedObject)= other); @@ -387,20 +1079,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -420,20 +1112,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -453,20 +1145,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -486,20 +1178,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -519,9 +1211,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -541,9 +1233,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -563,9 +1255,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -585,20 +1277,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -618,20 +1310,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -651,20 +1343,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("uniqueFilename", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -684,20 +1376,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -717,20 +1409,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&flags0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -750,20 +1442,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QFileDevice::Permissions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QFileDevice::Permissions returnValue; - void* args[1] = {NULL}; + QFileDevice::Permissions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); } else { returnValue = *((QFileDevice::Permissions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -783,20 +1475,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -816,20 +1508,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -849,20 +1541,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -882,20 +1574,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -915,20 +1607,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&sz0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&sz0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -948,20 +1640,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -981,20 +1673,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&permissionSpec0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&permissionSpec0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1014,20 +1706,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1047,9 +1739,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1069,20 +1761,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1102,20 +1794,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1135,20 +1827,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1327,20 +2019,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("aliases", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1360,20 +2052,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QByteArray" , "const QChar*" , "int" , "QTextCodec::ConverterState*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QByteArray returnValue; - void* args[4] = {NULL, (void*)&in0, (void*)&length1, (void*)&state2}; + QByteArray returnValue{}; + void* args[4] = {nullptr, (void*)&in0, (void*)&length1, (void*)&state2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("convertFromUnicode", methodInfo, result); } else { returnValue = *((QByteArray*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1393,20 +2085,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const char*" , "int" , "QTextCodec::ConverterState*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QString returnValue; - void* args[4] = {NULL, (void*)&in0, (void*)&length1, (void*)&state2}; + QString returnValue{}; + void* args[4] = {nullptr, (void*)&in0, (void*)&length1, (void*)&state2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("convertToUnicode", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1426,20 +2118,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mibEnum", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1459,20 +2151,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QByteArray"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QByteArray returnValue; - void* args[1] = {NULL}; + QByteArray returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); } else { returnValue = *((QByteArray*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1916,6 +2608,288 @@ QTextStream::Status PythonQtWrapper_QTextStream::status(QTextStream* theWrapped +PythonQtShell_QThread::~PythonQtShell_QThread() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QThread::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QThread::childEvent(event0); +} +void PythonQtShell_QThread::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QThread::customEvent(event0); +} +bool PythonQtShell_QThread::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QThread::event(event0); +} +bool PythonQtShell_QThread::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QThread::eventFilter(watched0, event1); +} +void PythonQtShell_QThread::run() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("run"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QThread::run(); +} +void PythonQtShell_QThread::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QThread::timerEvent(event0); +} +QThread* PythonQtWrapper_QThread::new_QThread(QObject* parent) +{ +return new PythonQtShell_QThread(parent); } + +const QMetaObject* PythonQtShell_QThread::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QThread::staticMetaObject); + } else { + return &QThread::staticMetaObject; + } +} +int PythonQtShell_QThread::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QThread::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QThread* PythonQtWrapper_QThread::static_QThread_currentThread() +{ + return (QThread::currentThread()); +} + +Qt::HANDLE PythonQtWrapper_QThread::static_QThread_currentThreadId() +{ + return (QThread::currentThreadId()); +} + +QAbstractEventDispatcher* PythonQtWrapper_QThread::eventDispatcher(QThread* theWrappedObject) const +{ + return ( theWrappedObject->eventDispatcher()); +} + +int PythonQtWrapper_QThread::exec(QThread* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QThread*)theWrappedObject)->promoted_exec()); +} + +void PythonQtWrapper_QThread::exit(QThread* theWrappedObject, int retcode) +{ + ( theWrappedObject->exit(retcode)); +} + +int PythonQtWrapper_QThread::static_QThread_idealThreadCount() +{ + return (QThread::idealThreadCount()); +} + +bool PythonQtWrapper_QThread::isFinished(QThread* theWrappedObject) const +{ + return ( theWrappedObject->isFinished()); +} + +bool PythonQtWrapper_QThread::isInterruptionRequested(QThread* theWrappedObject) const +{ + return ( theWrappedObject->isInterruptionRequested()); +} + +bool PythonQtWrapper_QThread::isRunning(QThread* theWrappedObject) const +{ + return ( theWrappedObject->isRunning()); +} + +int PythonQtWrapper_QThread::loopLevel(QThread* theWrappedObject) const +{ + return ( theWrappedObject->loopLevel()); +} + +void PythonQtWrapper_QThread::static_QThread_msleep(unsigned long arg__1) +{ + (QThread::msleep(arg__1)); +} + +void PythonQtWrapper_QThread::requestInterruption(QThread* theWrappedObject) +{ + ( theWrappedObject->requestInterruption()); +} + +void PythonQtWrapper_QThread::run(QThread* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QThread*)theWrappedObject)->promoted_run()); +} + +void PythonQtWrapper_QThread::setEventDispatcher(QThread* theWrappedObject, QAbstractEventDispatcher* eventDispatcher) +{ + ( theWrappedObject->setEventDispatcher(eventDispatcher)); +} + +void PythonQtWrapper_QThread::setStackSize(QThread* theWrappedObject, uint stackSize) +{ + ( theWrappedObject->setStackSize(stackSize)); +} + +void PythonQtWrapper_QThread::static_QThread_setTerminationEnabled(bool enabled) +{ + (PythonQtPublicPromoter_QThread::promoted_setTerminationEnabled(enabled)); +} + +void PythonQtWrapper_QThread::static_QThread_sleep(unsigned long arg__1) +{ + (QThread::sleep(arg__1)); +} + +uint PythonQtWrapper_QThread::stackSize(QThread* theWrappedObject) const +{ + return ( theWrappedObject->stackSize()); +} + +void PythonQtWrapper_QThread::static_QThread_usleep(unsigned long arg__1) +{ + (QThread::usleep(arg__1)); +} + +bool PythonQtWrapper_QThread::wait(QThread* theWrappedObject, unsigned long time) +{ + return ( theWrappedObject->wait(time)); +} + +void PythonQtWrapper_QThread::static_QThread_yieldCurrentThread() +{ + (QThread::yieldCurrentThread()); +} + + + PythonQtShell_QThreadPool::~PythonQtShell_QThreadPool() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -1930,9 +2904,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1952,9 +2926,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1974,20 +2948,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2007,20 +2981,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2040,9 +3014,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2165,9 +3139,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2187,9 +3161,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2209,20 +3183,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2242,20 +3216,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2275,9 +3249,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2297,20 +3271,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qreal" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - qreal returnValue = 0; - void* args[2] = {NULL, (void*)&msec0}; + qreal returnValue{}; + void* args[2] = {nullptr, (void*)&msec0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("valueForTime", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2652,9 +3626,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2674,9 +3648,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2696,20 +3670,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2729,20 +3703,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2762,9 +3736,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2877,9 +3851,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2899,9 +3873,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2921,20 +3895,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2954,20 +3928,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2987,20 +3961,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3020,9 +3994,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3042,20 +4016,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const char*" , "const char*" , "const char*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QString returnValue; - void* args[5] = {NULL, (void*)&context0, (void*)&sourceText1, (void*)&disambiguation2, (void*)&n3}; + QString returnValue{}; + void* args[5] = {nullptr, (void*)&context0, (void*)&sourceText1, (void*)&disambiguation2, (void*)&n3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("translate", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3390,9 +4364,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3412,9 +4386,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3434,20 +4408,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3467,20 +4441,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3500,20 +4474,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3533,20 +4507,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QVariant&" , "const QVariant&" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)&from0, (void*)&to1, (void*)&progress2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)&from0, (void*)&to1, (void*)&progress2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("interpolated", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3566,9 +4540,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3588,9 +4562,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3610,9 +4584,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3632,9 +4606,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; + void* args[2] = {nullptr, (void*)&direction0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3654,9 +4628,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3791,6 +4765,27 @@ void PythonQtWrapper_QWaitCondition::wakeOne(QWaitCondition* theWrappedObject) +QWriteLocker* PythonQtWrapper_QWriteLocker::new_QWriteLocker(QReadWriteLock* readWriteLock) +{ +return new QWriteLocker(readWriteLock); } + +QReadWriteLock* PythonQtWrapper_QWriteLocker::readWriteLock(QWriteLocker* theWrappedObject) const +{ + return ( theWrappedObject->readWriteLock()); +} + +void PythonQtWrapper_QWriteLocker::relock(QWriteLocker* theWrappedObject) +{ + ( theWrappedObject->relock()); +} + +void PythonQtWrapper_QWriteLocker::unlock(QWriteLocker* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + PythonQtShell_QXmlStreamEntityResolver::~PythonQtShell_QXmlStreamEntityResolver() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -3805,20 +4800,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&publicId0, (void*)&systemId1}; + QString returnValue{}; + void* args[3] = {nullptr, (void*)&publicId0, (void*)&systemId1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resolveEntity", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3838,20 +4833,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&name0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resolveUndeclaredEntity", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core3.h b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core3.h index a06262e55..0c700f8d6 100644 --- a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core3.h +++ b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core3.h @@ -2,6 +2,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -19,6 +22,8 @@ #include #include #include +#include +#include #include #include #include @@ -30,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -45,12 +51,177 @@ +class PythonQtShell_QState : public QState +{ +public: + PythonQtShell_QState(QState* parent = nullptr):QState(parent),_wrapper(nullptr) {}; + PythonQtShell_QState(QState::ChildMode childMode, QState* parent = nullptr):QState(childMode, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QState() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void onEntry(QEvent* event) override; +void onExit(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QState : public QState +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_onEntry(QEvent* event) { this->onEntry(event); } +inline void promoted_onExit(QEvent* event) { this->onExit(event); } +inline bool py_q_event(QEvent* e) { return QState::event(e); } +inline void py_q_onEntry(QEvent* event) { QState::onEntry(event); } +inline void py_q_onExit(QEvent* event) { QState::onExit(event); } +}; + +class PythonQtWrapper_QState : public QObject +{ Q_OBJECT +public: +public slots: +QState* new_QState(QState* parent = nullptr); +QState* new_QState(QState::ChildMode childMode, QState* parent = nullptr); +void delete_QState(QState* obj) { delete obj; } + QAbstractTransition* addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP target); + void addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP transition); + QSignalTransition* addTransition(QState* theWrappedObject, const QObject* sender, const char* signal, QAbstractState* target); + void assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value); + QState::ChildMode childMode(QState* theWrappedObject) const; + QAbstractState* errorState(QState* theWrappedObject) const; + bool py_q_event(QState* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QState*)theWrappedObject)->py_q_event(e));} + QAbstractState* initialState(QState* theWrappedObject) const; + void py_q_onEntry(QState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QState*)theWrappedObject)->py_q_onEntry(event));} + void py_q_onExit(QState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QState*)theWrappedObject)->py_q_onExit(event));} + void removeTransition(QState* theWrappedObject, PythonQtPassOwnershipToPython transition); + void setChildMode(QState* theWrappedObject, QState::ChildMode mode); + void setErrorState(QState* theWrappedObject, QAbstractState* state); + void setInitialState(QState* theWrappedObject, QAbstractState* state); + QList transitions(QState* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QStateMachine : public QStateMachine +{ +public: + PythonQtShell_QStateMachine(QObject* parent = nullptr):QStateMachine(parent),_wrapper(nullptr) {}; + PythonQtShell_QStateMachine(QState::ChildMode childMode, QObject* parent = nullptr):QStateMachine(childMode, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStateMachine() override; + +void beginMicrostep(QEvent* event) override; +void beginSelectTransitions(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void endMicrostep(QEvent* event) override; +void endSelectTransitions(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void onEntry(QEvent* event) override; +void onExit(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStateMachine : public QStateMachine +{ public: +inline void promoted_beginMicrostep(QEvent* event) { this->beginMicrostep(event); } +inline void promoted_beginSelectTransitions(QEvent* event) { this->beginSelectTransitions(event); } +inline void promoted_endMicrostep(QEvent* event) { this->endMicrostep(event); } +inline void promoted_endSelectTransitions(QEvent* event) { this->endSelectTransitions(event); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_onEntry(QEvent* event) { this->onEntry(event); } +inline void promoted_onExit(QEvent* event) { this->onExit(event); } +inline void py_q_beginMicrostep(QEvent* event) { QStateMachine::beginMicrostep(event); } +inline void py_q_beginSelectTransitions(QEvent* event) { QStateMachine::beginSelectTransitions(event); } +inline void py_q_endMicrostep(QEvent* event) { QStateMachine::endMicrostep(event); } +inline void py_q_endSelectTransitions(QEvent* event) { QStateMachine::endSelectTransitions(event); } +inline bool py_q_event(QEvent* e) { return QStateMachine::event(e); } +inline bool py_q_eventFilter(QObject* watched, QEvent* event) { return QStateMachine::eventFilter(watched, event); } +inline void py_q_onEntry(QEvent* event) { QStateMachine::onEntry(event); } +inline void py_q_onExit(QEvent* event) { QStateMachine::onExit(event); } +}; + +class PythonQtWrapper_QStateMachine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Error EventPriority ) +enum Error{ + NoError = QStateMachine::NoError, NoInitialStateError = QStateMachine::NoInitialStateError, NoDefaultStateInHistoryStateError = QStateMachine::NoDefaultStateInHistoryStateError, NoCommonAncestorForTransitionError = QStateMachine::NoCommonAncestorForTransitionError}; +enum EventPriority{ + NormalPriority = QStateMachine::NormalPriority, HighPriority = QStateMachine::HighPriority}; +public slots: +QStateMachine* new_QStateMachine(QObject* parent = nullptr); +QStateMachine* new_QStateMachine(QState::ChildMode childMode, QObject* parent = nullptr); +void delete_QStateMachine(QStateMachine* obj) { delete obj; } + void addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation); + void addState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToCPP state); + void beginMicrostep(QStateMachine* theWrappedObject, QEvent* event); + void py_q_beginMicrostep(QStateMachine* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_beginMicrostep(event));} + void beginSelectTransitions(QStateMachine* theWrappedObject, QEvent* event); + void py_q_beginSelectTransitions(QStateMachine* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_beginSelectTransitions(event));} + bool cancelDelayedEvent(QStateMachine* theWrappedObject, int id); + void clearError(QStateMachine* theWrappedObject); + QSet configuration(QStateMachine* theWrappedObject) const; + QList defaultAnimations(QStateMachine* theWrappedObject) const; + void endMicrostep(QStateMachine* theWrappedObject, QEvent* event); + void py_q_endMicrostep(QStateMachine* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_endMicrostep(event));} + void endSelectTransitions(QStateMachine* theWrappedObject, QEvent* event); + void py_q_endSelectTransitions(QStateMachine* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_endSelectTransitions(event));} + QStateMachine::Error error(QStateMachine* theWrappedObject) const; + QString errorString(QStateMachine* theWrappedObject) const; + bool py_q_event(QStateMachine* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_event(e));} + bool py_q_eventFilter(QStateMachine* theWrappedObject, QObject* watched, QEvent* event){ return (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_eventFilter(watched, event));} + QState::RestorePolicy globalRestorePolicy(QStateMachine* theWrappedObject) const; + bool isAnimated(QStateMachine* theWrappedObject) const; + bool isRunning(QStateMachine* theWrappedObject) const; + void py_q_onEntry(QStateMachine* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_onEntry(event));} + void py_q_onExit(QStateMachine* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_onExit(event));} + int postDelayedEvent(QStateMachine* theWrappedObject, QEvent* event, int delay); + void postEvent(QStateMachine* theWrappedObject, QEvent* event, QStateMachine::EventPriority priority = QStateMachine::NormalPriority); + void removeDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation); + void removeState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToPython state); + void setAnimated(QStateMachine* theWrappedObject, bool enabled); + void setGlobalRestorePolicy(QStateMachine* theWrappedObject, QState::RestorePolicy restorePolicy); +}; + + + + + +class PythonQtWrapper_QStateMachine__SignalEvent : public QObject +{ Q_OBJECT +public: +public slots: +QStateMachine::SignalEvent* new_QStateMachine__SignalEvent(QObject* sender, int signalIndex, const QList& arguments); +void delete_QStateMachine__SignalEvent(QStateMachine::SignalEvent* obj) { delete obj; } + QList arguments(QStateMachine::SignalEvent* theWrappedObject) const; + QObject* sender(QStateMachine::SignalEvent* theWrappedObject) const; + int signalIndex(QStateMachine::SignalEvent* theWrappedObject) const; +}; + + + + + class PythonQtWrapper_QStateMachine__WrappedEvent : public QObject { Q_OBJECT public: public slots: QStateMachine::WrappedEvent* new_QStateMachine__WrappedEvent(QObject* object, QEvent* event); -void delete_QStateMachine__WrappedEvent(QStateMachine::WrappedEvent* obj) { delete obj; } +void delete_QStateMachine__WrappedEvent(QStateMachine::WrappedEvent* obj) { delete obj; } QEvent* event(QStateMachine::WrappedEvent* theWrappedObject) const; QObject* object(QStateMachine::WrappedEvent* theWrappedObject) const; }; @@ -67,7 +238,7 @@ QStorageInfo* new_QStorageInfo(); QStorageInfo* new_QStorageInfo(const QDir& dir); QStorageInfo* new_QStorageInfo(const QStorageInfo& other); QStorageInfo* new_QStorageInfo(const QString& path); -void delete_QStorageInfo(QStorageInfo* obj) { delete obj; } +void delete_QStorageInfo(QStorageInfo* obj) { delete obj; } int blockSize(QStorageInfo* theWrappedObject) const; qint64 bytesAvailable(QStorageInfo* theWrappedObject) const; qint64 bytesFree(QStorageInfo* theWrappedObject) const; @@ -81,6 +252,7 @@ void delete_QStorageInfo(QStorageInfo* obj) { delete obj; } bool isValid(QStorageInfo* theWrappedObject) const; QList static_QStorageInfo_mountedVolumes(); QString name(QStorageInfo* theWrappedObject) const; + bool __ne__(QStorageInfo* theWrappedObject, const QStorageInfo& second); QStorageInfo* operator_assign(QStorageInfo* theWrappedObject, const QStorageInfo& other); bool __eq__(QStorageInfo* theWrappedObject, const QStorageInfo& second); void refresh(QStorageInfo* theWrappedObject); @@ -104,7 +276,7 @@ public slots: QStringMatcher* new_QStringMatcher(); QStringMatcher* new_QStringMatcher(const QString& pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive); QStringMatcher* new_QStringMatcher(const QStringMatcher& other); -void delete_QStringMatcher(QStringMatcher* obj) { delete obj; } +void delete_QStringMatcher(QStringMatcher* obj) { delete obj; } Qt::CaseSensitivity caseSensitivity(QStringMatcher* theWrappedObject) const; int indexIn(QStringMatcher* theWrappedObject, const QString& str, int from = 0) const; QString pattern(QStringMatcher* theWrappedObject) const; @@ -119,12 +291,12 @@ void delete_QStringMatcher(QStringMatcher* obj) { delete obj; } class PythonQtShell_QSysInfo : public QSysInfo { public: - PythonQtShell_QSysInfo():QSysInfo(),_wrapper(NULL) {}; + PythonQtShell_QSysInfo():QSysInfo(),_wrapper(nullptr) {}; ~PythonQtShell_QSysInfo(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSysInfo : public QObject @@ -137,7 +309,7 @@ enum Sizes{ WordSize = QSysInfo::WordSize}; public slots: QSysInfo* new_QSysInfo(); -void delete_QSysInfo(QSysInfo* obj) { delete obj; } +void delete_QSysInfo(QSysInfo* obj) { delete obj; } QByteArray static_QSysInfo_bootUniqueId(); QString static_QSysInfo_buildAbi(); QString static_QSysInfo_buildCpuArchitecture(); @@ -165,7 +337,7 @@ enum SystemSemaphoreError{ NoError = QSystemSemaphore::NoError, PermissionDenied = QSystemSemaphore::PermissionDenied, KeyError = QSystemSemaphore::KeyError, AlreadyExists = QSystemSemaphore::AlreadyExists, NotFound = QSystemSemaphore::NotFound, OutOfResources = QSystemSemaphore::OutOfResources, UnknownError = QSystemSemaphore::UnknownError}; public slots: QSystemSemaphore* new_QSystemSemaphore(const QString& key, int initialValue = 0, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open); -void delete_QSystemSemaphore(QSystemSemaphore* obj) { delete obj; } +void delete_QSystemSemaphore(QSystemSemaphore* obj) { delete obj; } bool acquire(QSystemSemaphore* theWrappedObject); QSystemSemaphore::SystemSemaphoreError error(QSystemSemaphore* theWrappedObject) const; QString errorString(QSystemSemaphore* theWrappedObject) const; @@ -184,7 +356,7 @@ class PythonQtWrapper_QTemporaryDir : public QObject public slots: QTemporaryDir* new_QTemporaryDir(); QTemporaryDir* new_QTemporaryDir(const QString& templateName); -void delete_QTemporaryDir(QTemporaryDir* obj) { delete obj; } +void delete_QTemporaryDir(QTemporaryDir* obj) { delete obj; } bool autoRemove(QTemporaryDir* theWrappedObject) const; QString errorString(QTemporaryDir* theWrappedObject) const; QString filePath(QTemporaryDir* theWrappedObject, const QString& fileName) const; @@ -202,42 +374,42 @@ void delete_QTemporaryDir(QTemporaryDir* obj) { delete obj; } class PythonQtShell_QTemporaryFile : public QTemporaryFile { public: - PythonQtShell_QTemporaryFile():QTemporaryFile(),_wrapper(NULL) {}; - PythonQtShell_QTemporaryFile(QObject* parent):QTemporaryFile(parent),_wrapper(NULL) {}; - PythonQtShell_QTemporaryFile(const QString& templateName):QTemporaryFile(templateName),_wrapper(NULL) {}; - PythonQtShell_QTemporaryFile(const QString& templateName, QObject* parent):QTemporaryFile(templateName, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTemporaryFile(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* event); -virtual void close(); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QString fileName() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode flags); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* event); -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTemporaryFile():QTemporaryFile(),_wrapper(nullptr) {}; + PythonQtShell_QTemporaryFile(QObject* parent):QTemporaryFile(parent),_wrapper(nullptr) {}; + PythonQtShell_QTemporaryFile(const QString& templateName):QTemporaryFile(templateName),_wrapper(nullptr) {}; + PythonQtShell_QTemporaryFile(const QString& templateName, QObject* parent):QTemporaryFile(templateName, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTemporaryFile() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString fileName() const override; +bool isSequential() const override; +bool open(QIODevice::OpenMode flags) override; +QFileDevice::Permissions permissions() const override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool resize(qint64 sz) override; +bool seek(qint64 offset) override; +bool setPermissions(QFileDevice::Permissions permissionSpec) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTemporaryFile : public QTemporaryFile @@ -255,7 +427,7 @@ QTemporaryFile* new_QTemporaryFile(); QTemporaryFile* new_QTemporaryFile(QObject* parent); QTemporaryFile* new_QTemporaryFile(const QString& templateName); QTemporaryFile* new_QTemporaryFile(const QString& templateName, QObject* parent); -void delete_QTemporaryFile(QTemporaryFile* obj) { delete obj; } +void delete_QTemporaryFile(QTemporaryFile* obj) { delete obj; } bool autoRemove(QTemporaryFile* theWrappedObject) const; QTemporaryFile* static_QTemporaryFile_createLocalFile(QFile& file); QTemporaryFile* static_QTemporaryFile_createLocalFile(const QString& fileName); @@ -289,7 +461,7 @@ public slots: QTextBoundaryFinder* new_QTextBoundaryFinder(); QTextBoundaryFinder* new_QTextBoundaryFinder(QTextBoundaryFinder::BoundaryType type, const QString& string); QTextBoundaryFinder* new_QTextBoundaryFinder(const QTextBoundaryFinder& other); -void delete_QTextBoundaryFinder(QTextBoundaryFinder* obj) { delete obj; } +void delete_QTextBoundaryFinder(QTextBoundaryFinder* obj) { delete obj; } QTextBoundaryFinder::BoundaryReasons boundaryReasons(QTextBoundaryFinder* theWrappedObject) const; bool isAtBoundary(QTextBoundaryFinder* theWrappedObject) const; bool isValid(QTextBoundaryFinder* theWrappedObject) const; @@ -311,17 +483,17 @@ void delete_QTextBoundaryFinder(QTextBoundaryFinder* obj) { delete obj; } class PythonQtShell_QTextCodec : public QTextCodec { public: - PythonQtShell_QTextCodec():QTextCodec(),_wrapper(NULL) {}; + PythonQtShell_QTextCodec():QTextCodec(),_wrapper(nullptr) {}; - ~PythonQtShell_QTextCodec(); + ~PythonQtShell_QTextCodec() override; -virtual QList aliases() const; -virtual QByteArray convertFromUnicode(const QChar* in, int length, QTextCodec::ConverterState* state) const; -virtual QString convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const; -virtual int mibEnum() const; -virtual QByteArray name() const; +QList aliases() const override; +QByteArray convertFromUnicode(const QChar* in, int length, QTextCodec::ConverterState* state) const override; +QString convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const override; +int mibEnum() const override; +QByteArray name() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextCodec : public QTextCodec @@ -384,7 +556,7 @@ class PythonQtWrapper_QTextDecoder : public QObject public slots: QTextDecoder* new_QTextDecoder(const QTextCodec* codec); QTextDecoder* new_QTextDecoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags); -void delete_QTextDecoder(QTextDecoder* obj) { delete obj; } +void delete_QTextDecoder(QTextDecoder* obj) { delete obj; } bool hasFailure(QTextDecoder* theWrappedObject) const; QString toUnicode(QTextDecoder* theWrappedObject, const QByteArray& ba); }; @@ -399,7 +571,7 @@ class PythonQtWrapper_QTextEncoder : public QObject public slots: QTextEncoder* new_QTextEncoder(const QTextCodec* codec); QTextEncoder* new_QTextEncoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags); -void delete_QTextEncoder(QTextEncoder* obj) { delete obj; } +void delete_QTextEncoder(QTextEncoder* obj) { delete obj; } QByteArray fromUnicode(QTextEncoder* theWrappedObject, const QString& str); bool hasFailure(QTextEncoder* theWrappedObject) const; }; @@ -411,14 +583,14 @@ void delete_QTextEncoder(QTextEncoder* obj) { delete obj; } class PythonQtShell_QTextStream : public QTextStream { public: - PythonQtShell_QTextStream():QTextStream(),_wrapper(NULL) {}; - PythonQtShell_QTextStream(QIODevice* device):QTextStream(device),_wrapper(NULL) {}; - PythonQtShell_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode = QIODevice::ReadOnly):QTextStream(array, openMode),_wrapper(NULL) {}; + PythonQtShell_QTextStream():QTextStream(),_wrapper(nullptr) {}; + PythonQtShell_QTextStream(QIODevice* device):QTextStream(device),_wrapper(nullptr) {}; + PythonQtShell_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode = QIODevice::ReadOnly):QTextStream(array, openMode),_wrapper(nullptr) {}; - ~PythonQtShell_QTextStream(); + ~PythonQtShell_QTextStream() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextStream : public QObject @@ -439,7 +611,7 @@ public slots: QTextStream* new_QTextStream(); QTextStream* new_QTextStream(QIODevice* device); QTextStream* new_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode = QIODevice::ReadOnly); -void delete_QTextStream(QTextStream* obj) { delete obj; } +void delete_QTextStream(QTextStream* obj) { delete obj; } bool atEnd(QTextStream* theWrappedObject) const; bool autoDetectUnicode(QTextStream* theWrappedObject) const; QTextCodec* codec(QTextStream* theWrappedObject) const; @@ -498,22 +670,85 @@ void delete_QTextStream(QTextStream* obj) { delete obj; } +class PythonQtShell_QThread : public QThread +{ +public: + PythonQtShell_QThread(QObject* parent = nullptr):QThread(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QThread() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void run() override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QThread : public QThread +{ public: +inline int promoted_exec() { return this->exec(); } +inline void promoted_run() { this->run(); } +static inline void promoted_setTerminationEnabled(bool enabled = true) { setTerminationEnabled(enabled); } +inline bool py_q_event(QEvent* event) { return QThread::event(event); } +inline void py_q_run() { QThread::run(); } +}; + +class PythonQtWrapper_QThread : public QObject +{ Q_OBJECT +public: +public slots: +QThread* new_QThread(QObject* parent = nullptr); +void delete_QThread(QThread* obj) { delete obj; } + QThread* static_QThread_currentThread(); + Qt::HANDLE static_QThread_currentThreadId(); + bool py_q_event(QThread* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QThread*)theWrappedObject)->py_q_event(event));} + QAbstractEventDispatcher* eventDispatcher(QThread* theWrappedObject) const; + int exec(QThread* theWrappedObject); + void exit(QThread* theWrappedObject, int retcode = 0); + int static_QThread_idealThreadCount(); + bool isFinished(QThread* theWrappedObject) const; + bool isInterruptionRequested(QThread* theWrappedObject) const; + bool isRunning(QThread* theWrappedObject) const; + int loopLevel(QThread* theWrappedObject) const; + void static_QThread_msleep(unsigned long arg__1); + void requestInterruption(QThread* theWrappedObject); + void run(QThread* theWrappedObject); + void py_q_run(QThread* theWrappedObject){ (((PythonQtPublicPromoter_QThread*)theWrappedObject)->py_q_run());} + void setEventDispatcher(QThread* theWrappedObject, QAbstractEventDispatcher* eventDispatcher); + void setStackSize(QThread* theWrappedObject, uint stackSize); + void static_QThread_setTerminationEnabled(bool enabled = true); + void static_QThread_sleep(unsigned long arg__1); + uint stackSize(QThread* theWrappedObject) const; + void static_QThread_usleep(unsigned long arg__1); + bool wait(QThread* theWrappedObject, unsigned long time = ULONG_MAX); + void static_QThread_yieldCurrentThread(); +}; + + + + + class PythonQtShell_QThreadPool : public QThreadPool { public: - PythonQtShell_QThreadPool(QObject* parent = nullptr):QThreadPool(parent),_wrapper(NULL) {}; + PythonQtShell_QThreadPool(QObject* parent = nullptr):QThreadPool(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QThreadPool(); + ~PythonQtShell_QThreadPool() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QThreadPool : public QObject @@ -521,7 +756,7 @@ class PythonQtWrapper_QThreadPool : public QObject public: public slots: QThreadPool* new_QThreadPool(QObject* parent = nullptr); -void delete_QThreadPool(QThreadPool* obj) { delete obj; } +void delete_QThreadPool(QThreadPool* obj) { delete obj; } int activeThreadCount(QThreadPool* theWrappedObject) const; void cancel(QThreadPool* theWrappedObject, QRunnable* runnable); void clear(QThreadPool* theWrappedObject); @@ -547,20 +782,20 @@ void delete_QThreadPool(QThreadPool* obj) { delete obj; } class PythonQtShell_QTimeLine : public QTimeLine { public: - PythonQtShell_QTimeLine(int duration = 1000, QObject* parent = nullptr):QTimeLine(duration, parent),_wrapper(NULL) {}; + PythonQtShell_QTimeLine(int duration = 1000, QObject* parent = nullptr):QTimeLine(duration, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QTimeLine(); + ~PythonQtShell_QTimeLine() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual qreal valueForTime(int msec) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +qreal valueForTime(int msec) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTimeLine : public QTimeLine @@ -582,7 +817,7 @@ enum State{ NotRunning = QTimeLine::NotRunning, Paused = QTimeLine::Paused, Running = QTimeLine::Running}; public slots: QTimeLine* new_QTimeLine(int duration = 1000, QObject* parent = nullptr); -void delete_QTimeLine(QTimeLine* obj) { delete obj; } +void delete_QTimeLine(QTimeLine* obj) { delete obj; } int currentFrame(QTimeLine* theWrappedObject) const; int currentTime(QTimeLine* theWrappedObject) const; qreal currentValue(QTimeLine* theWrappedObject) const; @@ -628,7 +863,7 @@ QTimeZone* new_QTimeZone(const QByteArray& ianaId); QTimeZone* new_QTimeZone(const QByteArray& zoneId, int offsetSeconds, const QString& name, const QString& abbreviation, QLocale::Country country = QLocale::AnyCountry, const QString& comment = QString()); QTimeZone* new_QTimeZone(const QTimeZone& other); QTimeZone* new_QTimeZone(int offsetSeconds); -void delete_QTimeZone(QTimeZone* obj) { delete obj; } +void delete_QTimeZone(QTimeZone* obj) { delete obj; } QString abbreviation(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const; QList static_QTimeZone_availableTimeZoneIds(); QList static_QTimeZone_availableTimeZoneIds(QLocale::Country country); @@ -671,19 +906,19 @@ void delete_QTimeZone(QTimeZone* obj) { delete obj; } class PythonQtShell_QTimer : public QTimer { public: - PythonQtShell_QTimer(QObject* parent = nullptr):QTimer(parent),_wrapper(NULL) {}; + PythonQtShell_QTimer(QObject* parent = nullptr):QTimer(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QTimer(); + ~PythonQtShell_QTimer() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTimer : public QTimer @@ -697,7 +932,7 @@ class PythonQtWrapper_QTimer : public QObject public: public slots: QTimer* new_QTimer(QObject* parent = nullptr); -void delete_QTimer(QTimer* obj) { delete obj; } +void delete_QTimer(QTimer* obj) { delete obj; } int interval(QTimer* theWrappedObject) const; bool isActive(QTimer* theWrappedObject) const; bool isSingleShot(QTimer* theWrappedObject) const; @@ -719,12 +954,12 @@ void delete_QTimer(QTimer* obj) { delete obj; } class PythonQtShell_QTimerEvent : public QTimerEvent { public: - PythonQtShell_QTimerEvent(int timerId):QTimerEvent(timerId),_wrapper(NULL) {}; + PythonQtShell_QTimerEvent(int timerId):QTimerEvent(timerId),_wrapper(nullptr) {}; - ~PythonQtShell_QTimerEvent(); + ~PythonQtShell_QTimerEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTimerEvent : public QObject @@ -732,7 +967,7 @@ class PythonQtWrapper_QTimerEvent : public QObject public: public slots: QTimerEvent* new_QTimerEvent(int timerId); -void delete_QTimerEvent(QTimerEvent* obj) { delete obj; } +void delete_QTimerEvent(QTimerEvent* obj) { delete obj; } int timerId(QTimerEvent* theWrappedObject) const; }; @@ -743,21 +978,21 @@ void delete_QTimerEvent(QTimerEvent* obj) { delete obj; } class PythonQtShell_QTranslator : public QTranslator { public: - PythonQtShell_QTranslator(QObject* parent = nullptr):QTranslator(parent),_wrapper(NULL) {}; + PythonQtShell_QTranslator(QObject* parent = nullptr):QTranslator(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QTranslator(); + ~PythonQtShell_QTranslator() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isEmpty() const; -virtual void timerEvent(QTimerEvent* event); -virtual QString translate(const char* context, const char* sourceText, const char* disambiguation = nullptr, int n = -1) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isEmpty() const override; +void timerEvent(QTimerEvent* event) override; +QString translate(const char* context, const char* sourceText, const char* disambiguation = nullptr, int n = -1) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTranslator : public QTranslator @@ -771,7 +1006,7 @@ class PythonQtWrapper_QTranslator : public QObject public: public slots: QTranslator* new_QTranslator(QObject* parent = nullptr); -void delete_QTranslator(QTranslator* obj) { delete obj; } +void delete_QTranslator(QTranslator* obj) { delete obj; } bool isEmpty(QTranslator* theWrappedObject) const; bool py_q_isEmpty(QTranslator* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTranslator*)theWrappedObject)->py_q_isEmpty());} bool load(QTranslator* theWrappedObject, const QLocale& locale, const QString& filename, const QString& prefix = QString(), const QString& directory = QString(), const QString& suffix = QString()); @@ -794,7 +1029,7 @@ QUrlQuery* new_QUrlQuery(); QUrlQuery* new_QUrlQuery(const QString& queryString); QUrlQuery* new_QUrlQuery(const QUrl& url); QUrlQuery* new_QUrlQuery(const QUrlQuery& other); -void delete_QUrlQuery(QUrlQuery* obj) { delete obj; } +void delete_QUrlQuery(QUrlQuery* obj) { delete obj; } void addQueryItem(QUrlQuery* theWrappedObject, const QString& key, const QString& value); QStringList allQueryItemValues(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; void clear(QUrlQuery* theWrappedObject); @@ -828,15 +1063,15 @@ void delete_QUrlQuery(QUrlQuery* obj) { delete obj; } class PythonQtShell_QUuid : public QUuid { public: - PythonQtShell_QUuid():QUuid(),_wrapper(NULL) {}; - PythonQtShell_QUuid(const QByteArray& arg__1):QUuid(arg__1),_wrapper(NULL) {}; - PythonQtShell_QUuid(const QString& arg__1):QUuid(arg__1),_wrapper(NULL) {}; - PythonQtShell_QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8):QUuid(l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8),_wrapper(NULL) {}; + PythonQtShell_QUuid():QUuid(),_wrapper(nullptr) {}; + PythonQtShell_QUuid(const QByteArray& arg__1):QUuid(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QUuid(const QString& arg__1):QUuid(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8):QUuid(l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8),_wrapper(nullptr) {}; ~PythonQtShell_QUuid(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QUuid : public QObject @@ -858,7 +1093,7 @@ QUuid* new_QUuid(const QUuid& other) { PythonQtShell_QUuid* a = new PythonQtShell_QUuid(); *((QUuid*)a) = other; return a; } -void delete_QUuid(QUuid* obj) { delete obj; } +void delete_QUuid(QUuid* obj) { delete obj; } QUuid static_QUuid_createUuid(); QUuid static_QUuid_createUuidV3(const QUuid& ns, const QByteArray& baseData); QUuid static_QUuid_createUuidV3(const QUuid& ns, const QString& baseData); @@ -899,25 +1134,25 @@ ushort py_get_data3(QUuid* theWrappedObject){ return theWrappedObject->data3; } class PythonQtShell_QVariantAnimation : public QVariantAnimation { public: - PythonQtShell_QVariantAnimation(QObject* parent = nullptr):QVariantAnimation(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QVariantAnimation(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual int duration() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QVariant interpolated(const QVariant& from, const QVariant& to, qreal progress) const; -virtual void timerEvent(QTimerEvent* event); -virtual void updateCurrentTime(int arg__1); -virtual void updateCurrentValue(const QVariant& value); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QVariantAnimation(QObject* parent = nullptr):QVariantAnimation(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVariantAnimation() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant interpolated(const QVariant& from, const QVariant& to, qreal progress) const override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int arg__1) override; +void updateCurrentValue(const QVariant& value) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVariantAnimation : public QVariantAnimation @@ -940,7 +1175,7 @@ class PythonQtWrapper_QVariantAnimation : public QObject public: public slots: QVariantAnimation* new_QVariantAnimation(QObject* parent = nullptr); -void delete_QVariantAnimation(QVariantAnimation* obj) { delete obj; } +void delete_QVariantAnimation(QVariantAnimation* obj) { delete obj; } QVariant currentValue(QVariantAnimation* theWrappedObject) const; int py_q_duration(QVariantAnimation* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->py_q_duration());} QEasingCurve easingCurve(QVariantAnimation* theWrappedObject) const; @@ -972,7 +1207,7 @@ class PythonQtWrapper_QWaitCondition : public QObject public: public slots: QWaitCondition* new_QWaitCondition(); -void delete_QWaitCondition(QWaitCondition* obj) { delete obj; } +void delete_QWaitCondition(QWaitCondition* obj) { delete obj; } void notify_all(QWaitCondition* theWrappedObject); void notify_one(QWaitCondition* theWrappedObject); bool wait(QWaitCondition* theWrappedObject, QMutex* lockedMutex, unsigned long time = ULONG_MAX); @@ -985,17 +1220,36 @@ void delete_QWaitCondition(QWaitCondition* obj) { delete obj; } +class PythonQtWrapper_QWriteLocker : public QObject +{ Q_OBJECT +public: +public slots: +QWriteLocker* new_QWriteLocker(QReadWriteLock* readWriteLock); +void delete_QWriteLocker(QWriteLocker* obj) { delete obj; } + QReadWriteLock* readWriteLock(QWriteLocker* theWrappedObject) const; + void relock(QWriteLocker* theWrappedObject); + void unlock(QWriteLocker* theWrappedObject); + + void __enter__(QWriteLocker* self) {} + void __exit__(QWriteLocker* self, PyObject* type, PyObject* value, PyObject* traceback) { self->unlock(); } + +}; + + + + + class PythonQtShell_QXmlStreamEntityResolver : public QXmlStreamEntityResolver { public: - PythonQtShell_QXmlStreamEntityResolver():QXmlStreamEntityResolver(),_wrapper(NULL) {}; + PythonQtShell_QXmlStreamEntityResolver():QXmlStreamEntityResolver(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlStreamEntityResolver(); + ~PythonQtShell_QXmlStreamEntityResolver() override; -virtual QString resolveEntity(const QString& publicId, const QString& systemId); -virtual QString resolveUndeclaredEntity(const QString& name); +QString resolveEntity(const QString& publicId, const QString& systemId) override; +QString resolveUndeclaredEntity(const QString& name) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlStreamEntityResolver : public QXmlStreamEntityResolver @@ -1009,7 +1263,7 @@ class PythonQtWrapper_QXmlStreamEntityResolver : public QObject public: public slots: QXmlStreamEntityResolver* new_QXmlStreamEntityResolver(); -void delete_QXmlStreamEntityResolver(QXmlStreamEntityResolver* obj) { delete obj; } +void delete_QXmlStreamEntityResolver(QXmlStreamEntityResolver* obj) { delete obj; } QString resolveEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId); QString py_q_resolveEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId){ return (((PythonQtPublicPromoter_QXmlStreamEntityResolver*)theWrappedObject)->py_q_resolveEntity(publicId, systemId));} QString resolveUndeclaredEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& name); diff --git a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp index f8345da3e..6dbbd1e57 100644 --- a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp +++ b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp @@ -7,7 +7,7 @@ static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) { - Q_ASSERT(ptr != 0); + Q_ASSERT(ptr != nullptr); QEvent *object = (QEvent *)ptr; if (object->type() == QEvent::ApplicationStateChange) { *class_name = "QApplicationStateChangeEvent"; @@ -41,7 +41,7 @@ static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) *class_name = "QTimerEvent"; return (QTimerEvent*)object; } - return NULL; + return nullptr; } @@ -52,112 +52,117 @@ PythonQt::priv()->registerClass(&QAbstractListModel::staticMetaObject, "QtCore", PythonQt::priv()->registerClass(&QAbstractState::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAbstractTransition::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAnimationGroup::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QApplicationStateChangeEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QApplicationStateChangeEvent", "QEvent", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QBasicMutex", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QBasicTimer", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QBasicTimer", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QBuffer::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QByteArrayMatcher", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QByteArrayMatcher", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QChildEvent", "QEvent", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QCollator", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QCollatorSortKey", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QCommandLineOption", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QCommandLineParser", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QCoreApplication::staticMetaObject, "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QCryptographicHash", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDataStream", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDeadlineTimer", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceSubtract); -PythonQt::priv()->registerCPPClass("QDeferredDeleteEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDir", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDirIterator", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDynamicPropertyChangeEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QEasingCurve", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QElapsedTimer", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCollator", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QCollatorSortKey", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCommandLineOption", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QCommandLineParser", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QCoreApplication::staticMetaObject, "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QCryptographicHash", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDataStream", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDeadlineTimer", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceSubtract); +PythonQt::priv()->registerCPPClass("QDeferredDeleteEvent", "QEvent", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDir", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDirIterator", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDynamicPropertyChangeEvent", "QEvent", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QEasingCurve", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QElapsedTimer", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QEvent", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QEventLoop::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QEventTransition::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QFactoryInterface", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QFile::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QFileDevice::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QFileInfo", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QFileInfo", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QFileSelector::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QFileSystemWatcher::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QFinalState::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QHistoryState::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QIODevice::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QIdentityProxyModel::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QJsonArray", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QJsonArray", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QJsonDocument", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QJsonObject", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QJsonObject", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QJsonParseError", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QJsonValue", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QJsonValue", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QLibrary::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QLibraryInfo", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QLockFile", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMarginsF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QMessageAuthenticationCode", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QLibraryInfo", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QLockFile", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QLoggingCategory", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QMarginsF", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QMessageAuthenticationCode", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QMessageLogContext", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMessageLogger", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMetaClassInfo", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMetaEnum", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QMetaMethod", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QMetaProperty", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QMetaType", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QMessageLogger", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QMetaClassInfo", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QMetaEnum", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QMetaMethod", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMetaProperty", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QMetaType", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QMimeData::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMimeDatabase", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMimeType", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QModelIndex", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QMutex", "QBasicMutex", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QMimeDatabase", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QMimeType", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QModelIndex", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMutex", "QBasicMutex", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QMutexLocker", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_EnterExit); PythonQt::priv()->registerClass(&QObject::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QOperatingSystemVersion", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QParallelAnimationGroup::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QPauseAnimation::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QPersistentModelIndex", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPersistentModelIndex", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QProcess::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QProcessEnvironment", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QProcessEnvironment", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QPropertyAnimation::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QRandomGenerator", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QRandomGenerator64", "QRandomGenerator", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QReadWriteLock", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QRegularExpression", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QRegularExpressionMatch", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QRegularExpressionMatchIterator", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QRandomGenerator", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QRandomGenerator64", "QRandomGenerator", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QReadLocker", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_EnterExit); +PythonQt::priv()->registerCPPClass("QReadWriteLock", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QRegularExpression", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QRegularExpressionMatch", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QRegularExpressionMatchIterator", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QResource", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QRunnable", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSaveFile::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSemaphore", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QSemaphore", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QSequentialAnimationGroup::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSettings::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSharedMemory::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSignalBlocker", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QSignalBlocker", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QSignalMapper::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSignalTransition::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSocketNotifier::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStandardPaths", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QStandardPaths", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QState::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QStateMachine::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStateMachine::SignalEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QStateMachine::WrappedEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QStorageInfo", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QStringMatcher", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QStateMachine::SignalEvent", "QEvent", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QStateMachine::WrappedEvent", "QEvent", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QStorageInfo", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QStringMatcher", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QSysInfo", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSystemSemaphore", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QTemporaryDir", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QSystemSemaphore", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QTemporaryDir", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QTemporaryFile::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextBoundaryFinder", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QTextBoundaryFinder", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QTextCodec", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextDecoder", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QTextEncoder", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextDecoder", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QTextEncoder", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QTextStream", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QThread::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QThreadPool::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTimeLine::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTimeZone", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTimeZone", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QTimer::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTimerEvent", "QEvent", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTranslator::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QUrlQuery", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QUrlQuery", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QUuid", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QVariantAnimation::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QWaitCondition", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QWaitCondition", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QWriteLocker", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_EnterExit); PythonQt::priv()->registerCPPClass("QXmlStreamEntityResolver", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent); diff --git a/generated_cpp_511/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp b/generated_cpp_511/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp index d08ba4c63..86fd246a3 100644 --- a/generated_cpp_511/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp +++ b/generated_cpp_511/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp @@ -455,6 +455,11 @@ QByteArray PythonQtWrapper_QByteArray::static_QByteArray_number(qlonglong arg_ return (QByteArray::number(arg__1, base)); } +bool PythonQtWrapper_QByteArray::__ne__(QByteArray* theWrappedObject, const QByteArray& a2) +{ + return ( (*theWrappedObject)!= a2); +} + const QByteArray PythonQtWrapper_QByteArray::__add__(QByteArray* theWrappedObject, char a2) { return ( (*theWrappedObject)+ a2); @@ -2172,6 +2177,11 @@ int PythonQtWrapper_QPoint::manhattanLength(QPoint* theWrappedObject) const return ( theWrappedObject->manhattanLength()); } +bool PythonQtWrapper_QPoint::__ne__(QPoint* theWrappedObject, const QPoint& p2) +{ + return ( (*theWrappedObject)!= p2); +} + QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, const QMatrix& m) { return ( (*theWrappedObject)* m); @@ -2318,6 +2328,11 @@ qreal PythonQtWrapper_QPointF::manhattanLength(QPointF* theWrappedObject) const return ( theWrappedObject->manhattanLength()); } +bool PythonQtWrapper_QPointF::__ne__(QPointF* theWrappedObject, const QPointF& p2) +{ + return ( (*theWrappedObject)!= p2); +} + QPointF PythonQtWrapper_QPointF::__mul__(QPointF* theWrappedObject, const QMatrix& m) { return ( (*theWrappedObject)* m); @@ -2593,6 +2608,11 @@ QRect PythonQtWrapper_QRect::normalized(QRect* theWrappedObject) const return ( theWrappedObject->normalized()); } +bool PythonQtWrapper_QRect::__ne__(QRect* theWrappedObject, const QRect& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + QRect PythonQtWrapper_QRect::__and__(QRect* theWrappedObject, const QRect& r) const { return ( (*theWrappedObject)& r); @@ -2972,6 +2992,11 @@ QRectF PythonQtWrapper_QRectF::normalized(QRectF* theWrappedObject) const return ( theWrappedObject->normalized()); } +bool PythonQtWrapper_QRectF::__ne__(QRectF* theWrappedObject, const QRectF& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + QRectF PythonQtWrapper_QRectF::__and__(QRectF* theWrappedObject, const QRectF& r) const { return ( (*theWrappedObject)& r); @@ -3375,6 +3400,11 @@ bool PythonQtWrapper_QSize::isValid(QSize* theWrappedObject) const return ( theWrappedObject->isValid()); } +bool PythonQtWrapper_QSize::__ne__(QSize* theWrappedObject, const QSize& s2) +{ + return ( (*theWrappedObject)!= s2); +} + const QSize PythonQtWrapper_QSize::__mul__(QSize* theWrappedObject, qreal c) { return ( (*theWrappedObject)* c); @@ -3526,6 +3556,11 @@ bool PythonQtWrapper_QSizeF::isValid(QSizeF* theWrappedObject) const return ( theWrappedObject->isValid()); } +bool PythonQtWrapper_QSizeF::__ne__(QSizeF* theWrappedObject, const QSizeF& s2) +{ + return ( (*theWrappedObject)!= s2); +} + const QSizeF PythonQtWrapper_QSizeF::__mul__(QSizeF* theWrappedObject, qreal c) { return ( (*theWrappedObject)* c); @@ -4111,6 +4146,16 @@ QTextCodec* PythonQtWrapper_Qt::static_Qt_codecForHtml(const QByteArray& ba) return (Qt::codecForHtml(ba)); } +QTextCodec* PythonQtWrapper_Qt::static_Qt_codecForHtml(const QByteArray& ba) +{ + return (Qt::codecForHtml(ba)); +} + +QString PythonQtWrapper_Qt::static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode) +{ + return (Qt::convertFromPlainText(plain, mode)); +} + QString PythonQtWrapper_Qt::static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode) { return (Qt::convertFromPlainText(plain, mode)); @@ -4121,4 +4166,9 @@ bool PythonQtWrapper_Qt::static_Qt_mightBeRichText(const QString& arg__1) return (Qt::mightBeRichText(arg__1)); } +bool PythonQtWrapper_Qt::static_Qt_mightBeRichText(const QString& arg__1) +{ + return (Qt::mightBeRichText(arg__1)); +} + diff --git a/generated_cpp_511/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h b/generated_cpp_511/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h index 63bc331ca..5a2715a4b 100644 --- a/generated_cpp_511/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h +++ b/generated_cpp_511/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h @@ -35,7 +35,7 @@ public slots: QBitArray* new_QBitArray(); QBitArray* new_QBitArray(const QBitArray& other); QBitArray* new_QBitArray(int size, bool val = false); -void delete_QBitArray(QBitArray* obj) { delete obj; } +void delete_QBitArray(QBitArray* obj) { delete obj; } bool at(QBitArray* theWrappedObject, int i) const; const char* bits(QBitArray* theWrappedObject) const; void clear(QBitArray* theWrappedObject); @@ -86,7 +86,7 @@ public slots: QByteArray* new_QByteArray(); QByteArray* new_QByteArray(const QByteArray& arg__1); QByteArray* new_QByteArray(int size, char c); -void delete_QByteArray(QByteArray* obj) { delete obj; } +void delete_QByteArray(QByteArray* obj) { delete obj; } QByteArray* append(QByteArray* theWrappedObject, char c); QByteArray* append(QByteArray* theWrappedObject, const QByteArray& a); QByteArray* append(QByteArray* theWrappedObject, const QString& s); @@ -136,6 +136,7 @@ void delete_QByteArray(QByteArray* obj) { delete obj; } QByteArray static_QByteArray_number(double arg__1, char f = 'g', int prec = 6); QByteArray static_QByteArray_number(int arg__1, int base = 10); QByteArray static_QByteArray_number(qlonglong arg__1, int base = 10); + bool __ne__(QByteArray* theWrappedObject, const QByteArray& a2); const QByteArray __add__(QByteArray* theWrappedObject, char a2); const QByteArray __add__(QByteArray* theWrappedObject, const QByteArray& a2); const QString __add__(QByteArray* theWrappedObject, const QString& s); @@ -226,7 +227,7 @@ QDate* new_QDate(const QDate& other) { QDate* a = new QDate(); *((QDate*)a) = other; return a; } -void delete_QDate(QDate* obj) { delete obj; } +void delete_QDate(QDate* obj) { delete obj; } QDate addDays(QDate* theWrappedObject, qint64 days) const; QDate addMonths(QDate* theWrappedObject, int months) const; QDate addYears(QDate* theWrappedObject, int years) const; @@ -284,7 +285,7 @@ QDateTime* new_QDateTime(const QDate& arg__1, const QTime& arg__2, Qt::TimeSpe QDateTime* new_QDateTime(const QDate& date, const QTime& time, Qt::TimeSpec spec, int offsetSeconds); QDateTime* new_QDateTime(const QDate& date, const QTime& time, const QTimeZone& timeZone); QDateTime* new_QDateTime(const QDateTime& other); -void delete_QDateTime(QDateTime* obj) { delete obj; } +void delete_QDateTime(QDateTime* obj) { delete obj; } QDateTime addDays(QDateTime* theWrappedObject, qint64 days) const; QDateTime addMSecs(QDateTime* theWrappedObject, qint64 msecs) const; QDateTime addMonths(QDateTime* theWrappedObject, int months) const; @@ -364,7 +365,7 @@ QLine* new_QLine(const QLine& other) { QLine* a = new QLine(); *((QLine*)a) = other; return a; } -void delete_QLine(QLine* obj) { delete obj; } +void delete_QLine(QLine* obj) { delete obj; } QPoint center(QLine* theWrappedObject) const; int dx(QLine* theWrappedObject) const; int dy(QLine* theWrappedObject) const; @@ -412,7 +413,7 @@ QLineF* new_QLineF(const QLineF& other) { QLineF* a = new QLineF(); *((QLineF*)a) = other; return a; } -void delete_QLineF(QLineF* obj) { delete obj; } +void delete_QLineF(QLineF* obj) { delete obj; } qreal angle(QLineF* theWrappedObject) const; qreal angle(QLineF* theWrappedObject, const QLineF& l) const; qreal angleTo(QLineF* theWrappedObject, const QLineF& l) const; @@ -489,7 +490,7 @@ QLocale* new_QLocale(QLocale::Language language, QLocale::Country country = QL QLocale* new_QLocale(QLocale::Language language, QLocale::Script script, QLocale::Country country); QLocale* new_QLocale(const QLocale& other); QLocale* new_QLocale(const QString& name); -void delete_QLocale(QLocale* obj) { delete obj; } +void delete_QLocale(QLocale* obj) { delete obj; } QString amText(QLocale* theWrappedObject) const; QString bcp47Name(QLocale* theWrappedObject) const; QLocale static_QLocale_c(); @@ -599,10 +600,11 @@ QPoint* new_QPoint(const QPoint& other) { QPoint* a = new QPoint(); *((QPoint*)a) = other; return a; } -void delete_QPoint(QPoint* obj) { delete obj; } +void delete_QPoint(QPoint* obj) { delete obj; } int static_QPoint_dotProduct(const QPoint& p1, const QPoint& p2); bool isNull(QPoint* theWrappedObject) const; int manhattanLength(QPoint* theWrappedObject) const; + bool __ne__(QPoint* theWrappedObject, const QPoint& p2); QPoint __mul__(QPoint* theWrappedObject, const QMatrix& m); QPoint __mul__(QPoint* theWrappedObject, const QMatrix4x4& matrix); QPoint __mul__(QPoint* theWrappedObject, const QTransform& m); @@ -644,10 +646,11 @@ QPointF* new_QPointF(const QPointF& other) { QPointF* a = new QPointF(); *((QPointF*)a) = other; return a; } -void delete_QPointF(QPointF* obj) { delete obj; } +void delete_QPointF(QPointF* obj) { delete obj; } qreal static_QPointF_dotProduct(const QPointF& p1, const QPointF& p2); bool isNull(QPointF* theWrappedObject) const; qreal manhattanLength(QPointF* theWrappedObject) const; + bool __ne__(QPointF* theWrappedObject, const QPointF& p2); QPointF __mul__(QPointF* theWrappedObject, const QMatrix& m); QPointF __mul__(QPointF* theWrappedObject, const QMatrix4x4& matrix); QPointF __mul__(QPointF* theWrappedObject, const QTransform& m); @@ -687,7 +690,7 @@ QRect* new_QRect(const QRect& other) { QRect* a = new QRect(); *((QRect*)a) = other; return a; } -void delete_QRect(QRect* obj) { delete obj; } +void delete_QRect(QRect* obj) { delete obj; } void adjust(QRect* theWrappedObject, int x1, int y1, int x2, int y2); QRect adjusted(QRect* theWrappedObject, int x1, int y1, int x2, int y2) const; int bottom(QRect* theWrappedObject) const; @@ -719,6 +722,7 @@ void delete_QRect(QRect* obj) { delete obj; } void moveTopLeft(QRect* theWrappedObject, const QPoint& p); void moveTopRight(QRect* theWrappedObject, const QPoint& p); QRect normalized(QRect* theWrappedObject) const; + bool __ne__(QRect* theWrappedObject, const QRect& arg__2); QRect __and__(QRect* theWrappedObject, const QRect& r) const; QRect* __iand__(QRect* theWrappedObject, const QRect& r); QRect __add__(QRect* theWrappedObject, const QMargins& margins); @@ -780,7 +784,7 @@ QRectF* new_QRectF(const QRectF& other) { QRectF* a = new QRectF(); *((QRectF*)a) = other; return a; } -void delete_QRectF(QRectF* obj) { delete obj; } +void delete_QRectF(QRectF* obj) { delete obj; } void adjust(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2); QRectF adjusted(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) const; qreal bottom(QRectF* theWrappedObject) const; @@ -811,6 +815,7 @@ void delete_QRectF(QRectF* obj) { delete obj; } void moveTopLeft(QRectF* theWrappedObject, const QPointF& p); void moveTopRight(QRectF* theWrappedObject, const QPointF& p); QRectF normalized(QRectF* theWrappedObject) const; + bool __ne__(QRectF* theWrappedObject, const QRectF& arg__2); QRectF __and__(QRectF* theWrappedObject, const QRectF& r) const; QRectF* __iand__(QRectF* theWrappedObject, const QRectF& r); QRectF __add__(QRectF* theWrappedObject, const QMarginsF& rhs); @@ -873,7 +878,7 @@ public slots: QRegExp* new_QRegExp(); QRegExp* new_QRegExp(const QRegExp& rx); QRegExp* new_QRegExp(const QString& pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive, QRegExp::PatternSyntax syntax = QRegExp::RegExp); -void delete_QRegExp(QRegExp* obj) { delete obj; } +void delete_QRegExp(QRegExp* obj) { delete obj; } QString cap(QRegExp* theWrappedObject, int nth = 0); int captureCount(QRegExp* theWrappedObject) const; QStringList capturedTexts(QRegExp* theWrappedObject); @@ -917,13 +922,14 @@ QSize* new_QSize(const QSize& other) { QSize* a = new QSize(); *((QSize*)a) = other; return a; } -void delete_QSize(QSize* obj) { delete obj; } +void delete_QSize(QSize* obj) { delete obj; } QSize boundedTo(QSize* theWrappedObject, const QSize& arg__1) const; QSize expandedTo(QSize* theWrappedObject, const QSize& arg__1) const; int height(QSize* theWrappedObject) const; bool isEmpty(QSize* theWrappedObject) const; bool isNull(QSize* theWrappedObject) const; bool isValid(QSize* theWrappedObject) const; + bool __ne__(QSize* theWrappedObject, const QSize& s2); const QSize __mul__(QSize* theWrappedObject, qreal c); QSize* __imul__(QSize* theWrappedObject, qreal c); const QSize __add__(QSize* theWrappedObject, const QSize& s2); @@ -963,13 +969,14 @@ QSizeF* new_QSizeF(const QSizeF& other) { QSizeF* a = new QSizeF(); *((QSizeF*)a) = other; return a; } -void delete_QSizeF(QSizeF* obj) { delete obj; } +void delete_QSizeF(QSizeF* obj) { delete obj; } QSizeF boundedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const; QSizeF expandedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const; qreal height(QSizeF* theWrappedObject) const; bool isEmpty(QSizeF* theWrappedObject) const; bool isNull(QSizeF* theWrappedObject) const; bool isValid(QSizeF* theWrappedObject) const; + bool __ne__(QSizeF* theWrappedObject, const QSizeF& s2); const QSizeF __mul__(QSizeF* theWrappedObject, qreal c); QSizeF* __imul__(QSizeF* theWrappedObject, qreal c); const QSizeF __add__(QSizeF* theWrappedObject, const QSizeF& s2); @@ -1009,7 +1016,7 @@ QTime* new_QTime(const QTime& other) { QTime* a = new QTime(); *((QTime*)a) = other; return a; } -void delete_QTime(QTime* obj) { delete obj; } +void delete_QTime(QTime* obj) { delete obj; } QTime addMSecs(QTime* theWrappedObject, int ms) const; QTime addSecs(QTime* theWrappedObject, int secs) const; QTime static_QTime_currentTime(); @@ -1052,7 +1059,7 @@ class PythonQtWrapper_QUrl : public QObject { Q_OBJECT public: Q_ENUMS(ComponentFormattingOption ParsingMode UrlFormattingOption UserInputResolutionOption ) -Q_FLAGS(ComponentFormattingOptions ) +Q_FLAGS(ComponentFormattingOptions FormattingOptions ) enum ComponentFormattingOption{ PrettyDecoded = QUrl::PrettyDecoded, EncodeSpaces = QUrl::EncodeSpaces, EncodeUnicode = QUrl::EncodeUnicode, EncodeDelimiters = QUrl::EncodeDelimiters, EncodeReserved = QUrl::EncodeReserved, DecodeReserved = QUrl::DecodeReserved, FullyEncoded = QUrl::FullyEncoded, FullyDecoded = QUrl::FullyDecoded}; enum ParsingMode{ @@ -1062,11 +1069,12 @@ enum UrlFormattingOption{ enum UserInputResolutionOption{ DefaultResolution = QUrl::DefaultResolution, AssumeLocalFile = QUrl::AssumeLocalFile}; Q_DECLARE_FLAGS(ComponentFormattingOptions, ComponentFormattingOption) +Q_DECLARE_FLAGS(FormattingOptions, UrlFormattingOption) public slots: QUrl* new_QUrl(); QUrl* new_QUrl(const QString& url, QUrl::ParsingMode mode = QUrl::TolerantMode); QUrl* new_QUrl(const QUrl& copy); -void delete_QUrl(QUrl* obj) { delete obj; } +void delete_QUrl(QUrl* obj) { delete obj; } QUrl adjusted(QUrl* theWrappedObject, QUrl::FormattingOptions options) const; QString authority(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; void clear(QUrl* theWrappedObject); @@ -1328,8 +1336,11 @@ Q_DECLARE_FLAGS(WindowStates, WindowState) Q_DECLARE_FLAGS(WindowFlags, WindowType) public slots: QTextCodec* static_Qt_codecForHtml(const QByteArray& ba); + QTextCodec* static_Qt_codecForHtml(const QByteArray& ba); + QString static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode = Qt::WhiteSpacePre); QString static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode = Qt::WhiteSpacePre); bool static_Qt_mightBeRichText(const QString& arg__1); + bool static_Qt_mightBeRichText(const QString& arg__1); }; diff --git a/generated_cpp_511/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp b/generated_cpp_511/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp index f39bfa6ab..7634ff7ed 100644 --- a/generated_cpp_511/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp +++ b/generated_cpp_511/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp @@ -4,23 +4,23 @@ void PythonQt_init_QtCoreBuiltin(PyObject* module) { -PythonQt::priv()->registerCPPClass("QBitArray", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_And|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceXor|PythonQt::Type_Invert|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Xor); -PythonQt::priv()->registerCPPClass("QByteArray", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDate", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDateTime", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QLine", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QLineF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QLocale", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QPoint", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QPointF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QRect", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_And|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceSubtract|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QRectF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_And|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceSubtract|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QRegExp", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QSize", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QSizeF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QTime", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QUrl", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("Qt", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QBitArray", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_And|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceXor|PythonQt::Type_Invert|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Xor); +PythonQt::priv()->registerCPPClass("QByteArray", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDate", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDateTime", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QLine", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QLineF", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QLocale", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPoint", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QPointF", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QRect", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_And|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceSubtract|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QRectF", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_And|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceSubtract|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QRegExp", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSize", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QSizeF", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QTime", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QUrl", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("Qt", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); 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..d584ce732 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 @@ -102,6 +102,7 @@ #include #include #include +#include #include #include #include @@ -123,9 +124,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -145,9 +146,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -167,9 +168,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -189,9 +190,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -211,9 +212,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -233,9 +234,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -255,9 +256,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -277,20 +278,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -310,9 +311,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -332,9 +333,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -354,9 +355,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -376,9 +377,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -398,9 +399,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -420,20 +421,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -453,20 +454,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -486,9 +487,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -508,20 +509,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -541,9 +542,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -563,20 +564,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -596,20 +597,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -629,9 +630,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -651,20 +652,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&pos0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -684,9 +685,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -706,9 +707,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -728,20 +729,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -761,9 +762,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -783,9 +784,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -805,9 +806,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -827,20 +828,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -860,20 +861,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -893,9 +894,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -915,9 +916,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -937,9 +938,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -959,9 +960,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -981,9 +982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1003,20 +1004,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1036,9 +1037,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1058,20 +1059,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1091,9 +1092,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1113,20 +1114,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1146,9 +1147,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1168,9 +1169,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1190,20 +1191,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1223,9 +1224,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1245,20 +1246,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1278,9 +1279,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1300,9 +1301,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1322,9 +1323,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1487,9 +1488,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1509,20 +1510,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1542,20 +1543,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1575,20 +1576,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1608,20 +1609,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1641,9 +1642,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1663,9 +1664,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1685,9 +1686,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1707,9 +1708,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1729,9 +1730,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1751,20 +1752,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1784,9 +1785,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1806,9 +1807,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1828,9 +1829,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1850,9 +1851,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1872,9 +1873,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1894,9 +1895,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1916,20 +1917,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1949,20 +1950,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&item0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1982,20 +1983,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { returnValue = value1; @@ -2018,9 +2019,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2040,9 +2041,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2062,9 +2063,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2084,9 +2085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2106,9 +2107,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2128,9 +2129,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2150,20 +2151,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2183,9 +2184,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2205,20 +2206,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2238,20 +2239,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2271,9 +2272,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2293,20 +2294,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2326,20 +2327,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&extension0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2359,20 +2360,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2392,9 +2393,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2444,9 +2445,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2466,20 +2467,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QWidget* returnValue; - void* args[4] = {NULL, (void*)&parent0, (void*)&option1, (void*)&index2}; + QWidget* returnValue{}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2499,9 +2500,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2521,9 +2522,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2543,20 +2544,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2576,20 +2577,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2609,20 +2610,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2642,20 +2643,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2675,9 +2676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2697,20 +2698,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVector"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVector returnValue; - void* args[1] = {NULL}; + QVector returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); } else { returnValue = *((QVector*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2730,9 +2731,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2752,9 +2753,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&model1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&editor0, (void*)&model1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2774,20 +2775,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSize returnValue; - void* args[3] = {NULL, (void*)&option0, (void*)&index1}; + QSize returnValue{}; + void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2807,9 +2808,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2829,9 +2830,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&editor0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2924,9 +2925,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2946,9 +2947,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2968,9 +2969,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2990,9 +2991,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3012,9 +3013,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3034,9 +3035,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3056,9 +3057,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3078,9 +3079,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3100,9 +3101,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3122,9 +3123,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3144,20 +3145,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3177,9 +3178,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3199,9 +3200,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3221,9 +3222,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3243,9 +3244,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3265,9 +3266,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3287,20 +3288,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3320,9 +3321,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3342,9 +3343,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3364,20 +3365,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3397,20 +3398,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3430,9 +3431,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3452,20 +3453,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3485,9 +3486,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3507,20 +3508,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3540,20 +3541,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3573,9 +3574,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3595,20 +3596,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3628,9 +3629,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3650,9 +3651,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3672,20 +3673,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&point0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3705,9 +3706,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3727,9 +3728,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3749,20 +3750,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3782,20 +3783,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3815,9 +3816,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3837,9 +3838,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3859,9 +3860,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3881,9 +3882,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3903,20 +3904,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3936,20 +3937,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3969,9 +3970,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3991,9 +3992,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4013,9 +4014,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4035,9 +4036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4057,20 +4058,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4090,9 +4091,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4112,20 +4113,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4145,20 +4146,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4178,9 +4179,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4200,20 +4201,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4233,9 +4234,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4255,9 +4256,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4277,9 +4278,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4299,9 +4300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4321,9 +4322,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4343,9 +4344,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4365,9 +4366,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4387,20 +4388,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4420,9 +4421,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4442,20 +4443,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4475,9 +4476,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4497,9 +4498,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4519,9 +4520,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4541,9 +4542,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4563,9 +4564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4585,9 +4586,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4607,20 +4608,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4640,9 +4641,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4662,20 +4663,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4695,20 +4696,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&column0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4728,20 +4729,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&row0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4761,9 +4762,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4783,9 +4784,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4805,9 +4806,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4827,9 +4828,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4849,9 +4850,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4871,9 +4872,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4893,20 +4894,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4926,9 +4927,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4948,9 +4949,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4970,20 +4971,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5003,20 +5004,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5036,20 +5037,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5069,20 +5070,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5102,20 +5103,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5135,9 +5136,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5585,9 +5586,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5607,9 +5608,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5629,9 +5630,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5651,9 +5652,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5673,9 +5674,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5695,9 +5696,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5717,9 +5718,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5739,20 +5740,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5772,9 +5773,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5794,9 +5795,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5816,9 +5817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5838,9 +5839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5860,9 +5861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5882,9 +5883,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5904,20 +5905,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5937,20 +5938,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5970,20 +5971,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6003,9 +6004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6025,20 +6026,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6058,9 +6059,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6080,20 +6081,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6113,20 +6114,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6146,9 +6147,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6168,9 +6169,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6190,9 +6191,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6212,20 +6213,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6245,9 +6246,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6267,9 +6268,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6289,9 +6290,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6311,20 +6312,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6344,20 +6345,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6377,9 +6378,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6399,9 +6400,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6421,9 +6422,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6443,9 +6444,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6465,9 +6466,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6487,20 +6488,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6520,9 +6521,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6542,20 +6543,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6575,9 +6576,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6597,20 +6598,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6630,9 +6631,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6652,9 +6653,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6674,9 +6675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6696,20 +6697,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6729,9 +6730,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6751,20 +6752,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6784,9 +6785,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6806,9 +6807,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6828,9 +6829,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6943,20 +6944,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6976,20 +6977,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7009,20 +7010,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7042,9 +7043,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7064,20 +7065,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7097,9 +7098,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7119,20 +7120,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&proxyIndex0, (void*)&role1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&proxyIndex0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7152,20 +7153,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7185,20 +7186,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7218,20 +7219,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7251,9 +7252,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7273,20 +7274,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7306,20 +7307,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7339,20 +7340,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7372,20 +7373,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7405,20 +7406,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7438,20 +7439,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7471,20 +7472,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7504,20 +7505,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&sourceIndex0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&sourceIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7537,20 +7538,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue; - void* args[2] = {NULL, (void*)&selection0}; + QItemSelection returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); } else { returnValue = *((QItemSelection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7570,20 +7571,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue; - void* args[2] = {NULL, (void*)&selection0}; + QItemSelection returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); } else { returnValue = *((QItemSelection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7603,20 +7604,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&proxyIndex0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&proxyIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7636,20 +7637,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + QList returnValue{}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7669,20 +7670,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7702,20 +7703,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7735,20 +7736,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7768,20 +7769,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7801,20 +7802,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&child0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7834,20 +7835,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7867,20 +7868,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7900,9 +7901,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7922,20 +7923,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7955,20 +7956,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7988,20 +7989,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8021,20 +8022,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8054,20 +8055,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8087,9 +8088,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&sourceModel0}; + void* args[2] = {nullptr, (void*)&sourceModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8109,20 +8110,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8142,9 +8143,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8164,20 +8165,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8197,20 +8198,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8230,20 +8231,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8263,20 +8264,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8296,9 +8297,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8371,9 +8372,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8393,9 +8394,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8415,9 +8416,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8437,9 +8438,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8459,9 +8460,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8481,9 +8482,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8503,20 +8504,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8536,9 +8537,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8558,9 +8559,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8580,9 +8581,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8602,9 +8603,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8624,9 +8625,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8646,20 +8647,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8679,20 +8680,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8712,9 +8713,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8734,20 +8735,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8767,9 +8768,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8789,20 +8790,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8822,20 +8823,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8855,9 +8856,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8877,9 +8878,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8899,9 +8900,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8921,20 +8922,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8954,9 +8955,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8976,9 +8977,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8998,9 +8999,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9020,20 +9021,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9053,20 +9054,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9086,9 +9087,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9108,9 +9109,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9130,9 +9131,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9152,9 +9153,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9174,9 +9175,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9196,20 +9197,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9229,20 +9230,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9262,9 +9263,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9284,20 +9285,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9317,9 +9318,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9339,9 +9340,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9361,9 +9362,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9383,9 +9384,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9405,20 +9406,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9438,9 +9439,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9460,20 +9461,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9493,9 +9494,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9515,9 +9516,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9537,20 +9538,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9570,20 +9571,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9603,9 +9604,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9773,9 +9774,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9795,9 +9796,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9817,9 +9818,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9839,9 +9840,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9861,9 +9862,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9883,9 +9884,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9905,20 +9906,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9938,9 +9939,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9960,9 +9961,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9982,9 +9983,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10004,9 +10005,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10026,9 +10027,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10048,20 +10049,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10081,20 +10082,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10114,9 +10115,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10136,20 +10137,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10169,9 +10170,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10191,20 +10192,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10224,20 +10225,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10257,9 +10258,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10279,9 +10280,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10301,9 +10302,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10323,20 +10324,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10356,9 +10357,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10378,9 +10379,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10400,9 +10401,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10422,20 +10423,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10455,20 +10456,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10488,9 +10489,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10510,9 +10511,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10532,9 +10533,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10554,9 +10555,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10576,9 +10577,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10598,20 +10599,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10631,20 +10632,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10664,9 +10665,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10686,20 +10687,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10719,9 +10720,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10741,9 +10742,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10763,20 +10764,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10796,9 +10797,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10818,20 +10819,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10851,9 +10852,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&change0}; + void* args[2] = {nullptr, (void*)&change0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10873,9 +10874,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10895,9 +10896,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10917,9 +10918,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11082,9 +11083,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11104,9 +11105,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11126,9 +11127,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11148,9 +11149,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11170,9 +11171,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11192,9 +11193,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11214,9 +11215,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11236,20 +11237,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11269,9 +11270,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11291,9 +11292,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11313,9 +11314,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11335,9 +11336,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11357,9 +11358,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11379,20 +11380,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11412,20 +11413,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11445,9 +11446,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11467,9 +11468,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11489,20 +11490,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11522,9 +11523,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11544,20 +11545,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11577,20 +11578,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11610,9 +11611,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11632,9 +11633,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11654,9 +11655,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11676,20 +11677,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11709,9 +11710,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11731,9 +11732,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11753,9 +11754,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11775,20 +11776,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11808,20 +11809,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11841,9 +11842,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11863,9 +11864,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11885,9 +11886,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11907,9 +11908,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11929,9 +11930,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11951,20 +11952,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11984,20 +11985,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12017,9 +12018,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12039,20 +12040,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12072,9 +12073,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12094,9 +12095,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12116,20 +12117,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12149,9 +12150,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12171,20 +12172,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12204,9 +12205,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&steps0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12226,20 +12227,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; + QAbstractSpinBox::StepEnabled returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12259,9 +12260,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12281,9 +12282,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12303,20 +12304,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12336,9 +12337,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12541,20 +12542,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12574,20 +12575,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12607,20 +12608,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12640,9 +12641,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12662,20 +12663,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12695,9 +12696,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12717,20 +12718,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12750,20 +12751,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12783,20 +12784,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12816,20 +12817,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12849,9 +12850,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12871,20 +12872,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12904,20 +12905,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12937,20 +12938,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12970,20 +12971,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13003,20 +13004,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13036,20 +13037,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13069,20 +13070,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + QList returnValue{}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13102,20 +13103,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13135,20 +13136,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13168,20 +13169,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13201,20 +13202,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13234,20 +13235,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13267,20 +13268,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13300,9 +13301,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13322,20 +13323,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13355,20 +13356,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13388,20 +13389,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13421,20 +13422,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13454,20 +13455,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13487,20 +13488,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13520,9 +13521,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13542,20 +13543,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13575,20 +13576,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13608,20 +13609,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13641,20 +13642,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13674,9 +13675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13719,20 +13720,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&block0}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("blockBoundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13752,9 +13753,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13774,9 +13775,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13796,9 +13797,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&from0, (void*)&charsRemoved1, (void*)&charsAdded2}; + void* args[4] = {nullptr, (void*)&from0, (void*)&charsRemoved1, (void*)&charsAdded2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13818,20 +13819,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizeF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizeF returnValue; - void* args[1] = {NULL}; + QSizeF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("documentSize", methodInfo, result); } else { returnValue = *((QSizeF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13851,9 +13852,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QAbstractTextDocumentLayout::PaintContext&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&context1}; + void* args[3] = {nullptr, (void*)&painter0, (void*)&context1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13873,9 +13874,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&" , "QTextInlineObject" , "int" , "const QTextFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - void* args[6] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&object2, (void*)&posInDocument3, (void*)&format4}; + void* args[6] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&object2, (void*)&posInDocument3, (void*)&format4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13895,20 +13896,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13928,20 +13929,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13961,20 +13962,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF" , "QTextFrame*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&frame0}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&frame0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("frameBoundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13994,20 +13995,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QPointF&" , "Qt::HitTestAccuracy"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue = 0; - void* args[3] = {NULL, (void*)&point0, (void*)&accuracy1}; + int returnValue{}; + void* args[3] = {nullptr, (void*)&point0, (void*)&accuracy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitTest", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14027,20 +14028,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pageCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14060,9 +14061,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14082,9 +14083,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14104,9 +14105,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14306,9 +14307,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14328,9 +14329,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14350,20 +14351,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14383,20 +14384,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14416,9 +14417,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14737,9 +14738,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14759,9 +14760,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14781,20 +14782,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14814,20 +14815,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14847,9 +14848,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15225,9 +15226,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15247,9 +15248,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15269,20 +15270,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15302,20 +15303,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15335,9 +15336,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15357,20 +15358,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15390,20 +15391,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15423,20 +15424,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15456,20 +15457,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15489,20 +15490,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15522,20 +15523,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15555,20 +15556,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15588,9 +15589,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15610,20 +15611,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15643,20 +15644,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15676,20 +15677,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15709,20 +15710,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15742,20 +15743,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15775,20 +15776,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15808,9 +15809,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15830,20 +15831,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15853,6 +15854,39 @@ if (_wrapper) { } return QBoxLayout::sizeHint(); } +QSpacerItem* PythonQtShell_QBoxLayout::spacerItem() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("spacerItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::spacerItem(); +} QLayoutItem* PythonQtShell_QBoxLayout::takeAt(int arg__1) { if (_wrapper) { @@ -15863,20 +15897,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15896,9 +15930,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15908,6 +15942,39 @@ if (_wrapper) { } QBoxLayout::timerEvent(event0); } +QWidget* PythonQtShell_QBoxLayout::widget() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("widget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::widget(); +} QBoxLayout* PythonQtWrapper_QBoxLayout::new_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent) { return new PythonQtShell_QBoxLayout(arg__1, parent); } @@ -15960,16 +16027,6 @@ QBoxLayout::Direction PythonQtWrapper_QBoxLayout::direction(QBoxLayout* theWrap return ( theWrappedObject->direction()); } -bool PythonQtWrapper_QBoxLayout::hasHeightForWidth(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -int PythonQtWrapper_QBoxLayout::heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->heightForWidth(arg__1)); -} - void PythonQtWrapper_QBoxLayout::insertItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP arg__2) { ( theWrappedObject->insertItem(index, arg__2)); @@ -16000,11 +16057,6 @@ void PythonQtWrapper_QBoxLayout::insertWidget(QBoxLayout* theWrappedObject, int ( theWrappedObject->insertWidget(index, widget, stretch, alignment)); } -int PythonQtWrapper_QBoxLayout::minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->minimumHeightForWidth(arg__1)); -} - void PythonQtWrapper_QBoxLayout::setDirection(QBoxLayout* theWrappedObject, QBoxLayout::Direction arg__1) { ( theWrappedObject->setDirection(arg__1)); @@ -16030,11 +16082,6 @@ bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, return ( theWrappedObject->setStretchFactor(w, stretch)); } -QSize PythonQtWrapper_QBoxLayout::sizeHint(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - int PythonQtWrapper_QBoxLayout::spacing(QBoxLayout* theWrappedObject) const { return ( theWrappedObject->spacing()); @@ -16061,9 +16108,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16083,9 +16130,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16105,20 +16152,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16138,20 +16185,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16171,9 +16218,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16266,9 +16313,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16288,9 +16335,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16310,9 +16357,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16332,9 +16379,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16354,9 +16401,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16376,9 +16423,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16398,20 +16445,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16431,9 +16478,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16453,9 +16500,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16475,9 +16522,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16497,9 +16544,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16519,9 +16566,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16541,20 +16588,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16574,20 +16621,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16607,9 +16654,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16629,20 +16676,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16662,9 +16709,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16684,20 +16731,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16717,20 +16764,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16750,9 +16797,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16772,9 +16819,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16794,9 +16841,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16816,20 +16863,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16849,9 +16896,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16871,9 +16918,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16893,9 +16940,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16915,20 +16962,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16948,20 +16995,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16981,9 +17028,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17003,9 +17050,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17025,9 +17072,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17047,9 +17094,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17069,9 +17116,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17091,20 +17138,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17124,9 +17171,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QDate&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&date2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&date2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17146,20 +17193,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17179,9 +17226,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17201,20 +17248,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17234,9 +17281,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17256,9 +17303,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17278,20 +17325,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17311,9 +17358,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17333,20 +17380,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17366,9 +17413,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17388,9 +17435,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17410,9 +17457,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17610,9 +17657,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17632,9 +17679,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17654,9 +17701,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17676,9 +17723,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17698,9 +17745,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17720,9 +17767,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17742,9 +17789,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17764,20 +17811,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17797,9 +17844,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17819,9 +17866,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17841,9 +17888,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17863,9 +17910,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17885,9 +17932,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17907,20 +17954,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17940,20 +17987,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17973,9 +18020,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17995,20 +18042,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18028,9 +18075,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18050,20 +18097,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18083,20 +18130,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18116,9 +18163,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18138,20 +18185,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&pos0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18171,9 +18218,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18193,9 +18240,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18215,20 +18262,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18248,9 +18295,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18270,9 +18317,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18292,9 +18339,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18314,20 +18361,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18347,20 +18394,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18380,9 +18427,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18402,9 +18449,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18424,9 +18471,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18446,9 +18493,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18468,9 +18515,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18490,20 +18537,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18523,9 +18570,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18545,20 +18592,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18578,9 +18625,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18600,20 +18647,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18633,9 +18680,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18655,9 +18702,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18677,20 +18724,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18710,9 +18757,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18732,20 +18779,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18765,9 +18812,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18787,9 +18834,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18809,9 +18856,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18976,9 +19023,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18998,9 +19045,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19020,9 +19067,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19042,9 +19089,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19064,9 +19111,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19086,9 +19133,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19108,9 +19155,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19130,20 +19177,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19163,9 +19210,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19185,9 +19232,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19207,9 +19254,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19229,9 +19276,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19251,9 +19298,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19273,9 +19320,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19295,20 +19342,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19328,20 +19375,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19361,20 +19408,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19394,9 +19441,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19416,20 +19463,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19449,9 +19496,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19471,20 +19518,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19504,20 +19551,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19537,9 +19584,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19559,9 +19606,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19581,9 +19628,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19603,20 +19650,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19636,9 +19683,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19658,9 +19705,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19680,9 +19727,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19702,20 +19749,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19735,20 +19782,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19768,9 +19815,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19790,9 +19837,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19812,9 +19859,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19834,9 +19881,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19856,9 +19903,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19878,20 +19925,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19911,20 +19958,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19944,9 +19991,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19966,20 +20013,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19999,9 +20046,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20021,9 +20068,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20043,9 +20090,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20065,20 +20112,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20098,9 +20145,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20120,20 +20167,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20153,9 +20200,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20175,9 +20222,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20197,9 +20244,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20321,9 +20368,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20343,9 +20390,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20365,9 +20412,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20387,9 +20434,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20409,9 +20456,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20431,9 +20478,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20453,9 +20500,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20475,20 +20522,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractItemView*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAbstractItemView* returnValue; - void* args[2] = {NULL, (void*)&rootIndex0}; + QAbstractItemView* returnValue{}; + void* args[2] = {nullptr, (void*)&rootIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createColumn", methodInfo, result); } else { returnValue = *((QAbstractItemView**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20508,9 +20555,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20530,9 +20577,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20552,9 +20599,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20574,20 +20621,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20607,9 +20654,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20629,9 +20676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20651,9 +20698,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20673,9 +20720,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20695,9 +20742,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20717,20 +20764,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20750,9 +20797,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20772,9 +20819,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20794,20 +20841,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20827,20 +20874,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20860,9 +20907,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20882,20 +20929,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20915,9 +20962,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20937,20 +20984,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20970,20 +21017,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21003,9 +21050,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21025,20 +21072,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21058,9 +21105,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21080,9 +21127,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21102,20 +21149,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&point0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21135,9 +21182,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21157,9 +21204,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21179,20 +21226,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21212,20 +21259,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21245,9 +21292,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21267,9 +21314,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21289,9 +21336,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21311,9 +21358,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21333,20 +21380,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21366,20 +21413,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21399,9 +21446,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21421,9 +21468,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21443,9 +21490,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21465,9 +21512,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21487,20 +21534,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21520,9 +21567,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21542,20 +21589,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21575,20 +21622,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21608,9 +21655,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21630,20 +21677,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21663,9 +21710,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21685,9 +21732,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21707,9 +21754,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21729,9 +21776,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21751,9 +21798,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21773,9 +21820,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21795,9 +21842,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21817,20 +21864,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21850,9 +21897,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21872,20 +21919,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21905,9 +21952,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21927,9 +21974,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21949,9 +21996,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21971,9 +22018,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21993,9 +22040,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22015,9 +22062,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22037,20 +22084,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22070,9 +22117,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22092,20 +22139,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22125,20 +22172,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&column0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22158,20 +22205,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&row0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22191,9 +22238,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22213,9 +22260,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22235,9 +22282,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22257,9 +22304,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22279,9 +22326,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22301,9 +22348,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22323,20 +22370,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22356,9 +22403,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22378,9 +22425,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22400,20 +22447,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22433,20 +22480,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22466,20 +22513,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22499,20 +22546,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22532,20 +22579,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22565,9 +22612,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22650,9 +22697,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22672,9 +22719,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22694,9 +22741,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22716,9 +22763,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22738,9 +22785,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22760,9 +22807,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22782,20 +22829,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22815,9 +22862,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22837,9 +22884,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22859,9 +22906,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22881,9 +22928,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22903,9 +22950,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22925,20 +22972,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22958,20 +23005,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22991,9 +23038,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23013,20 +23060,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23046,9 +23093,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23068,20 +23115,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23101,20 +23148,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23134,9 +23181,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23156,9 +23203,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23178,9 +23225,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23200,9 +23247,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23222,20 +23269,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23255,9 +23302,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23277,9 +23324,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23299,9 +23346,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23321,20 +23368,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23354,20 +23401,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23387,9 +23434,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23409,9 +23456,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23431,9 +23478,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23453,9 +23500,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23475,9 +23522,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23497,20 +23544,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23530,20 +23577,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23563,9 +23610,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23585,20 +23632,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23618,9 +23665,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23640,9 +23687,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23662,20 +23709,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23695,9 +23742,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23717,9 +23764,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23739,20 +23786,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23772,9 +23819,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23794,9 +23841,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23816,9 +23863,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24161,9 +24208,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24183,9 +24230,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24205,9 +24252,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24227,9 +24274,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24249,9 +24296,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24271,9 +24318,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24293,9 +24340,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24315,20 +24362,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24348,9 +24395,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24370,9 +24417,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24392,9 +24439,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24414,9 +24461,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24436,9 +24483,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24458,20 +24505,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24491,20 +24538,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24524,9 +24571,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24546,20 +24593,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24579,9 +24626,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24601,20 +24648,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24634,20 +24681,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24667,9 +24714,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24689,20 +24736,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&pos0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24722,9 +24769,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24744,9 +24791,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24766,20 +24813,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24799,9 +24846,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24821,9 +24868,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24843,9 +24890,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24865,20 +24912,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24898,20 +24945,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24931,9 +24978,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24953,9 +25000,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24975,9 +25022,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24997,9 +25044,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25019,9 +25066,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25041,20 +25088,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25074,9 +25121,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25096,20 +25143,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25129,9 +25176,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25151,20 +25198,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25184,9 +25231,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25206,9 +25253,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25228,20 +25275,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25261,9 +25308,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25283,20 +25330,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25316,9 +25363,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25338,9 +25385,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25360,9 +25407,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25423,9 +25470,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25445,9 +25492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25467,9 +25514,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&cc0, (void*)&opt1, (void*)&p2, (void*)&w3}; + void* args[5] = {nullptr, (void*)&cc0, (void*)&opt1, (void*)&p2, (void*)&w3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25489,9 +25536,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&element0, (void*)&opt1, (void*)&p2, (void*)&w3}; + void* args[5] = {nullptr, (void*)&element0, (void*)&opt1, (void*)&p2, (void*)&w3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25511,9 +25558,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&alignment2, (void*)&pixmap3}; + void* args[5] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&alignment2, (void*)&pixmap3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25533,9 +25580,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); - void* args[8] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&flags2, (void*)&pal3, (void*)&enabled4, (void*)&text5, (void*)&textRole6}; + void* args[8] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&flags2, (void*)&pal3, (void*)&enabled4, (void*)&text5, (void*)&textRole6}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25555,9 +25602,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&pe0, (void*)&opt1, (void*)&p2, (void*)&w3}; + void* args[5] = {nullptr, (void*)&pe0, (void*)&opt1, (void*)&p2, (void*)&w3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25577,20 +25624,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25610,20 +25657,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25643,20 +25690,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&iconMode0, (void*)&pixmap1, (void*)&opt2}; + QPixmap returnValue{}; + void* args[4] = {nullptr, (void*)&iconMode0, (void*)&pixmap1, (void*)&opt2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); } else { returnValue = *((QPixmap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25676,20 +25723,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QStyle::SubControl returnValue; - void* args[5] = {NULL, (void*)&cc0, (void*)&opt1, (void*)&pt2, (void*)&w3}; + QStyle::SubControl returnValue{}; + void* args[5] = {nullptr, (void*)&cc0, (void*)&opt1, (void*)&pt2, (void*)&w3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); } else { returnValue = *((QStyle::SubControl*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25709,20 +25756,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r0, (void*)&flags1, (void*)&pixmap2}; + QRect returnValue{}; + void* args[4] = {nullptr, (void*)&r0, (void*)&flags1, (void*)&pixmap2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25742,20 +25789,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QSizePolicy::ControlType" , "QSizePolicy::ControlType" , "Qt::Orientation" , "const QStyleOption*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - int returnValue = 0; - void* args[6] = {NULL, (void*)&control10, (void*)&control21, (void*)&orientation2, (void*)&option3, (void*)&widget4}; + int returnValue{}; + void* args[6] = {nullptr, (void*)&control10, (void*)&control21, (void*)&orientation2, (void*)&option3, (void*)&widget4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("layoutSpacing", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25775,20 +25822,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue = 0; - void* args[4] = {NULL, (void*)&m0, (void*)&opt1, (void*)&widget2}; + int returnValue{}; + void* args[4] = {nullptr, (void*)&m0, (void*)&opt1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25808,9 +25855,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QApplication*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&app0}; + void* args[2] = {nullptr, (void*)&app0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25830,9 +25877,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPalette&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25852,9 +25899,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25874,20 +25921,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QSize returnValue; - void* args[5] = {NULL, (void*)&ct0, (void*)&opt1, (void*)&contentsSize2, (void*)&widget3}; + QSize returnValue{}; + void* args[5] = {nullptr, (void*)&ct0, (void*)&opt1, (void*)&contentsSize2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25907,20 +25954,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QIcon" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QIcon returnValue; - void* args[4] = {NULL, (void*)&standardIcon0, (void*)&opt1, (void*)&widget2}; + QIcon returnValue{}; + void* args[4] = {nullptr, (void*)&standardIcon0, (void*)&opt1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("standardIcon", methodInfo, result); } else { returnValue = *((QIcon*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25940,20 +25987,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPalette"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPalette returnValue; - void* args[1] = {NULL}; + QPalette returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); } else { returnValue = *((QPalette*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25973,20 +26020,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&sp0, (void*)&opt1, (void*)&widget2}; + QPixmap returnValue{}; + void* args[4] = {nullptr, (void*)&sp0, (void*)&opt1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); } else { returnValue = *((QPixmap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -26006,20 +26053,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - int returnValue = 0; - void* args[5] = {NULL, (void*)&sh0, (void*)&opt1, (void*)&w2, (void*)&shret3}; + int returnValue{}; + void* args[5] = {nullptr, (void*)&sh0, (void*)&opt1, (void*)&w2, (void*)&shret3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -26039,20 +26086,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QRect returnValue; - void* args[5] = {NULL, (void*)&cc0, (void*)&opt1, (void*)&sc2, (void*)&w3}; + QRect returnValue{}; + void* args[5] = {nullptr, (void*)&cc0, (void*)&opt1, (void*)&sc2, (void*)&w3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -26072,20 +26119,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r0, (void*)&opt1, (void*)&widget2}; + QRect returnValue{}; + void* args[4] = {nullptr, (void*)&r0, (void*)&opt1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -26105,9 +26152,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -26127,9 +26174,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QApplication*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&application0}; + void* args[2] = {nullptr, (void*)&application0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -26149,9 +26196,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui0.h b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui0.h index b66431c96..b16c437df 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui0.h +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui0.h @@ -101,6 +101,7 @@ #include #include #include +#include #include #include #include @@ -113,62 +114,62 @@ class PythonQtShell_QAbstractButton : public QAbstractButton { public: - PythonQtShell_QAbstractButton(QWidget* parent = nullptr):QAbstractButton(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractButton(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractButton(QWidget* parent = nullptr):QAbstractButton(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractButton() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& pos) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractButton : public QAbstractButton @@ -208,7 +209,7 @@ class PythonQtWrapper_QAbstractButton : public QObject public: public slots: QAbstractButton* new_QAbstractButton(QWidget* parent = nullptr); -void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } +void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } bool autoExclusive(QAbstractButton* theWrappedObject) const; bool autoRepeat(QAbstractButton* theWrappedObject) const; int autoRepeatDelay(QAbstractButton* theWrappedObject) const; @@ -256,47 +257,47 @@ void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } class PythonQtShell_QAbstractGraphicsShapeItem : public QAbstractGraphicsShapeItem { public: - PythonQtShell_QAbstractGraphicsShapeItem(QGraphicsItem* parent = nullptr):QAbstractGraphicsShapeItem(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractGraphicsShapeItem(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractGraphicsShapeItem(QGraphicsItem* parent = nullptr):QAbstractGraphicsShapeItem(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractGraphicsShapeItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractGraphicsShapeItem : public QAbstractGraphicsShapeItem @@ -310,7 +311,7 @@ class PythonQtWrapper_QAbstractGraphicsShapeItem : public QObject public: public slots: QAbstractGraphicsShapeItem* new_QAbstractGraphicsShapeItem(QGraphicsItem* parent = nullptr); -void delete_QAbstractGraphicsShapeItem(QAbstractGraphicsShapeItem* obj) { delete obj; } +void delete_QAbstractGraphicsShapeItem(QAbstractGraphicsShapeItem* obj) { delete obj; } QBrush brush(QAbstractGraphicsShapeItem* theWrappedObject) const; bool py_q_isObscuredBy(QAbstractGraphicsShapeItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QAbstractGraphicsShapeItem*)theWrappedObject)->py_q_isObscuredBy(item));} QPainterPath py_q_opaqueArea(QAbstractGraphicsShapeItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractGraphicsShapeItem*)theWrappedObject)->py_q_opaqueArea());} @@ -326,29 +327,29 @@ void delete_QAbstractGraphicsShapeItem(QAbstractGraphicsShapeItem* obj) { delete class PythonQtShell_QAbstractItemDelegate : public QAbstractItemDelegate { public: - PythonQtShell_QAbstractItemDelegate(QObject* parent = nullptr):QAbstractItemDelegate(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractItemDelegate(); - -virtual void childEvent(QChildEvent* event); -virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void customEvent(QEvent* event); -virtual void destroyEditor(QWidget* editor, const QModelIndex& index) const; -virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual QVector paintingRoles() const; -virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; -virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; -virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractItemDelegate(QObject* parent = nullptr):QAbstractItemDelegate(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractItemDelegate() override; + +void childEvent(QChildEvent* event) override; +QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void customEvent(QEvent* event) override; +void destroyEditor(QWidget* editor, const QModelIndex& index) const override; +bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index) override; +void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +QVector paintingRoles() const override; +void setEditorData(QWidget* editor, const QModelIndex& index) const override; +void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const override; +QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void timerEvent(QTimerEvent* event) override; +void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractItemDelegate : public QAbstractItemDelegate @@ -373,7 +374,7 @@ enum EndEditHint{ NoHint = QAbstractItemDelegate::NoHint, EditNextItem = QAbstractItemDelegate::EditNextItem, EditPreviousItem = QAbstractItemDelegate::EditPreviousItem, SubmitModelCache = QAbstractItemDelegate::SubmitModelCache, RevertModelCache = QAbstractItemDelegate::RevertModelCache}; public slots: QAbstractItemDelegate* new_QAbstractItemDelegate(QObject* parent = nullptr); -void delete_QAbstractItemDelegate(QAbstractItemDelegate* obj) { delete obj; } +void delete_QAbstractItemDelegate(QAbstractItemDelegate* obj) { delete obj; } QWidget* createEditor(QAbstractItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; QWidget* py_q_createEditor(QAbstractItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->py_q_createEditor(parent, option, index));} void destroyEditor(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const; @@ -403,101 +404,101 @@ void delete_QAbstractItemDelegate(QAbstractItemDelegate* obj) { delete obj; } class PythonQtShell_QAbstractItemView : public QAbstractItemView { public: - PythonQtShell_QAbstractItemView(QWidget* parent = nullptr):QAbstractItemView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractItemView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* event); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& point) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractItemView(QWidget* parent = nullptr):QAbstractItemView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractItemView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& point) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractItemView : public QAbstractItemView @@ -640,7 +641,7 @@ enum State{ Q_DECLARE_FLAGS(EditTriggers, EditTrigger) public slots: QAbstractItemView* new_QAbstractItemView(QWidget* parent = nullptr); -void delete_QAbstractItemView(QAbstractItemView* obj) { delete obj; } +void delete_QAbstractItemView(QAbstractItemView* obj) { delete obj; } bool alternatingRowColors(QAbstractItemView* theWrappedObject) const; int autoScrollMargin(QAbstractItemView* theWrappedObject) const; void py_q_closeEditor(QAbstractItemView* theWrappedObject, QWidget* editor, QAbstractItemDelegate::EndEditHint hint){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_closeEditor(editor, hint));} @@ -789,64 +790,64 @@ void delete_QAbstractItemView(QAbstractItemView* obj) { delete obj; } class PythonQtShell_QAbstractPrintDialog : public QAbstractPrintDialog { public: - PythonQtShell_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = nullptr):QAbstractPrintDialog(printer, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractPrintDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = nullptr):QAbstractPrintDialog(printer, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractPrintDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int arg__1) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void open() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractPrintDialog : public QAbstractPrintDialog @@ -866,7 +867,7 @@ enum PrintRange{ Q_DECLARE_FLAGS(PrintDialogOptions, PrintDialogOption) public slots: QAbstractPrintDialog* new_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = nullptr); -void delete_QAbstractPrintDialog(QAbstractPrintDialog* obj) { delete obj; } +void delete_QAbstractPrintDialog(QAbstractPrintDialog* obj) { delete obj; } void addEnabledOption(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option); QAbstractPrintDialog::PrintDialogOptions enabledOptions(QAbstractPrintDialog* theWrappedObject) const; int py_q_exec(QAbstractPrintDialog* theWrappedObject){ return (((PythonQtPublicPromoter_QAbstractPrintDialog*)theWrappedObject)->py_q_exec());} @@ -891,58 +892,58 @@ void delete_QAbstractPrintDialog(QAbstractPrintDialog* obj) { delete obj; } class PythonQtShell_QAbstractProxyModel : public QAbstractProxyModel { public: - PythonQtShell_QAbstractProxyModel(QObject* parent = nullptr):QAbstractProxyModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractProxyModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* event); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* event); -virtual QVariant data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QModelIndex mapFromSource(const QModelIndex& sourceIndex) const; -virtual QItemSelection mapSelectionFromSource(const QItemSelection& selection) const; -virtual QItemSelection mapSelectionToSource(const QItemSelection& selection) const; -virtual QModelIndex mapToSource(const QModelIndex& proxyIndex) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setSourceModel(QAbstractItemModel* sourceModel); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractProxyModel(QObject* parent = nullptr):QAbstractProxyModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractProxyModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QModelIndex mapFromSource(const QModelIndex& sourceIndex) const override; +QItemSelection mapSelectionFromSource(const QItemSelection& selection) const override; +QItemSelection mapSelectionToSource(const QItemSelection& selection) const override; +QModelIndex mapToSource(const QModelIndex& proxyIndex) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +void setSourceModel(QAbstractItemModel* sourceModel) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractProxyModel : public QAbstractProxyModel @@ -982,7 +983,7 @@ class PythonQtWrapper_QAbstractProxyModel : public QObject public: public slots: QAbstractProxyModel* new_QAbstractProxyModel(QObject* parent = nullptr); -void delete_QAbstractProxyModel(QAbstractProxyModel* obj) { delete obj; } +void delete_QAbstractProxyModel(QAbstractProxyModel* obj) { delete obj; } QModelIndex py_q_buddy(QAbstractProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_buddy(index));} bool py_q_canDropMimeData(QAbstractProxyModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_canDropMimeData(data, action, row, column, parent));} bool py_q_canFetchMore(QAbstractProxyModel* theWrappedObject, const QModelIndex& parent) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_canFetchMore(parent));} @@ -1025,63 +1026,63 @@ void delete_QAbstractProxyModel(QAbstractProxyModel* obj) { delete obj; } class PythonQtShell_QAbstractScrollArea : public QAbstractScrollArea { public: - PythonQtShell_QAbstractScrollArea(QWidget* parent = nullptr):QAbstractScrollArea(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractScrollArea(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractScrollArea(QWidget* parent = nullptr):QAbstractScrollArea(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractScrollArea() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractScrollArea : public QAbstractScrollArea @@ -1135,7 +1136,7 @@ class PythonQtWrapper_QAbstractScrollArea : public QObject public: public slots: QAbstractScrollArea* new_QAbstractScrollArea(QWidget* parent = nullptr); -void delete_QAbstractScrollArea(QAbstractScrollArea* obj) { delete obj; } +void delete_QAbstractScrollArea(QAbstractScrollArea* obj) { delete obj; } void addScrollBarWidget(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget, Qt::Alignment alignment); void py_q_contextMenuEvent(QAbstractScrollArea* theWrappedObject, QContextMenuEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_contextMenuEvent(arg__1));} QWidget* cornerWidget(QAbstractScrollArea* theWrappedObject) const; @@ -1191,60 +1192,60 @@ void delete_QAbstractScrollArea(QAbstractScrollArea* obj) { delete obj; } class PythonQtShell_QAbstractSlider : public QAbstractSlider { public: - PythonQtShell_QAbstractSlider(QWidget* parent = nullptr):QAbstractSlider(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractSlider(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void sliderChange(QAbstractSlider::SliderChange change); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractSlider(QWidget* parent = nullptr):QAbstractSlider(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractSlider() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void sliderChange(QAbstractSlider::SliderChange change) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractSlider : public QAbstractSlider @@ -1277,7 +1278,7 @@ enum SliderChange{ SliderRangeChange = PythonQtPublicPromoter_QAbstractSlider::SliderRangeChange, SliderOrientationChange = PythonQtPublicPromoter_QAbstractSlider::SliderOrientationChange, SliderStepsChange = PythonQtPublicPromoter_QAbstractSlider::SliderStepsChange, SliderValueChange = PythonQtPublicPromoter_QAbstractSlider::SliderValueChange}; public slots: QAbstractSlider* new_QAbstractSlider(QWidget* parent = nullptr); -void delete_QAbstractSlider(QAbstractSlider* obj) { delete obj; } +void delete_QAbstractSlider(QAbstractSlider* obj) { delete obj; } void py_q_changeEvent(QAbstractSlider* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->py_q_changeEvent(e));} bool py_q_event(QAbstractSlider* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->py_q_event(e));} bool hasTracking(QAbstractSlider* theWrappedObject) const; @@ -1317,64 +1318,64 @@ void delete_QAbstractSlider(QAbstractSlider* obj) { delete obj; } class PythonQtShell_QAbstractSpinBox : public QAbstractSpinBox { public: - PythonQtShell_QAbstractSpinBox(QWidget* parent = nullptr):QAbstractSpinBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractSpinBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractSpinBox(QWidget* parent = nullptr):QAbstractSpinBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractSpinBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& input) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractSpinBox : public QAbstractSpinBox @@ -1436,7 +1437,7 @@ enum StepEnabledFlag{ Q_DECLARE_FLAGS(StepEnabled, StepEnabledFlag) public slots: QAbstractSpinBox* new_QAbstractSpinBox(QWidget* parent = nullptr); -void delete_QAbstractSpinBox(QAbstractSpinBox* obj) { delete obj; } +void delete_QAbstractSpinBox(QAbstractSpinBox* obj) { delete obj; } Qt::Alignment alignment(QAbstractSpinBox* theWrappedObject) const; QAbstractSpinBox::ButtonSymbols buttonSymbols(QAbstractSpinBox* theWrappedObject) const; void py_q_changeEvent(QAbstractSpinBox* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_changeEvent(event));} @@ -1503,51 +1504,51 @@ void delete_QAbstractSpinBox(QAbstractSpinBox* obj) { delete obj; } class PythonQtShell_QAbstractTableModel : public QAbstractTableModel { public: - PythonQtShell_QAbstractTableModel(QObject* parent = nullptr):QAbstractTableModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractTableModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* event); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* event); -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractTableModel(QObject* parent = nullptr):QAbstractTableModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractTableModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractTableModel : public QAbstractTableModel @@ -1563,7 +1564,7 @@ class PythonQtWrapper_QAbstractTableModel : public QObject public: public slots: QAbstractTableModel* new_QAbstractTableModel(QObject* parent = nullptr); -void delete_QAbstractTableModel(QAbstractTableModel* obj) { delete obj; } +void delete_QAbstractTableModel(QAbstractTableModel* obj) { delete obj; } bool py_q_dropMimeData(QAbstractTableModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QAbstractTableModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} Qt::ItemFlags py_q_flags(QAbstractTableModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractTableModel*)theWrappedObject)->py_q_flags(index));} QModelIndex py_q_index(QAbstractTableModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QAbstractTableModel*)theWrappedObject)->py_q_index(row, column, parent));} @@ -1577,29 +1578,29 @@ void delete_QAbstractTableModel(QAbstractTableModel* obj) { delete obj; } class PythonQtShell_QAbstractTextDocumentLayout : public QAbstractTextDocumentLayout { public: - PythonQtShell_QAbstractTextDocumentLayout(QTextDocument* doc):QAbstractTextDocumentLayout(doc),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractTextDocumentLayout(); - -virtual QRectF blockBoundingRect(const QTextBlock& block) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual void documentChanged(int from, int charsRemoved, int charsAdded); -virtual QSizeF documentSize() const; -virtual void draw(QPainter* painter, const QAbstractTextDocumentLayout::PaintContext& context); -virtual void drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QRectF frameBoundingRect(QTextFrame* frame) const; -virtual int hitTest(const QPointF& point, Qt::HitTestAccuracy accuracy) const; -virtual int pageCount() const; -virtual void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format); -virtual void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractTextDocumentLayout(QTextDocument* doc):QAbstractTextDocumentLayout(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractTextDocumentLayout() override; + +QRectF blockBoundingRect(const QTextBlock& block) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void documentChanged(int from, int charsRemoved, int charsAdded) override; +QSizeF documentSize() const override; +void draw(QPainter* painter, const QAbstractTextDocumentLayout::PaintContext& context) override; +void drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QRectF frameBoundingRect(QTextFrame* frame) const override; +int hitTest(const QPointF& point, Qt::HitTestAccuracy accuracy) const override; +int pageCount() const override; +void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) override; +void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractTextDocumentLayout : public QAbstractTextDocumentLayout @@ -1627,7 +1628,7 @@ class PythonQtWrapper_QAbstractTextDocumentLayout : public QObject public: public slots: QAbstractTextDocumentLayout* new_QAbstractTextDocumentLayout(QTextDocument* doc); -void delete_QAbstractTextDocumentLayout(QAbstractTextDocumentLayout* obj) { delete obj; } +void delete_QAbstractTextDocumentLayout(QAbstractTextDocumentLayout* obj) { delete obj; } QString anchorAt(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& pos) const; QRectF blockBoundingRect(QAbstractTextDocumentLayout* theWrappedObject, const QTextBlock& block) const; QRectF py_q_blockBoundingRect(QAbstractTextDocumentLayout* theWrappedObject, const QTextBlock& block) const{ return (((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->py_q_blockBoundingRect(block));} @@ -1667,12 +1668,12 @@ void delete_QAbstractTextDocumentLayout(QAbstractTextDocumentLayout* obj) { dele class PythonQtShell_QAbstractTextDocumentLayout__PaintContext : public QAbstractTextDocumentLayout::PaintContext { public: - PythonQtShell_QAbstractTextDocumentLayout__PaintContext():QAbstractTextDocumentLayout::PaintContext(),_wrapper(NULL) {}; + PythonQtShell_QAbstractTextDocumentLayout__PaintContext():QAbstractTextDocumentLayout::PaintContext(),_wrapper(nullptr) {}; ~PythonQtShell_QAbstractTextDocumentLayout__PaintContext(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAbstractTextDocumentLayout__PaintContext : public QObject @@ -1684,7 +1685,7 @@ QAbstractTextDocumentLayout::PaintContext* new_QAbstractTextDocumentLayout__Pain PythonQtShell_QAbstractTextDocumentLayout__PaintContext* a = new PythonQtShell_QAbstractTextDocumentLayout__PaintContext(); *((QAbstractTextDocumentLayout::PaintContext*)a) = other; return a; } -void delete_QAbstractTextDocumentLayout__PaintContext(QAbstractTextDocumentLayout::PaintContext* obj) { delete obj; } +void delete_QAbstractTextDocumentLayout__PaintContext(QAbstractTextDocumentLayout::PaintContext* obj) { delete obj; } void py_set_clip(QAbstractTextDocumentLayout::PaintContext* theWrappedObject, QRectF clip){ theWrappedObject->clip = clip; } QRectF py_get_clip(QAbstractTextDocumentLayout::PaintContext* theWrappedObject){ return theWrappedObject->clip; } void py_set_cursorPosition(QAbstractTextDocumentLayout::PaintContext* theWrappedObject, int cursorPosition){ theWrappedObject->cursorPosition = cursorPosition; } @@ -1700,12 +1701,12 @@ QPalette py_get_palette(QAbstractTextDocumentLayout::PaintContext* theWrappedOb class PythonQtShell_QAbstractTextDocumentLayout__Selection : public QAbstractTextDocumentLayout::Selection { public: - PythonQtShell_QAbstractTextDocumentLayout__Selection():QAbstractTextDocumentLayout::Selection(),_wrapper(NULL) {}; + PythonQtShell_QAbstractTextDocumentLayout__Selection():QAbstractTextDocumentLayout::Selection(),_wrapper(nullptr) {}; ~PythonQtShell_QAbstractTextDocumentLayout__Selection(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAbstractTextDocumentLayout__Selection : public QObject @@ -1717,7 +1718,7 @@ QAbstractTextDocumentLayout::Selection* new_QAbstractTextDocumentLayout__Selecti PythonQtShell_QAbstractTextDocumentLayout__Selection* a = new PythonQtShell_QAbstractTextDocumentLayout__Selection(); *((QAbstractTextDocumentLayout::Selection*)a) = other; return a; } -void delete_QAbstractTextDocumentLayout__Selection(QAbstractTextDocumentLayout::Selection* obj) { delete obj; } +void delete_QAbstractTextDocumentLayout__Selection(QAbstractTextDocumentLayout::Selection* obj) { delete obj; } void py_set_cursor(QAbstractTextDocumentLayout::Selection* theWrappedObject, QTextCursor cursor){ theWrappedObject->cursor = cursor; } QTextCursor py_get_cursor(QAbstractTextDocumentLayout::Selection* theWrappedObject){ return theWrappedObject->cursor; } void py_set_format(QAbstractTextDocumentLayout::Selection* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } @@ -1731,12 +1732,12 @@ QTextCharFormat py_get_format(QAbstractTextDocumentLayout::Selection* theWrappe class PythonQtShell_QAccessibleEvent : public QAccessibleEvent { public: - PythonQtShell_QAccessibleEvent(QObject* obj, QAccessible::Event typ):QAccessibleEvent(obj, typ),_wrapper(NULL) {}; + PythonQtShell_QAccessibleEvent(QObject* obj, QAccessible::Event typ):QAccessibleEvent(obj, typ),_wrapper(nullptr) {}; - ~PythonQtShell_QAccessibleEvent(); + ~PythonQtShell_QAccessibleEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAccessibleEvent : public QObject @@ -1744,7 +1745,7 @@ class PythonQtWrapper_QAccessibleEvent : public QObject public: public slots: QAccessibleEvent* new_QAccessibleEvent(QObject* obj, QAccessible::Event typ); -void delete_QAccessibleEvent(QAccessibleEvent* obj) { delete obj; } +void delete_QAccessibleEvent(QAccessibleEvent* obj) { delete obj; } int child(QAccessibleEvent* theWrappedObject) const; QObject* object(QAccessibleEvent* theWrappedObject) const; void setChild(QAccessibleEvent* theWrappedObject, int chld); @@ -1759,21 +1760,21 @@ void delete_QAccessibleEvent(QAccessibleEvent* obj) { delete obj; } class PythonQtShell_QAction : public QAction { public: - PythonQtShell_QAction(QObject* parent = nullptr):QAction(parent),_wrapper(NULL) {}; - PythonQtShell_QAction(const QIcon& icon, const QString& text, QObject* parent = nullptr):QAction(icon, text, parent),_wrapper(NULL) {}; - PythonQtShell_QAction(const QString& text, QObject* parent = nullptr):QAction(text, parent),_wrapper(NULL) {}; + PythonQtShell_QAction(QObject* parent = nullptr):QAction(parent),_wrapper(nullptr) {}; + PythonQtShell_QAction(const QIcon& icon, const QString& text, QObject* parent = nullptr):QAction(icon, text, parent),_wrapper(nullptr) {}; + PythonQtShell_QAction(const QString& text, QObject* parent = nullptr):QAction(text, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAction(); + ~PythonQtShell_QAction() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAction : public QAction @@ -1792,7 +1793,7 @@ public slots: QAction* new_QAction(QObject* parent = nullptr); QAction* new_QAction(const QIcon& icon, const QString& text, QObject* parent = nullptr); QAction* new_QAction(const QString& text, QObject* parent = nullptr); -void delete_QAction(QAction* obj) { delete obj; } +void delete_QAction(QAction* obj) { delete obj; } QActionGroup* actionGroup(QAction* theWrappedObject) const; void activate(QAction* theWrappedObject, QAction::ActionEvent event); QList associatedGraphicsWidgets(QAction* theWrappedObject) const; @@ -1855,7 +1856,7 @@ class PythonQtWrapper_QActionEvent : public QObject public: public slots: QActionEvent* new_QActionEvent(int type, QAction* action, QAction* before = nullptr); -void delete_QActionEvent(QActionEvent* obj) { delete obj; } +void delete_QActionEvent(QActionEvent* obj) { delete obj; } QAction* action(QActionEvent* theWrappedObject) const; QAction* before(QActionEvent* theWrappedObject) const; }; @@ -1867,19 +1868,19 @@ void delete_QActionEvent(QActionEvent* obj) { delete obj; } class PythonQtShell_QActionGroup : public QActionGroup { public: - PythonQtShell_QActionGroup(QObject* parent):QActionGroup(parent),_wrapper(NULL) {}; + PythonQtShell_QActionGroup(QObject* parent):QActionGroup(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QActionGroup(); + ~PythonQtShell_QActionGroup() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QActionGroup : public QObject @@ -1887,7 +1888,7 @@ class PythonQtWrapper_QActionGroup : public QObject public: public slots: QActionGroup* new_QActionGroup(QObject* parent); -void delete_QActionGroup(QActionGroup* obj) { delete obj; } +void delete_QActionGroup(QActionGroup* obj) { delete obj; } QList actions(QActionGroup* theWrappedObject) const; QAction* addAction(QActionGroup* theWrappedObject, QAction* a); QAction* addAction(QActionGroup* theWrappedObject, const QIcon& icon, const QString& text); @@ -1917,7 +1918,7 @@ Q_ENUMS(ColorSpec ) enum ColorSpec{ NormalColor = QApplication::NormalColor, CustomColor = QApplication::CustomColor, ManyColor = QApplication::ManyColor}; public slots: -void delete_QApplication(QApplication* obj) { delete obj; } +void delete_QApplication(QApplication* obj) { delete obj; } QWidget* static_QApplication_activeModalWidget(); QWidget* static_QApplication_activePopupWidget(); QWidget* static_QApplication_activeWindow(); @@ -1976,7 +1977,7 @@ class PythonQtWrapper_QBackingStore : public QObject public: public slots: QBackingStore* new_QBackingStore(QWindow* window); -void delete_QBackingStore(QBackingStore* obj) { delete obj; } +void delete_QBackingStore(QBackingStore* obj) { delete obj; } void beginPaint(QBackingStore* theWrappedObject, const QRegion& arg__1); void endPaint(QBackingStore* theWrappedObject); void flush(QBackingStore* theWrappedObject, const QRegion& region, QWindow* window = nullptr, const QPoint& offset = QPoint()); @@ -1997,37 +1998,39 @@ void delete_QBackingStore(QBackingStore* obj) { delete obj; } class PythonQtShell_QBoxLayout : public QBoxLayout { public: - PythonQtShell_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent = nullptr):QBoxLayout(arg__1, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QBoxLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual int count() const; -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual int indexOf(QWidget* arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayoutItem* itemAt(int arg__1) const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QLayoutItem* takeAt(int arg__1); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent = nullptr):QBoxLayout(arg__1, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QBoxLayout() override; + +void addItem(QLayoutItem* arg__1) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int arg__1) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int arg__1) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QBoxLayout : public QBoxLayout @@ -2055,7 +2058,7 @@ enum Direction{ LeftToRight = QBoxLayout::LeftToRight, RightToLeft = QBoxLayout::RightToLeft, TopToBottom = QBoxLayout::TopToBottom, BottomToTop = QBoxLayout::BottomToTop, Down = QBoxLayout::Down, Up = QBoxLayout::Up}; public slots: QBoxLayout* new_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent = nullptr); -void delete_QBoxLayout(QBoxLayout* obj) { delete obj; } +void delete_QBoxLayout(QBoxLayout* obj) { delete obj; } void py_q_addItem(QBoxLayout* theWrappedObject, QLayoutItem* arg__1){ (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_addItem(arg__1));} void addLayout(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP layout, int stretch = 0); void addSpacerItem(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP spacerItem); @@ -2066,9 +2069,7 @@ void delete_QBoxLayout(QBoxLayout* obj) { delete obj; } int py_q_count(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_count());} QBoxLayout::Direction direction(QBoxLayout* theWrappedObject) const; Qt::Orientations py_q_expandingDirections(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_expandingDirections());} - bool hasHeightForWidth(QBoxLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const; int py_q_heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_heightForWidth(arg__1));} void insertItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP arg__2); void insertLayout(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP layout, int stretch = 0); @@ -2079,7 +2080,6 @@ void delete_QBoxLayout(QBoxLayout* obj) { delete obj; } void py_q_invalidate(QBoxLayout* theWrappedObject){ (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_invalidate());} QLayoutItem* py_q_itemAt(QBoxLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_itemAt(arg__1));} QSize py_q_maximumSize(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_maximumSize());} - int minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const; int py_q_minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_minimumHeightForWidth(arg__1));} QSize py_q_minimumSize(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_minimumSize());} void setDirection(QBoxLayout* theWrappedObject, QBoxLayout::Direction arg__1); @@ -2088,7 +2088,6 @@ void delete_QBoxLayout(QBoxLayout* obj) { delete obj; } void setStretch(QBoxLayout* theWrappedObject, int index, int stretch); bool setStretchFactor(QBoxLayout* theWrappedObject, QLayout* l, int stretch); bool setStretchFactor(QBoxLayout* theWrappedObject, QWidget* w, int stretch); - QSize sizeHint(QBoxLayout* theWrappedObject) const; QSize py_q_sizeHint(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_sizeHint());} int spacing(QBoxLayout* theWrappedObject) const; int stretch(QBoxLayout* theWrappedObject, int index) const; @@ -2103,19 +2102,19 @@ void delete_QBoxLayout(QBoxLayout* obj) { delete obj; } class PythonQtShell_QButtonGroup : public QButtonGroup { public: - PythonQtShell_QButtonGroup(QObject* parent = nullptr):QButtonGroup(parent),_wrapper(NULL) {}; + PythonQtShell_QButtonGroup(QObject* parent = nullptr):QButtonGroup(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QButtonGroup(); + ~PythonQtShell_QButtonGroup() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QButtonGroup : public QObject @@ -2123,7 +2122,7 @@ class PythonQtWrapper_QButtonGroup : public QObject public: public slots: QButtonGroup* new_QButtonGroup(QObject* parent = nullptr); -void delete_QButtonGroup(QButtonGroup* obj) { delete obj; } +void delete_QButtonGroup(QButtonGroup* obj) { delete obj; } void addButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1, int id = -1); QAbstractButton* button(QButtonGroup* theWrappedObject, int id) const; QList buttons(QButtonGroup* theWrappedObject) const; @@ -2143,60 +2142,60 @@ void delete_QButtonGroup(QButtonGroup* obj) { delete obj; } class PythonQtShell_QCalendarWidget : public QCalendarWidget { public: - PythonQtShell_QCalendarWidget(QWidget* parent = nullptr):QCalendarWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCalendarWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void paintCell(QPainter* painter, const QRect& rect, const QDate& date) const; -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QCalendarWidget(QWidget* parent = nullptr):QCalendarWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCalendarWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void paintCell(QPainter* painter, const QRect& rect, const QDate& date) const override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCalendarWidget : public QCalendarWidget @@ -2224,7 +2223,7 @@ class PythonQtWrapper_QCalendarWidget : public QObject public: public slots: QCalendarWidget* new_QCalendarWidget(QWidget* parent = nullptr); -void delete_QCalendarWidget(QCalendarWidget* obj) { delete obj; } +void delete_QCalendarWidget(QCalendarWidget* obj) { delete obj; } int dateEditAcceptDelay(QCalendarWidget* theWrappedObject) const; QMap dateTextFormat(QCalendarWidget* theWrappedObject) const; QTextCharFormat dateTextFormat(QCalendarWidget* theWrappedObject, const QDate& date) const; @@ -2273,63 +2272,63 @@ void delete_QCalendarWidget(QCalendarWidget* obj) { delete obj; } class PythonQtShell_QCheckBox : public QCheckBox { public: - PythonQtShell_QCheckBox(QWidget* parent = nullptr):QCheckBox(parent),_wrapper(NULL) {}; - PythonQtShell_QCheckBox(const QString& text, QWidget* parent = nullptr):QCheckBox(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCheckBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QCheckBox(QWidget* parent = nullptr):QCheckBox(parent),_wrapper(nullptr) {}; + PythonQtShell_QCheckBox(const QString& text, QWidget* parent = nullptr):QCheckBox(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCheckBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& pos) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCheckBox : public QCheckBox @@ -2357,7 +2356,7 @@ class PythonQtWrapper_QCheckBox : public QObject public slots: QCheckBox* new_QCheckBox(QWidget* parent = nullptr); QCheckBox* new_QCheckBox(const QString& text, QWidget* parent = nullptr); -void delete_QCheckBox(QCheckBox* obj) { delete obj; } +void delete_QCheckBox(QCheckBox* obj) { delete obj; } Qt::CheckState checkState(QCheckBox* theWrappedObject) const; void py_q_checkStateSet(QCheckBox* theWrappedObject){ (((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->py_q_checkStateSet());} bool py_q_event(QCheckBox* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->py_q_event(e));} @@ -2412,7 +2411,7 @@ class PythonQtWrapper_QCloseEvent : public QObject public: public slots: QCloseEvent* new_QCloseEvent(); -void delete_QCloseEvent(QCloseEvent* obj) { delete obj; } +void delete_QCloseEvent(QCloseEvent* obj) { delete obj; } }; @@ -2422,64 +2421,64 @@ void delete_QCloseEvent(QCloseEvent* obj) { delete obj; } class PythonQtShell_QColorDialog : public QColorDialog { public: - PythonQtShell_QColorDialog(QWidget* parent = nullptr):QColorDialog(parent),_wrapper(NULL) {}; - PythonQtShell_QColorDialog(const QColor& initial, QWidget* parent = nullptr):QColorDialog(initial, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QColorDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QColorDialog(QWidget* parent = nullptr):QColorDialog(parent),_wrapper(nullptr) {}; + PythonQtShell_QColorDialog(const QColor& initial, QWidget* parent = nullptr):QColorDialog(initial, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QColorDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QColorDialog : public QColorDialog @@ -2502,7 +2501,7 @@ Q_DECLARE_FLAGS(ColorDialogOptions, ColorDialogOption) public slots: QColorDialog* new_QColorDialog(QWidget* parent = nullptr); QColorDialog* new_QColorDialog(const QColor& initial, QWidget* parent = nullptr); -void delete_QColorDialog(QColorDialog* obj) { delete obj; } +void delete_QColorDialog(QColorDialog* obj) { delete obj; } void py_q_changeEvent(QColorDialog* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QColorDialog*)theWrappedObject)->py_q_changeEvent(event));} QColor currentColor(QColorDialog* theWrappedObject) const; QColor static_QColorDialog_customColor(int index); @@ -2530,102 +2529,102 @@ void delete_QColorDialog(QColorDialog* obj) { delete obj; } class PythonQtShell_QColumnView : public QColumnView { public: - PythonQtShell_QColumnView(QWidget* parent = nullptr):QColumnView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QColumnView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual QAbstractItemView* createColumn(const QModelIndex& rootIndex); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* event); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& point) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QColumnView(QWidget* parent = nullptr):QColumnView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QColumnView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +QAbstractItemView* createColumn(const QModelIndex& rootIndex) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& point) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QColumnView : public QColumnView @@ -2668,7 +2667,7 @@ class PythonQtWrapper_QColumnView : public QObject public: public slots: QColumnView* new_QColumnView(QWidget* parent = nullptr); -void delete_QColumnView(QColumnView* obj) { delete obj; } +void delete_QColumnView(QColumnView* obj) { delete obj; } QList columnWidths(QColumnView* theWrappedObject) const; QAbstractItemView* createColumn(QColumnView* theWrappedObject, const QModelIndex& rootIndex); QAbstractItemView* py_q_createColumn(QColumnView* theWrappedObject, const QModelIndex& rootIndex){ return (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_createColumn(rootIndex));} @@ -2705,61 +2704,61 @@ void delete_QColumnView(QColumnView* obj) { delete obj; } class PythonQtShell_QComboBox : public QComboBox { public: - PythonQtShell_QComboBox(QWidget* parent = nullptr):QComboBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QComboBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* e); -virtual void hidePopup(); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* e); -virtual void showPopup(); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QComboBox(QWidget* parent = nullptr):QComboBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QComboBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* e) override; +void hidePopup() override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* e) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* e) override; +void showPopup() override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QComboBox : public QComboBox @@ -2806,7 +2805,7 @@ class PythonQtWrapper_QComboBox : public QObject public: public slots: QComboBox* new_QComboBox(QWidget* parent = nullptr); -void delete_QComboBox(QComboBox* obj) { delete obj; } +void delete_QComboBox(QComboBox* obj) { delete obj; } void addItem(QComboBox* theWrappedObject, const QIcon& icon, const QString& text, const QVariant& userData = QVariant()); void addItem(QComboBox* theWrappedObject, const QString& text, const QVariant& userData = QVariant()); void addItems(QComboBox* theWrappedObject, const QStringList& texts); @@ -2896,64 +2895,64 @@ void delete_QComboBox(QComboBox* obj) { delete obj; } class PythonQtShell_QCommandLinkButton : public QCommandLinkButton { public: - PythonQtShell_QCommandLinkButton(QWidget* parent = nullptr):QCommandLinkButton(parent),_wrapper(NULL) {}; - PythonQtShell_QCommandLinkButton(const QString& text, QWidget* parent = nullptr):QCommandLinkButton(text, parent),_wrapper(NULL) {}; - PythonQtShell_QCommandLinkButton(const QString& text, const QString& description, QWidget* parent = nullptr):QCommandLinkButton(text, description, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCommandLinkButton(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QCommandLinkButton(QWidget* parent = nullptr):QCommandLinkButton(parent),_wrapper(nullptr) {}; + PythonQtShell_QCommandLinkButton(const QString& text, QWidget* parent = nullptr):QCommandLinkButton(text, parent),_wrapper(nullptr) {}; + PythonQtShell_QCommandLinkButton(const QString& text, const QString& description, QWidget* parent = nullptr):QCommandLinkButton(text, description, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCommandLinkButton() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* arg__1) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* arg__1) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& pos) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCommandLinkButton : public QCommandLinkButton @@ -2977,7 +2976,7 @@ public slots: QCommandLinkButton* new_QCommandLinkButton(QWidget* parent = nullptr); QCommandLinkButton* new_QCommandLinkButton(const QString& text, QWidget* parent = nullptr); QCommandLinkButton* new_QCommandLinkButton(const QString& text, const QString& description, QWidget* parent = nullptr); -void delete_QCommandLinkButton(QCommandLinkButton* obj) { delete obj; } +void delete_QCommandLinkButton(QCommandLinkButton* obj) { delete obj; } QString description(QCommandLinkButton* theWrappedObject) const; bool py_q_event(QCommandLinkButton* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->py_q_event(e));} int py_q_heightForWidth(QCommandLinkButton* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->py_q_heightForWidth(arg__1));} @@ -2994,41 +2993,41 @@ void delete_QCommandLinkButton(QCommandLinkButton* obj) { delete obj; } class PythonQtShell_QCommonStyle : public QCommonStyle { public: - PythonQtShell_QCommonStyle():QCommonStyle(),_wrapper(NULL) {}; - - ~PythonQtShell_QCommonStyle(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = nullptr) const; -virtual void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const; -virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; -virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; -virtual void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; -virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = nullptr) const; -virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; -virtual int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const; -virtual int pixelMetric(QStyle::PixelMetric m, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const; -virtual void polish(QApplication* app); -virtual void polish(QPalette& arg__1); -virtual void polish(QWidget* widget); -virtual QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = nullptr) const; -virtual QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const; -virtual QPalette standardPalette() const; -virtual QPixmap standardPixmap(QStyle::StandardPixmap sp, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const; -virtual int styleHint(QStyle::StyleHint sh, const QStyleOption* opt = nullptr, const QWidget* w = nullptr, QStyleHintReturn* shret = nullptr) const; -virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w = nullptr) const; -virtual QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = nullptr) const; -virtual void timerEvent(QTimerEvent* event); -virtual void unpolish(QApplication* application); -virtual void unpolish(QWidget* widget); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QCommonStyle():QCommonStyle(),_wrapper(nullptr) {}; + + ~PythonQtShell_QCommonStyle() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = nullptr) const override; +void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const override; +void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const override; +void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const override; +void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const override; +QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = nullptr) const override; +QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const override; +int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const override; +int pixelMetric(QStyle::PixelMetric m, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const override; +void polish(QApplication* app) override; +void polish(QPalette& arg__1) override; +void polish(QWidget* widget) override; +QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = nullptr) const override; +QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const override; +QPalette standardPalette() const override; +QPixmap standardPixmap(QStyle::StandardPixmap sp, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const override; +int styleHint(QStyle::StyleHint sh, const QStyleOption* opt = nullptr, const QWidget* w = nullptr, QStyleHintReturn* shret = nullptr) const override; +QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w = nullptr) const override; +QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = nullptr) const override; +void timerEvent(QTimerEvent* event) override; +void unpolish(QApplication* application) override; +void unpolish(QWidget* widget) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCommonStyle : public QCommonStyle @@ -3058,7 +3057,7 @@ class PythonQtWrapper_QCommonStyle : public QObject public: public slots: QCommonStyle* new_QCommonStyle(); -void delete_QCommonStyle(QCommonStyle* obj) { delete obj; } +void delete_QCommonStyle(QCommonStyle* obj) { delete obj; } void py_q_drawComplexControl(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = nullptr) const{ (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_drawComplexControl(cc, opt, p, w));} void py_q_drawControl(QCommonStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const{ (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_drawControl(element, opt, p, w));} void py_q_drawPrimitive(QCommonStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const{ (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_drawPrimitive(pe, opt, p, w));} 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..acef6f5cd 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 @@ -72,6 +72,7 @@ #include #include #include +#include #include #include #include @@ -92,9 +93,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -114,9 +115,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -136,20 +137,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -169,20 +170,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&o0, (void*)&e1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&o0, (void*)&e1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -202,20 +203,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&index0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pathFromIndex", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -235,20 +236,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QStringList returnValue; - void* args[2] = {NULL, (void*)&path0}; + QStringList returnValue{}; + void* args[2] = {nullptr, (void*)&path0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("splitPath", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -268,9 +269,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -563,9 +564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -585,9 +586,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -607,20 +608,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -640,20 +641,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -673,9 +674,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -695,9 +696,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -830,9 +831,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -852,9 +853,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -874,9 +875,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -896,9 +897,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -918,9 +919,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -940,9 +941,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -962,9 +963,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -984,20 +985,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QDateTime" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QDateTime returnValue; - void* args[2] = {NULL, (void*)&text0}; + QDateTime returnValue{}; + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); } else { returnValue = *((QDateTime*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1017,20 +1018,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1050,9 +1051,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1072,9 +1073,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1094,9 +1095,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1116,9 +1117,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1138,9 +1139,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1160,20 +1161,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1193,20 +1194,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1226,9 +1227,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1248,9 +1249,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1270,20 +1271,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1303,9 +1304,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1325,20 +1326,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1358,20 +1359,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1391,9 +1392,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1413,9 +1414,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1435,9 +1436,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1457,20 +1458,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1490,9 +1491,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1512,9 +1513,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1534,9 +1535,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1556,20 +1557,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1589,20 +1590,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1622,9 +1623,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1644,9 +1645,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1666,9 +1667,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1688,9 +1689,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1710,9 +1711,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1732,20 +1733,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1765,20 +1766,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1798,9 +1799,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1820,20 +1821,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1853,9 +1854,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1875,9 +1876,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1897,20 +1898,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1930,9 +1931,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1952,20 +1953,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1985,9 +1986,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&steps0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2007,20 +2008,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; + QAbstractSpinBox::StepEnabled returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2040,9 +2041,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2062,20 +2063,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QDateTime&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&dt0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&dt0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2095,9 +2096,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2117,20 +2118,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2150,9 +2151,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2199,9 +2200,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2221,9 +2222,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2243,9 +2244,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2265,9 +2266,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2287,9 +2288,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2309,9 +2310,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2331,9 +2332,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2353,20 +2354,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QDateTime" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QDateTime returnValue; - void* args[2] = {NULL, (void*)&text0}; + QDateTime returnValue{}; + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); } else { returnValue = *((QDateTime*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2386,20 +2387,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2419,9 +2420,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2441,9 +2442,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2463,9 +2464,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2485,9 +2486,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2507,9 +2508,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2529,20 +2530,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2562,20 +2563,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2595,9 +2596,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2617,9 +2618,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2639,20 +2640,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2672,9 +2673,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2694,20 +2695,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2727,20 +2728,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2760,9 +2761,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2782,9 +2783,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2804,9 +2805,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2826,20 +2827,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2859,9 +2860,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2881,9 +2882,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2903,9 +2904,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2925,20 +2926,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2958,20 +2959,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2991,9 +2992,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3013,9 +3014,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3035,9 +3036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3057,9 +3058,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3079,9 +3080,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3101,20 +3102,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3134,20 +3135,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3167,9 +3168,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3189,20 +3190,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3222,9 +3223,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3244,9 +3245,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3266,20 +3267,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3299,9 +3300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3321,20 +3322,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3354,9 +3355,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&steps0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3376,20 +3377,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; + QAbstractSpinBox::StepEnabled returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3409,9 +3410,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3431,20 +3432,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QDateTime&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&dt0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&dt0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3464,9 +3465,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3486,20 +3487,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3519,9 +3520,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3825,9 +3826,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3847,9 +3848,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3869,9 +3870,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3891,9 +3892,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3913,9 +3914,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3935,9 +3936,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3957,20 +3958,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3990,9 +3991,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4012,9 +4013,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4034,9 +4035,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4056,9 +4057,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4078,9 +4079,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4100,20 +4101,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4133,20 +4134,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4166,9 +4167,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4188,20 +4189,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4221,9 +4222,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4243,20 +4244,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4276,20 +4277,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4309,9 +4310,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4331,9 +4332,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4353,9 +4354,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4375,20 +4376,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4408,9 +4409,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4430,9 +4431,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4452,9 +4453,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4474,20 +4475,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4507,20 +4508,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4540,9 +4541,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4562,9 +4563,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4584,9 +4585,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4606,9 +4607,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4628,9 +4629,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4650,20 +4651,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4683,20 +4684,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4716,9 +4717,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4738,20 +4739,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4771,9 +4772,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4793,9 +4794,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4815,20 +4816,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4848,9 +4849,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4870,20 +4871,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4903,9 +4904,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4925,9 +4926,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4947,9 +4948,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5057,9 +5058,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5079,9 +5080,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5101,9 +5102,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5123,9 +5124,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5145,9 +5146,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5167,9 +5168,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5189,20 +5190,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5222,9 +5223,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5244,9 +5245,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5266,9 +5267,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5288,9 +5289,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5310,9 +5311,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5332,20 +5333,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5365,20 +5366,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5398,9 +5399,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5420,20 +5421,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5453,9 +5454,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5475,20 +5476,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5508,20 +5509,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5541,9 +5542,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5563,9 +5564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5585,9 +5586,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5607,20 +5608,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5640,9 +5641,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5662,9 +5663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5684,9 +5685,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5706,20 +5707,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5739,20 +5740,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5772,9 +5773,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5794,9 +5795,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me0}; + void* args[2] = {nullptr, (void*)&me0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5816,9 +5817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me0}; + void* args[2] = {nullptr, (void*)&me0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5838,9 +5839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me0}; + void* args[2] = {nullptr, (void*)&me0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5860,9 +5861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5882,20 +5883,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5915,20 +5916,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5948,9 +5949,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&pe0}; + void* args[2] = {nullptr, (void*)&pe0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5970,20 +5971,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6003,9 +6004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&re0}; + void* args[2] = {nullptr, (void*)&re0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6025,9 +6026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6047,20 +6048,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6080,9 +6081,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6102,20 +6103,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6135,9 +6136,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&change0}; + void* args[2] = {nullptr, (void*)&change0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6157,9 +6158,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6179,9 +6180,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6201,9 +6202,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6286,9 +6287,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6308,9 +6309,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6330,9 +6331,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6352,9 +6353,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6374,9 +6375,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6396,9 +6397,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6418,9 +6419,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6440,20 +6441,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6473,9 +6474,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6495,9 +6496,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6517,9 +6518,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6539,9 +6540,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6561,9 +6562,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6583,9 +6584,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6605,20 +6606,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6638,20 +6639,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6671,20 +6672,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6704,9 +6705,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6726,20 +6727,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6759,9 +6760,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6781,20 +6782,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6814,20 +6815,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6847,9 +6848,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6869,9 +6870,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6891,9 +6892,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6913,20 +6914,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6946,9 +6947,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6968,9 +6969,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6990,9 +6991,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7012,20 +7013,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7045,20 +7046,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7078,9 +7079,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7100,9 +7101,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7122,9 +7123,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7144,9 +7145,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7166,9 +7167,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7188,20 +7189,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7221,9 +7222,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7243,20 +7244,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7276,9 +7277,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7298,20 +7299,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7331,9 +7332,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7353,9 +7354,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7375,9 +7376,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7397,20 +7398,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7430,9 +7431,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7452,20 +7453,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7485,9 +7486,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7507,9 +7508,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7529,9 +7530,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7614,9 +7615,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7636,9 +7637,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7658,9 +7659,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7680,9 +7681,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7702,9 +7703,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7724,9 +7725,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7746,20 +7747,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7779,9 +7780,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7801,9 +7802,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7823,9 +7824,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7845,9 +7846,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7867,9 +7868,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7889,20 +7890,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7922,20 +7923,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7955,9 +7956,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7977,20 +7978,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8010,9 +8011,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8032,20 +8033,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8065,20 +8066,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8098,9 +8099,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8120,9 +8121,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8142,9 +8143,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8164,20 +8165,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8197,9 +8198,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8219,9 +8220,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8241,9 +8242,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8263,20 +8264,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8296,20 +8297,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8329,9 +8330,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8351,9 +8352,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8373,9 +8374,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8395,9 +8396,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8417,9 +8418,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8439,20 +8440,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8472,20 +8473,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8505,9 +8506,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8527,20 +8528,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8560,9 +8561,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8582,9 +8583,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8604,20 +8605,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8637,9 +8638,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8659,20 +8660,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8692,9 +8693,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8714,9 +8715,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8736,9 +8737,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8868,20 +8869,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8901,20 +8902,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8934,20 +8935,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8967,9 +8968,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8989,20 +8990,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9022,9 +9023,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9044,20 +9045,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9077,20 +9078,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9110,20 +9111,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9143,20 +9144,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9176,9 +9177,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9198,20 +9199,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9231,20 +9232,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9264,20 +9265,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9297,20 +9298,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9330,20 +9331,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9363,20 +9364,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9396,20 +9397,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9429,20 +9430,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + QList returnValue{}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9462,20 +9463,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9495,20 +9496,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9528,20 +9529,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9561,20 +9562,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9594,20 +9595,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&child0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9627,20 +9628,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9660,20 +9661,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9693,9 +9694,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9715,20 +9716,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9748,20 +9749,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9781,20 +9782,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9814,20 +9815,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9847,20 +9848,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9880,20 +9881,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9913,9 +9914,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9935,20 +9936,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9968,20 +9969,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10001,20 +10002,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10034,20 +10035,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10067,9 +10068,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10231,9 +10232,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10253,9 +10254,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10275,9 +10276,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10297,9 +10298,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10319,9 +10320,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10341,9 +10342,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10363,20 +10364,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10396,9 +10397,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10418,9 +10419,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10440,9 +10441,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10462,9 +10463,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10484,9 +10485,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10506,20 +10507,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10539,20 +10540,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10572,9 +10573,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10594,20 +10595,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10627,9 +10628,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10649,20 +10650,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10682,20 +10683,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10715,9 +10716,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10737,9 +10738,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10759,9 +10760,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10781,20 +10782,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10814,9 +10815,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10836,9 +10837,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10858,9 +10859,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10880,20 +10881,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10913,20 +10914,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10946,9 +10947,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10968,9 +10969,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10990,9 +10991,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11012,9 +11013,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11034,9 +11035,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11056,20 +11057,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11089,20 +11090,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11122,9 +11123,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11144,20 +11145,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11177,9 +11178,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11199,9 +11200,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11221,20 +11222,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11254,9 +11255,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11276,20 +11277,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11309,9 +11310,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11331,9 +11332,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11353,9 +11354,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11467,9 +11468,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11489,9 +11490,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11511,9 +11512,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11533,9 +11534,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11555,9 +11556,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11577,9 +11578,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11599,9 +11600,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11621,20 +11622,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11654,9 +11655,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11676,9 +11677,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11698,9 +11699,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11720,9 +11721,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11742,9 +11743,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11764,20 +11765,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11797,20 +11798,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11830,9 +11831,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&str0}; + void* args[2] = {nullptr, (void*)&str0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11852,9 +11853,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11874,20 +11875,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11907,9 +11908,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11929,20 +11930,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11962,20 +11963,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11995,9 +11996,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12017,9 +12018,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12039,9 +12040,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12061,20 +12062,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12094,9 +12095,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12116,9 +12117,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12138,9 +12139,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12160,20 +12161,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12193,20 +12194,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12226,9 +12227,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12248,9 +12249,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12270,9 +12271,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12292,9 +12293,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12314,9 +12315,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12336,20 +12337,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12369,20 +12370,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12402,9 +12403,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12424,20 +12425,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12457,9 +12458,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12479,9 +12480,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12501,20 +12502,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12534,9 +12535,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12556,20 +12557,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12589,9 +12590,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&steps0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12611,20 +12612,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; + QAbstractSpinBox::StepEnabled returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12644,9 +12645,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12666,20 +12667,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "double"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&val0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&val0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12699,9 +12700,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12721,20 +12722,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12754,20 +12755,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"double" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - double returnValue = 0; - void* args[2] = {NULL, (void*)&text0}; + double returnValue{}; + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result); } else { returnValue = *((double*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12787,9 +12788,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12917,9 +12918,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12939,9 +12940,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12961,20 +12962,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12994,20 +12995,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13027,9 +13028,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13049,9 +13050,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "double" , "double" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&bottom0, (void*)&top1, (void*)&decimals2}; + void* args[4] = {nullptr, (void*)&bottom0, (void*)&top1, (void*)&decimals2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13071,9 +13072,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13093,20 +13094,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13198,9 +13199,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13220,9 +13221,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13242,20 +13243,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13275,20 +13276,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13308,9 +13309,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13585,9 +13586,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13607,9 +13608,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13629,9 +13630,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13651,9 +13652,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13673,9 +13674,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13695,9 +13696,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13717,9 +13718,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13739,20 +13740,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13772,9 +13773,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13794,9 +13795,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13816,9 +13817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13838,9 +13839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13860,9 +13861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13882,9 +13883,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13904,20 +13905,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13937,20 +13938,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13970,20 +13971,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14003,9 +14004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14025,20 +14026,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14058,9 +14059,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14080,20 +14081,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14113,20 +14114,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14146,9 +14147,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14168,9 +14169,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14190,9 +14191,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14212,20 +14213,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14245,9 +14246,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14267,9 +14268,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14289,9 +14290,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14311,20 +14312,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14344,20 +14345,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14377,9 +14378,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14399,9 +14400,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14421,9 +14422,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14443,9 +14444,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14465,9 +14466,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14487,20 +14488,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14520,9 +14521,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14542,20 +14543,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14575,9 +14576,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14597,20 +14598,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14630,9 +14631,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14652,9 +14653,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14674,9 +14675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14696,20 +14697,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14729,9 +14730,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14751,20 +14752,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14784,9 +14785,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14806,9 +14807,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14828,9 +14829,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14893,9 +14894,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14915,9 +14916,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14937,9 +14938,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14959,9 +14960,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14981,9 +14982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15003,9 +15004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15025,9 +15026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15047,20 +15048,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15080,9 +15081,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15102,9 +15103,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15124,9 +15125,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15146,9 +15147,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15168,9 +15169,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15190,9 +15191,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15212,20 +15213,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15245,20 +15246,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15278,20 +15279,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15311,9 +15312,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15333,20 +15334,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15366,9 +15367,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15388,20 +15389,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15421,20 +15422,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15454,9 +15455,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15476,9 +15477,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15498,9 +15499,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15520,20 +15521,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15553,9 +15554,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15575,9 +15576,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15597,9 +15598,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15619,20 +15620,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15652,20 +15653,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15685,9 +15686,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15707,9 +15708,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15729,9 +15730,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15751,9 +15752,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15773,9 +15774,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15795,20 +15796,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15828,20 +15829,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15861,9 +15862,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15883,20 +15884,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15916,9 +15917,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15938,9 +15939,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15960,9 +15961,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15982,20 +15983,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16015,9 +16016,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16037,20 +16038,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16070,9 +16071,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16092,9 +16093,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16114,9 +16115,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16488,20 +16489,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QIcon" , "QFileIconProvider::IconType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIcon returnValue; - void* args[2] = {NULL, (void*)&type0}; + QIcon returnValue{}; + void* args[2] = {nullptr, (void*)&type0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("icon", methodInfo, result); } else { returnValue = *((QIcon*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16521,20 +16522,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QIcon" , "const QFileInfo&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIcon returnValue; - void* args[2] = {NULL, (void*)&info0}; + QIcon returnValue{}; + void* args[2] = {nullptr, (void*)&info0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("icon", methodInfo, result); } else { returnValue = *((QIcon*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16554,20 +16555,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QFileInfo&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&info0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&info0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16647,20 +16648,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16680,20 +16681,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16713,20 +16714,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16746,9 +16747,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16768,20 +16769,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16801,9 +16802,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16823,20 +16824,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16856,20 +16857,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16889,20 +16890,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16922,20 +16923,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16955,9 +16956,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16977,20 +16978,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17010,20 +17011,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17043,20 +17044,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17076,20 +17077,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17109,20 +17110,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17142,20 +17143,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17175,20 +17176,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17208,20 +17209,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + QList returnValue{}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17241,20 +17242,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17274,20 +17275,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17307,20 +17308,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17340,20 +17341,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17373,20 +17374,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&child0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17406,20 +17407,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17439,20 +17440,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17472,9 +17473,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17494,20 +17495,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17527,20 +17528,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17560,20 +17561,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17593,20 +17594,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17626,20 +17627,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17659,20 +17660,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17692,9 +17693,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17714,20 +17715,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17747,20 +17748,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17780,20 +17781,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17813,20 +17814,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17846,9 +17847,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18057,9 +18058,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18079,9 +18080,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18101,9 +18102,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18123,9 +18124,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18145,9 +18146,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18167,9 +18168,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18189,20 +18190,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18222,9 +18223,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18244,9 +18245,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18266,9 +18267,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18288,9 +18289,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18310,9 +18311,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18332,20 +18333,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18365,20 +18366,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18398,9 +18399,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18420,20 +18421,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18453,9 +18454,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18475,20 +18476,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18508,20 +18509,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18541,9 +18542,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18563,9 +18564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18585,9 +18586,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18607,20 +18608,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18640,9 +18641,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18662,9 +18663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18684,9 +18685,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18706,20 +18707,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18739,20 +18740,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18772,9 +18773,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18794,9 +18795,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18816,9 +18817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18838,9 +18839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18860,9 +18861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18882,20 +18883,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18915,20 +18916,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18948,9 +18949,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18970,20 +18971,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19003,9 +19004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19025,9 +19026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19047,20 +19048,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19080,9 +19081,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19102,20 +19103,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19135,9 +19136,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19157,9 +19158,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19179,9 +19180,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19239,9 +19240,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19261,9 +19262,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19283,9 +19284,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19305,9 +19306,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19327,9 +19328,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19349,9 +19350,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19371,20 +19372,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19404,9 +19405,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19426,9 +19427,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19448,9 +19449,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19470,9 +19471,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19492,9 +19493,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19514,20 +19515,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19547,20 +19548,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19580,9 +19581,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19602,20 +19603,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19635,9 +19636,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19657,20 +19658,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19690,20 +19691,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19723,9 +19724,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19745,9 +19746,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19767,9 +19768,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19789,9 +19790,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19811,20 +19812,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19844,9 +19845,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19866,9 +19867,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19888,9 +19889,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19910,20 +19911,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19943,20 +19944,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19976,9 +19977,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19998,9 +19999,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20020,9 +20021,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20042,9 +20043,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20064,9 +20065,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20086,20 +20087,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20119,20 +20120,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20152,9 +20153,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20174,20 +20175,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20207,9 +20208,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20229,9 +20230,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20251,20 +20252,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20284,9 +20285,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20306,9 +20307,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20328,20 +20329,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20361,9 +20362,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20383,9 +20384,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20405,9 +20406,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui1.h b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui1.h index 453d4fff3..cf8c4a286 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui1.h +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui1.h @@ -71,6 +71,7 @@ #include #include #include +#include #include #include #include @@ -82,23 +83,23 @@ class PythonQtShell_QCompleter : public QCompleter { public: - PythonQtShell_QCompleter(QAbstractItemModel* model, QObject* parent = nullptr):QCompleter(model, parent),_wrapper(NULL) {}; - PythonQtShell_QCompleter(QObject* parent = nullptr):QCompleter(parent),_wrapper(NULL) {}; - PythonQtShell_QCompleter(const QStringList& completions, QObject* parent = nullptr):QCompleter(completions, parent),_wrapper(NULL) {}; + PythonQtShell_QCompleter(QAbstractItemModel* model, QObject* parent = nullptr):QCompleter(model, parent),_wrapper(nullptr) {}; + PythonQtShell_QCompleter(QObject* parent = nullptr):QCompleter(parent),_wrapper(nullptr) {}; + PythonQtShell_QCompleter(const QStringList& completions, QObject* parent = nullptr):QCompleter(completions, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCompleter(); + ~PythonQtShell_QCompleter() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* o, QEvent* e); -virtual QString pathFromIndex(const QModelIndex& index) const; -virtual QStringList splitPath(const QString& path) const; -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* o, QEvent* e) override; +QString pathFromIndex(const QModelIndex& index) const override; +QStringList splitPath(const QString& path) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCompleter : public QCompleter @@ -123,7 +124,7 @@ public slots: QCompleter* new_QCompleter(QAbstractItemModel* model, QObject* parent = nullptr); QCompleter* new_QCompleter(QObject* parent = nullptr); QCompleter* new_QCompleter(const QStringList& completions, QObject* parent = nullptr); -void delete_QCompleter(QCompleter* obj) { delete obj; } +void delete_QCompleter(QCompleter* obj) { delete obj; } Qt::CaseSensitivity caseSensitivity(QCompleter* theWrappedObject) const; int completionColumn(QCompleter* theWrappedObject) const; int completionCount(QCompleter* theWrappedObject) const; @@ -175,7 +176,7 @@ QConicalGradient* new_QConicalGradient(const QConicalGradient& other) { QConicalGradient* a = new QConicalGradient(); *((QConicalGradient*)a) = other; return a; } -void delete_QConicalGradient(QConicalGradient* obj) { delete obj; } +void delete_QConicalGradient(QConicalGradient* obj) { delete obj; } qreal angle(QConicalGradient* theWrappedObject) const; QPointF center(QConicalGradient* theWrappedObject) const; void setAngle(QConicalGradient* theWrappedObject, qreal angle); @@ -190,14 +191,14 @@ void delete_QConicalGradient(QConicalGradient* obj) { delete obj; } class PythonQtShell_QContextMenuEvent : public QContextMenuEvent { public: - PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos):QContextMenuEvent(reason, pos),_wrapper(NULL) {}; - PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos):QContextMenuEvent(reason, pos, globalPos),_wrapper(NULL) {}; - PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers):QContextMenuEvent(reason, pos, globalPos, modifiers),_wrapper(NULL) {}; + PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos):QContextMenuEvent(reason, pos),_wrapper(nullptr) {}; + PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos):QContextMenuEvent(reason, pos, globalPos),_wrapper(nullptr) {}; + PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers):QContextMenuEvent(reason, pos, globalPos, modifiers),_wrapper(nullptr) {}; - ~PythonQtShell_QContextMenuEvent(); + ~PythonQtShell_QContextMenuEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QContextMenuEvent : public QObject @@ -210,7 +211,7 @@ public slots: QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos); QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos); QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers); -void delete_QContextMenuEvent(QContextMenuEvent* obj) { delete obj; } +void delete_QContextMenuEvent(QContextMenuEvent* obj) { delete obj; } const QPoint* globalPos(QContextMenuEvent* theWrappedObject) const; int globalX(QContextMenuEvent* theWrappedObject) const; int globalY(QContextMenuEvent* theWrappedObject) const; @@ -227,20 +228,20 @@ void delete_QContextMenuEvent(QContextMenuEvent* obj) { delete obj; } class PythonQtShell_QDataWidgetMapper : public QDataWidgetMapper { public: - PythonQtShell_QDataWidgetMapper(QObject* parent = nullptr):QDataWidgetMapper(parent),_wrapper(NULL) {}; + PythonQtShell_QDataWidgetMapper(QObject* parent = nullptr):QDataWidgetMapper(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QDataWidgetMapper(); + ~PythonQtShell_QDataWidgetMapper() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void setCurrentIndex(int index); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setCurrentIndex(int index) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDataWidgetMapper : public QDataWidgetMapper @@ -253,7 +254,7 @@ class PythonQtWrapper_QDataWidgetMapper : public QObject public: public slots: QDataWidgetMapper* new_QDataWidgetMapper(QObject* parent = nullptr); -void delete_QDataWidgetMapper(QDataWidgetMapper* obj) { delete obj; } +void delete_QDataWidgetMapper(QDataWidgetMapper* obj) { delete obj; } void addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section); void addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section, const QByteArray& propertyName); void clearMapping(QDataWidgetMapper* theWrappedObject); @@ -282,67 +283,67 @@ void delete_QDataWidgetMapper(QDataWidgetMapper* obj) { delete obj; } class PythonQtShell_QDateEdit : public QDateEdit { public: - PythonQtShell_QDateEdit(QWidget* parent = nullptr):QDateEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QDateEdit(const QDate& date, QWidget* parent = nullptr):QDateEdit(date, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDateEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual QDateTime dateTimeFromText(const QString& text) const; -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -virtual QString textFromDateTime(const QDateTime& dt) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDateEdit(QWidget* parent = nullptr):QDateEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QDateEdit(const QDate& date, QWidget* parent = nullptr):QDateEdit(date, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDateEdit() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +QDateTime dateTimeFromText(const QString& text) const override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& input) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromDateTime(const QDateTime& dt) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDateEdit : public QObject @@ -351,7 +352,7 @@ class PythonQtWrapper_QDateEdit : public QObject public slots: QDateEdit* new_QDateEdit(QWidget* parent = nullptr); QDateEdit* new_QDateEdit(const QDate& date, QWidget* parent = nullptr); -void delete_QDateEdit(QDateEdit* obj) { delete obj; } +void delete_QDateEdit(QDateEdit* obj) { delete obj; } }; @@ -361,70 +362,70 @@ void delete_QDateEdit(QDateEdit* obj) { delete obj; } class PythonQtShell_QDateTimeEdit : public QDateTimeEdit { public: - PythonQtShell_QDateTimeEdit(QWidget* parent = nullptr):QDateTimeEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QDate& d, QWidget* parent = nullptr):QDateTimeEdit(d, parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QDateTime& dt, QWidget* parent = nullptr):QDateTimeEdit(dt, parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QTime& t, QWidget* parent = nullptr):QDateTimeEdit(t, parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QVariant& val, QVariant::Type parserType, QWidget* parent = nullptr):QDateTimeEdit(val, parserType, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDateTimeEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual QDateTime dateTimeFromText(const QString& text) const; -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -virtual QString textFromDateTime(const QDateTime& dt) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDateTimeEdit(QWidget* parent = nullptr):QDateTimeEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QDateTimeEdit(const QDate& d, QWidget* parent = nullptr):QDateTimeEdit(d, parent),_wrapper(nullptr) {}; + PythonQtShell_QDateTimeEdit(const QDateTime& dt, QWidget* parent = nullptr):QDateTimeEdit(dt, parent),_wrapper(nullptr) {}; + PythonQtShell_QDateTimeEdit(const QTime& t, QWidget* parent = nullptr):QDateTimeEdit(t, parent),_wrapper(nullptr) {}; + PythonQtShell_QDateTimeEdit(const QVariant& val, QVariant::Type parserType, QWidget* parent = nullptr):QDateTimeEdit(val, parserType, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDateTimeEdit() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +QDateTime dateTimeFromText(const QString& text) const override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& input) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromDateTime(const QDateTime& dt) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDateTimeEdit : public QDateTimeEdit @@ -472,7 +473,7 @@ QDateTimeEdit* new_QDateTimeEdit(const QDate& d, QWidget* parent = nullptr); QDateTimeEdit* new_QDateTimeEdit(const QDateTime& dt, QWidget* parent = nullptr); QDateTimeEdit* new_QDateTimeEdit(const QTime& t, QWidget* parent = nullptr); QDateTimeEdit* new_QDateTimeEdit(const QVariant& val, QVariant::Type parserType, QWidget* parent = nullptr); -void delete_QDateTimeEdit(QDateTimeEdit* obj) { delete obj; } +void delete_QDateTimeEdit(QDateTimeEdit* obj) { delete obj; } bool calendarPopup(QDateTimeEdit* theWrappedObject) const; QCalendarWidget* calendarWidget(QDateTimeEdit* theWrappedObject) const; void py_q_clear(QDateTimeEdit* theWrappedObject){ (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_clear());} @@ -541,12 +542,12 @@ void delete_QDateTimeEdit(QDateTimeEdit* obj) { delete obj; } class PythonQtShell_QDesktopServices : public QDesktopServices { public: - PythonQtShell_QDesktopServices():QDesktopServices(),_wrapper(NULL) {}; + PythonQtShell_QDesktopServices():QDesktopServices(),_wrapper(nullptr) {}; ~PythonQtShell_QDesktopServices(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDesktopServices : public QObject @@ -554,7 +555,7 @@ class PythonQtWrapper_QDesktopServices : public QObject public: public slots: QDesktopServices* new_QDesktopServices(); -void delete_QDesktopServices(QDesktopServices* obj) { delete obj; } +void delete_QDesktopServices(QDesktopServices* obj) { delete obj; } bool static_QDesktopServices_openUrl(const QUrl& url); void static_QDesktopServices_setUrlHandler(const QString& scheme, QObject* receiver, const char* method); void static_QDesktopServices_unsetUrlHandler(const QString& scheme); @@ -567,59 +568,59 @@ void delete_QDesktopServices(QDesktopServices* obj) { delete obj; } class PythonQtShell_QDesktopWidget : public QDesktopWidget { public: - PythonQtShell_QDesktopWidget():QDesktopWidget(),_wrapper(NULL) {}; - - ~PythonQtShell_QDesktopWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDesktopWidget():QDesktopWidget(),_wrapper(nullptr) {}; + + ~PythonQtShell_QDesktopWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* e) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDesktopWidget : public QDesktopWidget @@ -633,7 +634,7 @@ class PythonQtWrapper_QDesktopWidget : public QObject public: public slots: QDesktopWidget* new_QDesktopWidget(); -void delete_QDesktopWidget(QDesktopWidget* obj) { delete obj; } +void delete_QDesktopWidget(QDesktopWidget* obj) { delete obj; } const QRect availableGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const; const QRect availableGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const; const QRect availableGeometry(QDesktopWidget* theWrappedObject, int screen = -1) const; @@ -657,60 +658,60 @@ void delete_QDesktopWidget(QDesktopWidget* obj) { delete obj; } class PythonQtShell_QDial : public QDial { public: - PythonQtShell_QDial(QWidget* parent = nullptr):QDial(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDial(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* me); -virtual void mousePressEvent(QMouseEvent* me); -virtual void mouseReleaseEvent(QMouseEvent* me); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* pe); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* re); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void sliderChange(QAbstractSlider::SliderChange change); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDial(QWidget* parent = nullptr):QDial(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDial() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* me) override; +void mousePressEvent(QMouseEvent* me) override; +void mouseReleaseEvent(QMouseEvent* me) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* pe) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* re) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void sliderChange(QAbstractSlider::SliderChange change) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDial : public QDial @@ -739,7 +740,7 @@ class PythonQtWrapper_QDial : public QObject public: public slots: QDial* new_QDial(QWidget* parent = nullptr); -void delete_QDial(QDial* obj) { delete obj; } +void delete_QDial(QDial* obj) { delete obj; } bool py_q_event(QDial* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QDial*)theWrappedObject)->py_q_event(e));} void initStyleOption(QDial* theWrappedObject, QStyleOptionSlider* option) const; QSize minimumSizeHint(QDial* theWrappedObject) const; @@ -766,64 +767,64 @@ void delete_QDial(QDial* obj) { delete obj; } class PythonQtShell_QDialog : public QDialog { public: - PythonQtShell_QDialog(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QDialog(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDialog(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QDialog(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int arg__1) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void open() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDialog : public QDialog @@ -859,7 +860,7 @@ enum DialogCode{ Rejected = QDialog::Rejected, Accepted = QDialog::Accepted}; public slots: QDialog* new_QDialog(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QDialog(QDialog* obj) { delete obj; } +void delete_QDialog(QDialog* obj) { delete obj; } void py_q_accept(QDialog* theWrappedObject){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_accept());} void adjustPosition(QDialog* theWrappedObject, QWidget* arg__1); void py_q_closeEvent(QDialog* theWrappedObject, QCloseEvent* arg__1){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_closeEvent(arg__1));} @@ -891,62 +892,62 @@ void delete_QDialog(QDialog* obj) { delete obj; } class PythonQtShell_QDialogButtonBox : public QDialogButtonBox { public: - PythonQtShell_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, QWidget* parent = nullptr):QDialogButtonBox(buttons, parent),_wrapper(NULL) {}; - PythonQtShell_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget* parent = nullptr):QDialogButtonBox(buttons, orientation, parent),_wrapper(NULL) {}; - PythonQtShell_QDialogButtonBox(QWidget* parent = nullptr):QDialogButtonBox(parent),_wrapper(NULL) {}; - PythonQtShell_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent = nullptr):QDialogButtonBox(orientation, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDialogButtonBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, QWidget* parent = nullptr):QDialogButtonBox(buttons, parent),_wrapper(nullptr) {}; + PythonQtShell_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget* parent = nullptr):QDialogButtonBox(buttons, orientation, parent),_wrapper(nullptr) {}; + PythonQtShell_QDialogButtonBox(QWidget* parent = nullptr):QDialogButtonBox(parent),_wrapper(nullptr) {}; + PythonQtShell_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent = nullptr):QDialogButtonBox(orientation, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDialogButtonBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDialogButtonBox : public QDialogButtonBox @@ -974,7 +975,7 @@ QDialogButtonBox* new_QDialogButtonBox(QDialogButtonBox::StandardButtons button QDialogButtonBox* new_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget* parent = nullptr); QDialogButtonBox* new_QDialogButtonBox(QWidget* parent = nullptr); QDialogButtonBox* new_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent = nullptr); -void delete_QDialogButtonBox(QDialogButtonBox* obj) { delete obj; } +void delete_QDialogButtonBox(QDialogButtonBox* obj) { delete obj; } void addButton(QDialogButtonBox* theWrappedObject, PythonQtPassOwnershipToCPP button, QDialogButtonBox::ButtonRole role); QPushButton* addButton(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButton button); QPushButton* addButton(QDialogButtonBox* theWrappedObject, const QString& text, QDialogButtonBox::ButtonRole role); @@ -1001,54 +1002,54 @@ void delete_QDialogButtonBox(QDialogButtonBox* obj) { delete obj; } class PythonQtShell_QDirModel : public QDirModel { public: - PythonQtShell_QDirModel(QObject* parent = nullptr):QDirModel(parent),_wrapper(NULL) {}; - PythonQtShell_QDirModel(const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject* parent = nullptr):QDirModel(nameFilters, filters, sort, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDirModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* event); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* event); -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& index = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDirModel(QObject* parent = nullptr):QDirModel(parent),_wrapper(nullptr) {}; + PythonQtShell_QDirModel(const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject* parent = nullptr):QDirModel(nameFilters, filters, sort, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDirModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& index = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDirModel : public QDirModel @@ -1078,7 +1079,7 @@ enum Roles{ public slots: QDirModel* new_QDirModel(QObject* parent = nullptr); QDirModel* new_QDirModel(const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject* parent = nullptr); -void delete_QDirModel(QDirModel* obj) { delete obj; } +void delete_QDirModel(QDirModel* obj) { delete obj; } int py_q_columnCount(QDirModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_columnCount(parent));} QVariant py_q_data(QDirModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_data(index, role));} bool py_q_dropMimeData(QDirModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} @@ -1125,60 +1126,60 @@ void delete_QDirModel(QDirModel* obj) { delete obj; } class PythonQtShell_QDockWidget : public QDockWidget { public: - PythonQtShell_QDockWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QDockWidget(parent, flags),_wrapper(NULL) {}; - PythonQtShell_QDockWidget(const QString& title, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QDockWidget(title, parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QDockWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDockWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QDockWidget(parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QDockWidget(const QString& title, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QDockWidget(title, parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QDockWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDockWidget : public QDockWidget @@ -1205,7 +1206,7 @@ Q_DECLARE_FLAGS(DockWidgetFeatures, DockWidgetFeature) public slots: QDockWidget* new_QDockWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); QDockWidget* new_QDockWidget(const QString& title, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QDockWidget(QDockWidget* obj) { delete obj; } +void delete_QDockWidget(QDockWidget* obj) { delete obj; } Qt::DockWidgetAreas allowedAreas(QDockWidget* theWrappedObject) const; void py_q_changeEvent(QDockWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->py_q_changeEvent(event));} void py_q_closeEvent(QDockWidget* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->py_q_closeEvent(event));} @@ -1232,66 +1233,66 @@ void delete_QDockWidget(QDockWidget* obj) { delete obj; } class PythonQtShell_QDoubleSpinBox : public QDoubleSpinBox { public: - PythonQtShell_QDoubleSpinBox(QWidget* parent = nullptr):QDoubleSpinBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDoubleSpinBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fixup(QString& str) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -virtual QString textFromValue(double val) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual double valueFromText(const QString& text) const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDoubleSpinBox(QWidget* parent = nullptr):QDoubleSpinBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDoubleSpinBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& str) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromValue(double val) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +double valueFromText(const QString& text) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDoubleSpinBox : public QDoubleSpinBox @@ -1307,7 +1308,7 @@ class PythonQtWrapper_QDoubleSpinBox : public QObject public: public slots: QDoubleSpinBox* new_QDoubleSpinBox(QWidget* parent = nullptr); -void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; } +void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; } QString cleanText(QDoubleSpinBox* theWrappedObject) const; int decimals(QDoubleSpinBox* theWrappedObject) const; void py_q_fixup(QDoubleSpinBox* theWrappedObject, QString& str) const{ (((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->py_q_fixup(str));} @@ -1338,23 +1339,23 @@ void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; } class PythonQtShell_QDoubleValidator : public QDoubleValidator { public: - PythonQtShell_QDoubleValidator(QObject* parent = nullptr):QDoubleValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QDoubleValidator(double bottom, double top, int decimals, QObject* parent = nullptr):QDoubleValidator(bottom, top, decimals, parent),_wrapper(NULL) {}; + PythonQtShell_QDoubleValidator(QObject* parent = nullptr):QDoubleValidator(parent),_wrapper(nullptr) {}; + PythonQtShell_QDoubleValidator(double bottom, double top, int decimals, QObject* parent = nullptr):QDoubleValidator(bottom, top, decimals, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QDoubleValidator(); + ~PythonQtShell_QDoubleValidator() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fixup(QString& arg__1) const; -virtual void setRange(double bottom, double top, int decimals = 0); -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& arg__1, int& arg__2) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& arg__1) const override; +void setRange(double bottom, double top, int decimals = 0) override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& arg__1, int& arg__2) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDoubleValidator : public QDoubleValidator @@ -1369,7 +1370,7 @@ class PythonQtWrapper_QDoubleValidator : public QObject public slots: QDoubleValidator* new_QDoubleValidator(QObject* parent = nullptr); QDoubleValidator* new_QDoubleValidator(double bottom, double top, int decimals, QObject* parent = nullptr); -void delete_QDoubleValidator(QDoubleValidator* obj) { delete obj; } +void delete_QDoubleValidator(QDoubleValidator* obj) { delete obj; } double bottom(QDoubleValidator* theWrappedObject) const; int decimals(QDoubleValidator* theWrappedObject) const; QDoubleValidator::Notation notation(QDoubleValidator* theWrappedObject) const; @@ -1390,19 +1391,19 @@ void delete_QDoubleValidator(QDoubleValidator* obj) { delete obj; } class PythonQtShell_QDrag : public QDrag { public: - PythonQtShell_QDrag(QObject* dragSource):QDrag(dragSource),_wrapper(NULL) {}; + PythonQtShell_QDrag(QObject* dragSource):QDrag(dragSource),_wrapper(nullptr) {}; - ~PythonQtShell_QDrag(); + ~PythonQtShell_QDrag() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDrag : public QObject @@ -1410,7 +1411,7 @@ class PythonQtWrapper_QDrag : public QObject public: public slots: QDrag* new_QDrag(QObject* dragSource); -void delete_QDrag(QDrag* obj) { delete obj; } +void delete_QDrag(QDrag* obj) { delete obj; } void static_QDrag_cancel(); Qt::DropAction defaultAction(QDrag* theWrappedObject) const; QPixmap dragCursor(QDrag* theWrappedObject, Qt::DropAction action) const; @@ -1437,7 +1438,7 @@ class PythonQtWrapper_QDragEnterEvent : public QObject public: public slots: QDragEnterEvent* new_QDragEnterEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); -void delete_QDragEnterEvent(QDragEnterEvent* obj) { delete obj; } +void delete_QDragEnterEvent(QDragEnterEvent* obj) { delete obj; } }; @@ -1449,7 +1450,7 @@ class PythonQtWrapper_QDragLeaveEvent : public QObject public: public slots: QDragLeaveEvent* new_QDragLeaveEvent(); -void delete_QDragLeaveEvent(QDragLeaveEvent* obj) { delete obj; } +void delete_QDragLeaveEvent(QDragLeaveEvent* obj) { delete obj; } }; @@ -1459,12 +1460,12 @@ void delete_QDragLeaveEvent(QDragLeaveEvent* obj) { delete obj; } class PythonQtShell_QDragMoveEvent : public QDragMoveEvent { public: - PythonQtShell_QDragMoveEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::DragMove):QDragMoveEvent(pos, actions, data, buttons, modifiers, type),_wrapper(NULL) {}; + PythonQtShell_QDragMoveEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::DragMove):QDragMoveEvent(pos, actions, data, buttons, modifiers, type),_wrapper(nullptr) {}; - ~PythonQtShell_QDragMoveEvent(); + ~PythonQtShell_QDragMoveEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDragMoveEvent : public QObject @@ -1472,7 +1473,7 @@ class PythonQtWrapper_QDragMoveEvent : public QObject public: public slots: QDragMoveEvent* new_QDragMoveEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::DragMove); -void delete_QDragMoveEvent(QDragMoveEvent* obj) { delete obj; } +void delete_QDragMoveEvent(QDragMoveEvent* obj) { delete obj; } void accept(QDragMoveEvent* theWrappedObject, const QRect& r); QRect answerRect(QDragMoveEvent* theWrappedObject) const; void ignore(QDragMoveEvent* theWrappedObject, const QRect& r); @@ -1485,12 +1486,12 @@ void delete_QDragMoveEvent(QDragMoveEvent* obj) { delete obj; } class PythonQtShell_QDropEvent : public QDropEvent { public: - PythonQtShell_QDropEvent(const QPointF& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop):QDropEvent(pos, actions, data, buttons, modifiers, type),_wrapper(NULL) {}; + PythonQtShell_QDropEvent(const QPointF& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop):QDropEvent(pos, actions, data, buttons, modifiers, type),_wrapper(nullptr) {}; - ~PythonQtShell_QDropEvent(); + ~PythonQtShell_QDropEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDropEvent : public QObject @@ -1498,7 +1499,7 @@ class PythonQtWrapper_QDropEvent : public QObject public: public slots: QDropEvent* new_QDropEvent(const QPointF& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop); -void delete_QDropEvent(QDropEvent* obj) { delete obj; } +void delete_QDropEvent(QDropEvent* obj) { delete obj; } void acceptProposedAction(QDropEvent* theWrappedObject); Qt::DropAction dropAction(QDropEvent* theWrappedObject) const; Qt::KeyboardModifiers keyboardModifiers(QDropEvent* theWrappedObject) const; @@ -1519,12 +1520,12 @@ void delete_QDropEvent(QDropEvent* obj) { delete obj; } class PythonQtShell_QEnterEvent : public QEnterEvent { public: - PythonQtShell_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos):QEnterEvent(localPos, windowPos, screenPos),_wrapper(NULL) {}; + PythonQtShell_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos):QEnterEvent(localPos, windowPos, screenPos),_wrapper(nullptr) {}; - ~PythonQtShell_QEnterEvent(); + ~PythonQtShell_QEnterEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QEnterEvent : public QObject @@ -1532,7 +1533,7 @@ class PythonQtWrapper_QEnterEvent : public QObject public: public slots: QEnterEvent* new_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos); -void delete_QEnterEvent(QEnterEvent* obj) { delete obj; } +void delete_QEnterEvent(QEnterEvent* obj) { delete obj; } QPoint globalPos(QEnterEvent* theWrappedObject) const; int globalX(QEnterEvent* theWrappedObject) const; int globalY(QEnterEvent* theWrappedObject) const; @@ -1551,64 +1552,64 @@ void delete_QEnterEvent(QEnterEvent* obj) { delete obj; } class PythonQtShell_QErrorMessage : public QErrorMessage { public: - PythonQtShell_QErrorMessage(QWidget* parent = nullptr):QErrorMessage(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QErrorMessage(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QErrorMessage(QWidget* parent = nullptr):QErrorMessage(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QErrorMessage() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int arg__1) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void open() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QErrorMessage : public QErrorMessage @@ -1624,7 +1625,7 @@ class PythonQtWrapper_QErrorMessage : public QObject public: public slots: QErrorMessage* new_QErrorMessage(QWidget* parent = nullptr); -void delete_QErrorMessage(QErrorMessage* obj) { delete obj; } +void delete_QErrorMessage(QErrorMessage* obj) { delete obj; } void py_q_changeEvent(QErrorMessage* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QErrorMessage*)theWrappedObject)->py_q_changeEvent(e));} void py_q_done(QErrorMessage* theWrappedObject, int arg__1){ (((PythonQtPublicPromoter_QErrorMessage*)theWrappedObject)->py_q_done(arg__1));} QErrorMessage* static_QErrorMessage_qtHandler(); @@ -1637,12 +1638,12 @@ void delete_QErrorMessage(QErrorMessage* obj) { delete obj; } class PythonQtShell_QExposeEvent : public QExposeEvent { public: - PythonQtShell_QExposeEvent(const QRegion& rgn):QExposeEvent(rgn),_wrapper(NULL) {}; + PythonQtShell_QExposeEvent(const QRegion& rgn):QExposeEvent(rgn),_wrapper(nullptr) {}; - ~PythonQtShell_QExposeEvent(); + ~PythonQtShell_QExposeEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QExposeEvent : public QObject @@ -1650,7 +1651,7 @@ class PythonQtWrapper_QExposeEvent : public QObject public: public slots: QExposeEvent* new_QExposeEvent(const QRegion& rgn); -void delete_QExposeEvent(QExposeEvent* obj) { delete obj; } +void delete_QExposeEvent(QExposeEvent* obj) { delete obj; } const QRegion* region(QExposeEvent* theWrappedObject) const; }; @@ -1661,64 +1662,64 @@ void delete_QExposeEvent(QExposeEvent* obj) { delete obj; } class PythonQtShell_QFileDialog : public QFileDialog { public: - PythonQtShell_QFileDialog(QWidget* parent, Qt::WindowFlags f):QFileDialog(parent, f),_wrapper(NULL) {}; - PythonQtShell_QFileDialog(QWidget* parent = nullptr, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString()):QFileDialog(parent, caption, directory, filter),_wrapper(NULL) {}; - - ~PythonQtShell_QFileDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFileDialog(QWidget* parent, Qt::WindowFlags f):QFileDialog(parent, f),_wrapper(nullptr) {}; + PythonQtShell_QFileDialog(QWidget* parent = nullptr, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString()):QFileDialog(parent, caption, directory, filter),_wrapper(nullptr) {}; + + ~PythonQtShell_QFileDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFileDialog : public QFileDialog @@ -1745,7 +1746,7 @@ Q_DECLARE_FLAGS(Options, Option) public slots: QFileDialog* new_QFileDialog(QWidget* parent, Qt::WindowFlags f); QFileDialog* new_QFileDialog(QWidget* parent = nullptr, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString()); -void delete_QFileDialog(QFileDialog* obj) { delete obj; } +void delete_QFileDialog(QFileDialog* obj) { delete obj; } void py_q_accept(QFileDialog* theWrappedObject){ (((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->py_q_accept());} QFileDialog::AcceptMode acceptMode(QFileDialog* theWrappedObject) const; void py_q_changeEvent(QFileDialog* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->py_q_changeEvent(e));} @@ -1824,15 +1825,15 @@ void delete_QFileDialog(QFileDialog* obj) { delete obj; } class PythonQtShell_QFileIconProvider : public QFileIconProvider { public: - PythonQtShell_QFileIconProvider():QFileIconProvider(),_wrapper(NULL) {}; + PythonQtShell_QFileIconProvider():QFileIconProvider(),_wrapper(nullptr) {}; - ~PythonQtShell_QFileIconProvider(); + ~PythonQtShell_QFileIconProvider() override; -virtual QIcon icon(QFileIconProvider::IconType type) const; -virtual QIcon icon(const QFileInfo& info) const; -virtual QString type(const QFileInfo& info) const; +QIcon icon(QFileIconProvider::IconType type) const override; +QIcon icon(const QFileInfo& info) const override; +QString type(const QFileInfo& info) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFileIconProvider : public QFileIconProvider @@ -1854,7 +1855,7 @@ enum Option{ Q_DECLARE_FLAGS(Options, Option) public slots: QFileIconProvider* new_QFileIconProvider(); -void delete_QFileIconProvider(QFileIconProvider* obj) { delete obj; } +void delete_QFileIconProvider(QFileIconProvider* obj) { delete obj; } QIcon icon(QFileIconProvider* theWrappedObject, QFileIconProvider::IconType type) const; QIcon py_q_icon(QFileIconProvider* theWrappedObject, QFileIconProvider::IconType type) const{ return (((PythonQtPublicPromoter_QFileIconProvider*)theWrappedObject)->py_q_icon(type));} QIcon icon(QFileIconProvider* theWrappedObject, const QFileInfo& info) const; @@ -1875,7 +1876,7 @@ class PythonQtWrapper_QFileOpenEvent : public QObject public slots: QFileOpenEvent* new_QFileOpenEvent(const QString& file); QFileOpenEvent* new_QFileOpenEvent(const QUrl& url); -void delete_QFileOpenEvent(QFileOpenEvent* obj) { delete obj; } +void delete_QFileOpenEvent(QFileOpenEvent* obj) { delete obj; } QString file(QFileOpenEvent* theWrappedObject) const; bool openFile(QFileOpenEvent* theWrappedObject, QFile& file, QIODevice::OpenMode flags) const; QUrl url(QFileOpenEvent* theWrappedObject) const; @@ -1888,53 +1889,53 @@ void delete_QFileOpenEvent(QFileOpenEvent* obj) { delete obj; } class PythonQtShell_QFileSystemModel : public QFileSystemModel { public: - PythonQtShell_QFileSystemModel(QObject* parent = nullptr):QFileSystemModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFileSystemModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* event); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* event); -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFileSystemModel(QObject* parent = nullptr):QFileSystemModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFileSystemModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFileSystemModel : public QFileSystemModel @@ -1970,7 +1971,7 @@ enum Roles{ FileIconRole = QFileSystemModel::FileIconRole, FilePathRole = QFileSystemModel::FilePathRole, FileNameRole = QFileSystemModel::FileNameRole, FilePermissions = QFileSystemModel::FilePermissions}; public slots: QFileSystemModel* new_QFileSystemModel(QObject* parent = nullptr); -void delete_QFileSystemModel(QFileSystemModel* obj) { delete obj; } +void delete_QFileSystemModel(QFileSystemModel* obj) { delete obj; } bool py_q_canFetchMore(QFileSystemModel* theWrappedObject, const QModelIndex& parent) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_canFetchMore(parent));} int py_q_columnCount(QFileSystemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_columnCount(parent));} QVariant py_q_data(QFileSystemModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_data(index, role));} @@ -2030,7 +2031,7 @@ class PythonQtWrapper_QFocusEvent : public QObject public: public slots: QFocusEvent* new_QFocusEvent(QEvent::Type type, Qt::FocusReason reason = Qt::OtherFocusReason); -void delete_QFocusEvent(QFocusEvent* obj) { delete obj; } +void delete_QFocusEvent(QFocusEvent* obj) { delete obj; } bool gotFocus(QFocusEvent* theWrappedObject) const; bool lostFocus(QFocusEvent* theWrappedObject) const; Qt::FocusReason reason(QFocusEvent* theWrappedObject) const; @@ -2043,59 +2044,59 @@ void delete_QFocusEvent(QFocusEvent* obj) { delete obj; } class PythonQtShell_QFocusFrame : public QFocusFrame { public: - PythonQtShell_QFocusFrame(QWidget* parent = nullptr):QFocusFrame(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFocusFrame(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFocusFrame(QWidget* parent = nullptr):QFocusFrame(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFocusFrame() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFocusFrame : public QFocusFrame @@ -2114,7 +2115,7 @@ class PythonQtWrapper_QFocusFrame : public QObject public: public slots: QFocusFrame* new_QFocusFrame(QWidget* parent = nullptr); -void delete_QFocusFrame(QFocusFrame* obj) { delete obj; } +void delete_QFocusFrame(QFocusFrame* obj) { delete obj; } bool py_q_event(QFocusFrame* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->py_q_event(e));} bool py_q_eventFilter(QFocusFrame* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} void initStyleOption(QFocusFrame* theWrappedObject, QStyleOption* option) const; @@ -2130,61 +2131,61 @@ void delete_QFocusFrame(QFocusFrame* obj) { delete obj; } class PythonQtShell_QFontComboBox : public QFontComboBox { public: - PythonQtShell_QFontComboBox(QWidget* parent = nullptr):QFontComboBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFontComboBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* e); -virtual void hidePopup(); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* e); -virtual void showPopup(); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFontComboBox(QWidget* parent = nullptr):QFontComboBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFontComboBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* e) override; +void hidePopup() override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* e) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* e) override; +void showPopup() override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFontComboBox : public QFontComboBox @@ -2204,7 +2205,7 @@ enum FontFilter{ Q_DECLARE_FLAGS(FontFilters, FontFilter) public slots: QFontComboBox* new_QFontComboBox(QWidget* parent = nullptr); -void delete_QFontComboBox(QFontComboBox* obj) { delete obj; } +void delete_QFontComboBox(QFontComboBox* obj) { delete obj; } QFont currentFont(QFontComboBox* theWrappedObject) const; bool py_q_event(QFontComboBox* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QFontComboBox*)theWrappedObject)->py_q_event(e));} QFontComboBox::FontFilters fontFilters(QFontComboBox* theWrappedObject) const; 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..da5af3b2b 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 @@ -82,6 +82,7 @@ #include #include #include +#include #include #include #include @@ -101,20 +102,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSurfaceFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurfaceFormat returnValue; - void* args[1] = {NULL}; + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -134,20 +135,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -167,20 +168,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPlatformSurface*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPlatformSurface* returnValue; - void* args[1] = {NULL}; + QPlatformSurface* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surfaceHandle", methodInfo, result); } else { returnValue = *((QPlatformSurface**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -188,7 +189,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QSurface::SurfaceType PythonQtShell_QSurface::surfaceType() const { @@ -200,20 +201,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSurface::SurfaceType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurface::SurfaceType returnValue; - void* args[1] = {NULL}; + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); } else { returnValue = *((QSurface::SurfaceType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -316,6 +317,11 @@ int PythonQtWrapper_QSurfaceFormat::minorVersion(QSurfaceFormat* theWrappedObje return ( theWrappedObject->minorVersion()); } +bool PythonQtWrapper_QSurfaceFormat::__ne__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::operator_assign(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& other) { return &( (*theWrappedObject)= other); @@ -509,9 +515,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -531,9 +537,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -553,20 +559,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -586,20 +592,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -619,9 +625,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -684,9 +690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -706,9 +712,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -728,20 +734,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -761,20 +767,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -794,9 +800,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&text0}; + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -816,9 +822,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -930,9 +936,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -952,9 +958,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -974,20 +980,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1007,20 +1013,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1040,9 +1046,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1139,9 +1145,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1161,9 +1167,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1183,9 +1189,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1205,9 +1211,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1227,9 +1233,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1249,9 +1255,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1271,20 +1277,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1304,9 +1310,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1326,9 +1332,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1348,9 +1354,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1370,9 +1376,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1392,9 +1398,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1414,20 +1420,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1447,20 +1453,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1480,9 +1486,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1502,20 +1508,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1535,9 +1541,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1557,20 +1563,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1590,20 +1596,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1623,9 +1629,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1645,9 +1651,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1667,9 +1673,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1689,20 +1695,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1722,9 +1728,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1744,9 +1750,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1766,9 +1772,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1788,20 +1794,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1821,20 +1827,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1854,20 +1860,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumTabSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1887,9 +1893,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1909,9 +1915,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1931,9 +1937,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1953,9 +1959,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1975,9 +1981,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1997,20 +2003,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2030,20 +2036,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2063,9 +2069,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2085,20 +2091,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2118,9 +2124,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2140,9 +2146,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2162,20 +2168,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2195,9 +2201,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2217,20 +2223,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2250,9 +2256,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2272,9 +2278,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2294,9 +2300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2316,20 +2322,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("tabSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2349,9 +2355,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2371,9 +2377,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2393,9 +2399,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2738,9 +2744,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2760,9 +2766,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2782,9 +2788,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2804,9 +2810,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2826,9 +2832,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2848,9 +2854,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2870,20 +2876,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2903,9 +2909,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2925,9 +2931,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2947,9 +2953,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2969,9 +2975,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2991,9 +2997,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3013,20 +3019,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3046,20 +3052,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3079,9 +3085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3101,20 +3107,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3134,9 +3140,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3156,20 +3162,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3189,20 +3195,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&width0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&width0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3222,9 +3228,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3244,9 +3250,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3266,9 +3272,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3288,20 +3294,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3321,9 +3327,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3343,9 +3349,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3365,9 +3371,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3387,20 +3393,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3420,20 +3426,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3453,9 +3459,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3475,9 +3481,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3497,9 +3503,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3519,9 +3525,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3541,9 +3547,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3563,20 +3569,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3596,20 +3602,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3629,9 +3635,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3651,20 +3657,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3684,9 +3690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3706,9 +3712,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3728,20 +3734,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3761,9 +3767,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3783,20 +3789,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3816,9 +3822,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3838,9 +3844,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3860,9 +3866,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3882,9 +3888,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3904,9 +3910,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4189,9 +4195,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4211,9 +4217,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4233,9 +4239,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4255,9 +4261,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4277,9 +4283,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4299,9 +4305,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4321,9 +4327,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4343,9 +4349,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4365,9 +4371,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4387,9 +4393,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4409,20 +4415,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4442,9 +4448,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4464,9 +4470,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4486,9 +4492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4508,9 +4514,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4530,9 +4536,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4552,20 +4558,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4585,9 +4591,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4607,9 +4613,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4629,20 +4635,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4662,20 +4668,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4695,9 +4701,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4717,20 +4723,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4750,9 +4756,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4772,20 +4778,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4805,20 +4811,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4838,9 +4844,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4860,20 +4866,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4893,9 +4899,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4915,9 +4921,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4937,20 +4943,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4970,9 +4976,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4992,9 +4998,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5014,20 +5020,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5047,20 +5053,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5080,9 +5086,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5102,9 +5108,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5124,9 +5130,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5146,9 +5152,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5168,20 +5174,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5201,20 +5207,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5234,9 +5240,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5256,9 +5262,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5278,9 +5284,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5300,9 +5306,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5322,20 +5328,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5355,9 +5361,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5377,20 +5383,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5410,20 +5416,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5443,9 +5449,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5465,20 +5471,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5498,9 +5504,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5520,9 +5526,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5542,9 +5548,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5564,9 +5570,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5586,9 +5592,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5608,9 +5614,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5630,9 +5636,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5652,20 +5658,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5685,9 +5691,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5707,20 +5713,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5740,9 +5746,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5762,9 +5768,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5784,9 +5790,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5806,9 +5812,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5828,9 +5834,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5850,9 +5856,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5872,20 +5878,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5905,9 +5911,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5927,20 +5933,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5960,20 +5966,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&column0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5993,20 +5999,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&row0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6026,9 +6032,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6048,9 +6054,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6070,9 +6076,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6092,9 +6098,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6114,9 +6120,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6136,9 +6142,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6158,20 +6164,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6191,9 +6197,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6213,9 +6219,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6235,20 +6241,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6268,20 +6274,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6301,20 +6307,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6334,20 +6340,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6367,20 +6373,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6400,9 +6406,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6595,9 +6601,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6617,9 +6623,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6639,9 +6645,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6661,9 +6667,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6683,9 +6689,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6705,9 +6711,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6727,9 +6733,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6749,9 +6755,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6771,9 +6777,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6793,9 +6799,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6815,20 +6821,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6848,9 +6854,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6870,9 +6876,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6892,9 +6898,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6914,9 +6920,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6936,9 +6942,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6958,20 +6964,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QMimeData*" , "Qt::DropAction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)&row0, (void*)&column1, (void*)&data2, (void*)&action3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)&row0, (void*)&column1, (void*)&data2, (void*)&action3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6991,20 +6997,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7024,9 +7030,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7046,9 +7052,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7068,20 +7074,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7101,20 +7107,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7134,9 +7140,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7156,20 +7162,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7189,9 +7195,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7211,20 +7217,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7244,20 +7250,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7277,9 +7283,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7299,20 +7305,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7332,9 +7338,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7354,9 +7360,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7376,20 +7382,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7409,9 +7415,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7431,9 +7437,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7453,20 +7459,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7486,20 +7492,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7519,9 +7525,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7541,9 +7547,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7563,9 +7569,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7585,9 +7591,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7607,20 +7613,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7640,20 +7646,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&items0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&items0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7673,20 +7679,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7706,20 +7712,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7739,9 +7745,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7761,9 +7767,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7783,9 +7789,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7805,9 +7811,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7827,20 +7833,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7860,9 +7866,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7882,20 +7888,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7915,20 +7921,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7948,9 +7954,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7970,20 +7976,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8003,9 +8009,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8025,9 +8031,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8047,9 +8053,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8069,9 +8075,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8091,9 +8097,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8113,9 +8119,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8135,9 +8141,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8157,20 +8163,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8190,9 +8196,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8212,20 +8218,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8245,9 +8251,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8267,9 +8273,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8289,9 +8295,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8311,9 +8317,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8333,9 +8339,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8355,20 +8361,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8388,9 +8394,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8410,20 +8416,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8443,20 +8449,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&column0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8476,20 +8482,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&row0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8509,9 +8515,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8531,20 +8537,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8564,9 +8570,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8586,9 +8592,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8608,9 +8614,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8630,9 +8636,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8652,9 +8658,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8674,20 +8680,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8707,9 +8713,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8729,9 +8735,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8751,20 +8757,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8784,20 +8790,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8817,20 +8823,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8850,20 +8856,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8883,20 +8889,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8916,9 +8922,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9220,20 +9226,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QTableWidgetItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QTableWidgetItem* returnValue; - void* args[1] = {NULL}; + QTableWidgetItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); } else { returnValue = *((QTableWidgetItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9253,20 +9259,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&role0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&role0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9286,9 +9292,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in0}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9308,9 +9314,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&role0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&role0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9330,9 +9336,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out0}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9718,9 +9724,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9740,9 +9746,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9762,20 +9768,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9795,20 +9801,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9828,9 +9834,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9893,9 +9899,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9915,9 +9921,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9937,20 +9943,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9970,20 +9976,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10003,9 +10009,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10382,9 +10388,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10404,9 +10410,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10426,9 +10432,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10448,9 +10454,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10470,9 +10476,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10492,20 +10498,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10525,20 +10531,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10558,9 +10564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10633,9 +10639,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10655,9 +10661,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10677,20 +10683,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&source0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10710,9 +10716,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10732,9 +10738,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10754,9 +10760,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10776,9 +10782,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10798,20 +10804,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMimeData* returnValue; - void* args[1] = {NULL}; + QMimeData* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10831,9 +10837,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10853,20 +10859,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10886,9 +10892,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QTextCursor&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&cursor0}; + void* args[2] = {nullptr, (void*)&cursor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10908,9 +10914,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10930,9 +10936,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10952,9 +10958,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10974,9 +10980,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10996,9 +11002,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11018,20 +11024,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11051,20 +11057,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11084,9 +11090,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11106,20 +11112,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11139,9 +11145,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11161,9 +11167,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11183,20 +11189,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11216,20 +11222,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11249,9 +11255,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11271,9 +11277,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11293,9 +11299,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11315,9 +11321,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11337,20 +11343,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&property0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&property0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11370,9 +11376,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&source0}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11392,9 +11398,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11414,9 +11420,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11436,9 +11442,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11458,20 +11464,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&type0, (void*)&name1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11491,20 +11497,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11524,20 +11530,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11557,9 +11563,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11579,9 +11585,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11601,9 +11607,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11623,9 +11629,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11645,9 +11651,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11667,20 +11673,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11700,20 +11706,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11733,9 +11739,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11755,20 +11761,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11788,9 +11794,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11810,9 +11816,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11832,9 +11838,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11854,9 +11860,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11876,9 +11882,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11898,9 +11904,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11920,20 +11926,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11953,9 +11959,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11975,20 +11981,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12008,9 +12014,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12030,9 +12036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12052,20 +12058,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12085,20 +12091,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12118,9 +12124,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12919,9 +12925,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12941,9 +12947,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12963,20 +12969,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QTextObject*" , "const QTextFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QTextObject* returnValue; - void* args[2] = {NULL, (void*)&f0}; + QTextObject* returnValue{}; + void* args[2] = {nullptr, (void*)&f0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createObject", methodInfo, result); } else { returnValue = *((QTextObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12996,9 +13002,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13018,20 +13024,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13051,20 +13057,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13084,20 +13090,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&type0, (void*)&name1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13117,9 +13123,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13673,9 +13679,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13695,20 +13701,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&source0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13728,9 +13734,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13750,9 +13756,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13772,9 +13778,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13794,9 +13800,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13816,20 +13822,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMimeData* returnValue; - void* args[1] = {NULL}; + QMimeData* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13849,9 +13855,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13871,20 +13877,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13904,9 +13910,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QTextCursor&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&cursor0}; + void* args[2] = {nullptr, (void*)&cursor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13926,9 +13932,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13948,9 +13954,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13970,9 +13976,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13992,9 +13998,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14014,9 +14020,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14036,20 +14042,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14069,20 +14075,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14102,9 +14108,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14124,20 +14130,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14157,9 +14163,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14179,20 +14185,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14212,20 +14218,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14245,9 +14251,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14267,9 +14273,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14289,9 +14295,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14311,20 +14317,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&property0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&property0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14344,9 +14350,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&source0}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14366,9 +14372,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14388,9 +14394,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14410,9 +14416,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14432,20 +14438,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&type0, (void*)&name1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14465,20 +14471,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14498,20 +14504,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14531,9 +14537,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14553,9 +14559,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14575,9 +14581,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14597,9 +14603,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14619,9 +14625,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14641,20 +14647,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14674,20 +14680,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14707,9 +14713,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14729,20 +14735,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14762,9 +14768,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14784,9 +14790,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14806,9 +14812,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14828,9 +14834,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14850,20 +14856,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14883,9 +14889,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14905,20 +14911,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14938,9 +14944,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14960,9 +14966,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14982,20 +14988,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15015,20 +15021,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15048,9 +15054,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15517,9 +15523,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15539,9 +15545,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15561,20 +15567,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15594,20 +15600,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15627,9 +15633,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui10.h b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui10.h index 2d7e99c40..61979f08f 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui10.h +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui10.h @@ -82,6 +82,7 @@ #include #include #include +#include #include #include #include @@ -92,16 +93,16 @@ class PythonQtShell_QSurface : public QSurface { public: - PythonQtShell_QSurface(QSurface::SurfaceClass type):QSurface(type),_wrapper(NULL) {}; + PythonQtShell_QSurface(QSurface::SurfaceClass type):QSurface(type),_wrapper(nullptr) {}; - ~PythonQtShell_QSurface(); + ~PythonQtShell_QSurface() override; -virtual QSurfaceFormat format() const; -virtual QSize size() const; -virtual QPlatformSurface* surfaceHandle() const; -virtual QSurface::SurfaceType surfaceType() const; +QSurfaceFormat format() const override; +QSize size() const override; +QPlatformSurface* surfaceHandle() const override; +QSurface::SurfaceType surfaceType() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSurface : public QSurface @@ -122,7 +123,7 @@ enum SurfaceType{ RasterSurface = QSurface::RasterSurface, OpenGLSurface = QSurface::OpenGLSurface, RasterGLSurface = QSurface::RasterGLSurface, OpenVGSurface = QSurface::OpenVGSurface, VulkanSurface = QSurface::VulkanSurface}; public slots: QSurface* new_QSurface(QSurface::SurfaceClass type); -void delete_QSurface(QSurface* obj) { delete obj; } +void delete_QSurface(QSurface* obj) { delete obj; } QSurfaceFormat format(QSurface* theWrappedObject) const; QSurfaceFormat py_q_format(QSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSurface*)theWrappedObject)->py_q_format());} QSize size(QSurface* theWrappedObject) const; @@ -159,7 +160,7 @@ public slots: QSurfaceFormat* new_QSurfaceFormat(); QSurfaceFormat* new_QSurfaceFormat(QSurfaceFormat::FormatOptions options); QSurfaceFormat* new_QSurfaceFormat(const QSurfaceFormat& other); -void delete_QSurfaceFormat(QSurfaceFormat* obj) { delete obj; } +void delete_QSurfaceFormat(QSurfaceFormat* obj) { delete obj; } int alphaBufferSize(QSurfaceFormat* theWrappedObject) const; int blueBufferSize(QSurfaceFormat* theWrappedObject) const; QSurfaceFormat::ColorSpace colorSpace(QSurfaceFormat* theWrappedObject) const; @@ -169,6 +170,7 @@ void delete_QSurfaceFormat(QSurfaceFormat* obj) { delete obj; } bool hasAlpha(QSurfaceFormat* theWrappedObject) const; int majorVersion(QSurfaceFormat* theWrappedObject) const; int minorVersion(QSurfaceFormat* theWrappedObject) const; + bool __ne__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2); QSurfaceFormat* operator_assign(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& other); bool __eq__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2); QSurfaceFormat::FormatOptions options(QSurfaceFormat* theWrappedObject) const; @@ -213,19 +215,19 @@ void delete_QSurfaceFormat(QSurfaceFormat* obj) { delete obj; } class PythonQtShell_QSwipeGesture : public QSwipeGesture { public: - PythonQtShell_QSwipeGesture(QObject* parent = nullptr):QSwipeGesture(parent),_wrapper(NULL) {}; + PythonQtShell_QSwipeGesture(QObject* parent = nullptr):QSwipeGesture(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSwipeGesture(); + ~PythonQtShell_QSwipeGesture() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSwipeGesture : public QObject @@ -233,7 +235,7 @@ class PythonQtWrapper_QSwipeGesture : public QObject public: public slots: QSwipeGesture* new_QSwipeGesture(QObject* parent = nullptr); -void delete_QSwipeGesture(QSwipeGesture* obj) { delete obj; } +void delete_QSwipeGesture(QSwipeGesture* obj) { delete obj; } QSwipeGesture::SwipeDirection horizontalDirection(QSwipeGesture* theWrappedObject) const; void setSwipeAngle(QSwipeGesture* theWrappedObject, qreal value); qreal swipeAngle(QSwipeGesture* theWrappedObject) const; @@ -247,21 +249,21 @@ void delete_QSwipeGesture(QSwipeGesture* obj) { delete obj; } class PythonQtShell_QSyntaxHighlighter : public QSyntaxHighlighter { public: - PythonQtShell_QSyntaxHighlighter(QObject* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; - PythonQtShell_QSyntaxHighlighter(QTextDocument* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; + PythonQtShell_QSyntaxHighlighter(QObject* parent):QSyntaxHighlighter(parent),_wrapper(nullptr) {}; + PythonQtShell_QSyntaxHighlighter(QTextDocument* parent):QSyntaxHighlighter(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSyntaxHighlighter(); + ~PythonQtShell_QSyntaxHighlighter() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void highlightBlock(const QString& text); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void highlightBlock(const QString& text) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSyntaxHighlighter : public QSyntaxHighlighter @@ -286,7 +288,7 @@ class PythonQtWrapper_QSyntaxHighlighter : public QObject public slots: QSyntaxHighlighter* new_QSyntaxHighlighter(QObject* parent); QSyntaxHighlighter* new_QSyntaxHighlighter(QTextDocument* parent); -void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; } +void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; } QTextBlock currentBlock(QSyntaxHighlighter* theWrappedObject) const; int currentBlockState(QSyntaxHighlighter* theWrappedObject) const; QTextBlockUserData* currentBlockUserData(QSyntaxHighlighter* theWrappedObject) const; @@ -310,20 +312,20 @@ void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; } class PythonQtShell_QSystemTrayIcon : public QSystemTrayIcon { public: - PythonQtShell_QSystemTrayIcon(QObject* parent = nullptr):QSystemTrayIcon(parent),_wrapper(NULL) {}; - PythonQtShell_QSystemTrayIcon(const QIcon& icon, QObject* parent = nullptr):QSystemTrayIcon(icon, parent),_wrapper(NULL) {}; + PythonQtShell_QSystemTrayIcon(QObject* parent = nullptr):QSystemTrayIcon(parent),_wrapper(nullptr) {}; + PythonQtShell_QSystemTrayIcon(const QIcon& icon, QObject* parent = nullptr):QSystemTrayIcon(icon, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSystemTrayIcon(); + ~PythonQtShell_QSystemTrayIcon() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSystemTrayIcon : public QSystemTrayIcon @@ -343,7 +345,7 @@ enum MessageIcon{ public slots: QSystemTrayIcon* new_QSystemTrayIcon(QObject* parent = nullptr); QSystemTrayIcon* new_QSystemTrayIcon(const QIcon& icon, QObject* parent = nullptr); -void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; } +void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; } QMenu* contextMenu(QSystemTrayIcon* theWrappedObject) const; bool py_q_event(QSystemTrayIcon* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSystemTrayIcon*)theWrappedObject)->py_q_event(event));} QRect geometry(QSystemTrayIcon* theWrappedObject) const; @@ -364,64 +366,64 @@ void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; } class PythonQtShell_QTabBar : public QTabBar { public: - PythonQtShell_QTabBar(QWidget* parent = nullptr):QTabBar(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTabBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual QSize minimumTabSizeHint(int index) const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabInserted(int index); -virtual void tabLayoutChange(); -virtual void tabRemoved(int index); -virtual QSize tabSizeHint(int index) const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTabBar(QWidget* parent = nullptr):QTabBar(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTabBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +QSize minimumTabSizeHint(int index) const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabInserted(int index) override; +void tabLayoutChange() override; +void tabRemoved(int index) override; +QSize tabSizeHint(int index) const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTabBar : public QTabBar @@ -475,7 +477,7 @@ enum SelectionBehavior{ SelectLeftTab = QTabBar::SelectLeftTab, SelectRightTab = QTabBar::SelectRightTab, SelectPreviousTab = QTabBar::SelectPreviousTab}; public slots: QTabBar* new_QTabBar(QWidget* parent = nullptr); -void delete_QTabBar(QTabBar* obj) { delete obj; } +void delete_QTabBar(QTabBar* obj) { delete obj; } QString accessibleTabName(QTabBar* theWrappedObject, int index) const; int addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text); int addTab(QTabBar* theWrappedObject, const QString& text); @@ -564,61 +566,61 @@ void delete_QTabBar(QTabBar* obj) { delete obj; } class PythonQtShell_QTabWidget : public QTabWidget { public: - PythonQtShell_QTabWidget(QWidget* parent = nullptr):QTabWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTabWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int width) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabInserted(int index); -virtual void tabRemoved(int index); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTabWidget(QWidget* parent = nullptr):QTabWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTabWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int width) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabInserted(int index) override; +void tabRemoved(int index) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTabWidget : public QTabWidget @@ -652,7 +654,7 @@ class PythonQtWrapper_QTabWidget : public QObject public: public slots: QTabWidget* new_QTabWidget(QWidget* parent = nullptr); -void delete_QTabWidget(QTabWidget* obj) { delete obj; } +void delete_QTabWidget(QTabWidget* obj) { delete obj; } int addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& label); int addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& arg__2); void py_q_changeEvent(QTabWidget* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->py_q_changeEvent(arg__1));} @@ -722,101 +724,101 @@ void delete_QTabWidget(QTabWidget* obj) { delete obj; } class PythonQtShell_QTableView : public QTableView { public: - PythonQtShell_QTableView(QWidget* parent = nullptr):QTableView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTableView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* event); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTableView(QWidget* parent = nullptr):QTableView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTableView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTableView : public QTableView @@ -879,7 +881,7 @@ class PythonQtWrapper_QTableView : public QObject public: public slots: QTableView* new_QTableView(QWidget* parent = nullptr); -void delete_QTableView(QTableView* obj) { delete obj; } +void delete_QTableView(QTableView* obj) { delete obj; } void clearSpans(QTableView* theWrappedObject); int columnAt(QTableView* theWrappedObject, int x) const; int columnSpan(QTableView* theWrappedObject, int row, int column) const; @@ -945,105 +947,105 @@ void delete_QTableView(QTableView* obj) { delete obj; } class PythonQtShell_QTableWidget : public QTableWidget { public: - PythonQtShell_QTableWidget(QWidget* parent = nullptr):QTableWidget(parent),_wrapper(NULL) {}; - PythonQtShell_QTableWidget(int rows, int columns, QWidget* parent = nullptr):QTableWidget(rows, columns, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTableWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* event); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QMimeData* mimeData(const QList items) const; -virtual QStringList mimeTypes() const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual Qt::DropActions supportedDropActions() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTableWidget(QWidget* parent = nullptr):QTableWidget(parent),_wrapper(nullptr) {}; + PythonQtShell_QTableWidget(int rows, int columns, QWidget* parent = nullptr):QTableWidget(rows, columns, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTableWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QMimeData* mimeData(const QList items) const override; +QStringList mimeTypes() const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +Qt::DropActions supportedDropActions() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTableWidget : public QTableWidget @@ -1072,7 +1074,7 @@ class PythonQtWrapper_QTableWidget : public QObject public slots: QTableWidget* new_QTableWidget(QWidget* parent = nullptr); QTableWidget* new_QTableWidget(int rows, int columns, QWidget* parent = nullptr); -void delete_QTableWidget(QTableWidget* obj) { delete obj; } +void delete_QTableWidget(QTableWidget* obj) { delete obj; } QWidget* cellWidget(QTableWidget* theWrappedObject, int row, int column) const; void closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item); int column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; @@ -1139,19 +1141,19 @@ void delete_QTableWidget(QTableWidget* obj) { delete obj; } class PythonQtShell_QTableWidgetItem : public QTableWidgetItem { public: - PythonQtShell_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type):QTableWidgetItem(icon, text, type),_wrapper(NULL) {}; - PythonQtShell_QTableWidgetItem(const QString& text, int type = Type):QTableWidgetItem(text, type),_wrapper(NULL) {}; - PythonQtShell_QTableWidgetItem(int type = Type):QTableWidgetItem(type),_wrapper(NULL) {}; + PythonQtShell_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type):QTableWidgetItem(icon, text, type),_wrapper(nullptr) {}; + PythonQtShell_QTableWidgetItem(const QString& text, int type = Type):QTableWidgetItem(text, type),_wrapper(nullptr) {}; + PythonQtShell_QTableWidgetItem(int type = Type):QTableWidgetItem(type),_wrapper(nullptr) {}; - ~PythonQtShell_QTableWidgetItem(); + ~PythonQtShell_QTableWidgetItem() override; -virtual QTableWidgetItem* clone() const; -virtual QVariant data(int role) const; -virtual void read(QDataStream& in); -virtual void setData(int role, const QVariant& value); -virtual void write(QDataStream& out) const; +QTableWidgetItem* clone() const override; +QVariant data(int role) const override; +void read(QDataStream& in) override; +void setData(int role, const QVariant& value) override; +void write(QDataStream& out) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTableWidgetItem : public QTableWidgetItem @@ -1173,7 +1175,7 @@ public slots: QTableWidgetItem* new_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type); QTableWidgetItem* new_QTableWidgetItem(const QString& text, int type = Type); QTableWidgetItem* new_QTableWidgetItem(int type = Type); -void delete_QTableWidgetItem(QTableWidgetItem* obj) { delete obj; } +void delete_QTableWidgetItem(QTableWidgetItem* obj) { delete obj; } QBrush background(QTableWidgetItem* theWrappedObject) const; Qt::CheckState checkState(QTableWidgetItem* theWrappedObject) const; QTableWidgetItem* clone(QTableWidgetItem* theWrappedObject) const; @@ -1229,7 +1231,7 @@ public slots: QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(); QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(const QTableWidgetSelectionRange& other); QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(int top, int left, int bottom, int right); -void delete_QTableWidgetSelectionRange(QTableWidgetSelectionRange* obj) { delete obj; } +void delete_QTableWidgetSelectionRange(QTableWidgetSelectionRange* obj) { delete obj; } int bottomRow(QTableWidgetSelectionRange* theWrappedObject) const; int columnCount(QTableWidgetSelectionRange* theWrappedObject) const; int leftColumn(QTableWidgetSelectionRange* theWrappedObject) const; @@ -1245,13 +1247,13 @@ void delete_QTableWidgetSelectionRange(QTableWidgetSelectionRange* obj) { delete class PythonQtShell_QTabletEvent : public QTabletEvent { public: - PythonQtShell_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID):QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID),_wrapper(NULL) {}; - PythonQtShell_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID, Qt::MouseButton button, Qt::MouseButtons buttons):QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID, button, buttons),_wrapper(NULL) {}; + PythonQtShell_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID):QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID),_wrapper(nullptr) {}; + PythonQtShell_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID, Qt::MouseButton button, Qt::MouseButtons buttons):QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID, button, buttons),_wrapper(nullptr) {}; - ~PythonQtShell_QTabletEvent(); + ~PythonQtShell_QTabletEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTabletEvent : public QObject @@ -1265,7 +1267,7 @@ enum TabletDevice{ public slots: QTabletEvent* new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID); QTabletEvent* new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID, Qt::MouseButton button, Qt::MouseButtons buttons); -void delete_QTabletEvent(QTabletEvent* obj) { delete obj; } +void delete_QTabletEvent(QTabletEvent* obj) { delete obj; } Qt::MouseButton button(QTabletEvent* theWrappedObject) const; Qt::MouseButtons buttons(QTabletEvent* theWrappedObject) const; QTabletEvent::TabletDevice device(QTabletEvent* theWrappedObject) const; @@ -1296,19 +1298,19 @@ void delete_QTabletEvent(QTabletEvent* obj) { delete obj; } class PythonQtShell_QTapAndHoldGesture : public QTapAndHoldGesture { public: - PythonQtShell_QTapAndHoldGesture(QObject* parent = nullptr):QTapAndHoldGesture(parent),_wrapper(NULL) {}; + PythonQtShell_QTapAndHoldGesture(QObject* parent = nullptr):QTapAndHoldGesture(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QTapAndHoldGesture(); + ~PythonQtShell_QTapAndHoldGesture() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTapAndHoldGesture : public QObject @@ -1316,7 +1318,7 @@ class PythonQtWrapper_QTapAndHoldGesture : public QObject public: public slots: QTapAndHoldGesture* new_QTapAndHoldGesture(QObject* parent = nullptr); -void delete_QTapAndHoldGesture(QTapAndHoldGesture* obj) { delete obj; } +void delete_QTapAndHoldGesture(QTapAndHoldGesture* obj) { delete obj; } QPointF position(QTapAndHoldGesture* theWrappedObject) const; void setPosition(QTapAndHoldGesture* theWrappedObject, const QPointF& pos); void static_QTapAndHoldGesture_setTimeout(int msecs); @@ -1330,19 +1332,19 @@ void delete_QTapAndHoldGesture(QTapAndHoldGesture* obj) { delete obj; } class PythonQtShell_QTapGesture : public QTapGesture { public: - PythonQtShell_QTapGesture(QObject* parent = nullptr):QTapGesture(parent),_wrapper(NULL) {}; + PythonQtShell_QTapGesture(QObject* parent = nullptr):QTapGesture(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QTapGesture(); + ~PythonQtShell_QTapGesture() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTapGesture : public QObject @@ -1350,7 +1352,7 @@ class PythonQtWrapper_QTapGesture : public QObject public: public slots: QTapGesture* new_QTapGesture(QObject* parent = nullptr); -void delete_QTapGesture(QTapGesture* obj) { delete obj; } +void delete_QTapGesture(QTapGesture* obj) { delete obj; } QPointF position(QTapGesture* theWrappedObject) const; void setPosition(QTapGesture* theWrappedObject, const QPointF& pos); }; @@ -1365,7 +1367,7 @@ class PythonQtWrapper_QTextBlock : public QObject public slots: QTextBlock* new_QTextBlock(); QTextBlock* new_QTextBlock(const QTextBlock& o); -void delete_QTextBlock(QTextBlock* obj) { delete obj; } +void delete_QTextBlock(QTextBlock* obj) { delete obj; } QTextBlock::iterator begin(QTextBlock* theWrappedObject) const; QTextBlockFormat blockFormat(QTextBlock* theWrappedObject) const; int blockFormatIndex(QTextBlock* theWrappedObject) const; @@ -1411,13 +1413,13 @@ void delete_QTextBlock(QTextBlock* obj) { delete obj; } class PythonQtShell_QTextBlockFormat : public QTextBlockFormat { public: - PythonQtShell_QTextBlockFormat():QTextBlockFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextBlockFormat(const QTextFormat& fmt):QTextBlockFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextBlockFormat():QTextBlockFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextBlockFormat(const QTextFormat& fmt):QTextBlockFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextBlockFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextBlockFormat : public QObject @@ -1433,7 +1435,7 @@ QTextBlockFormat* new_QTextBlockFormat(const QTextBlockFormat& other) { PythonQtShell_QTextBlockFormat* a = new PythonQtShell_QTextBlockFormat(); *((QTextBlockFormat*)a) = other; return a; } -void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } +void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } Qt::Alignment alignment(QTextBlockFormat* theWrappedObject) const; qreal bottomMargin(QTextBlockFormat* theWrappedObject) const; int indent(QTextBlockFormat* theWrappedObject) const; @@ -1469,22 +1471,22 @@ void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } class PythonQtShell_QTextBlockGroup : public QTextBlockGroup { public: - PythonQtShell_QTextBlockGroup(QTextDocument* doc):QTextBlockGroup(doc),_wrapper(NULL) {}; + PythonQtShell_QTextBlockGroup(QTextDocument* doc):QTextBlockGroup(doc),_wrapper(nullptr) {}; - ~PythonQtShell_QTextBlockGroup(); + ~PythonQtShell_QTextBlockGroup() override; -virtual void blockFormatChanged(const QTextBlock& block); -virtual void blockInserted(const QTextBlock& block); -virtual void blockRemoved(const QTextBlock& block); -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void blockFormatChanged(const QTextBlock& block) override; +void blockInserted(const QTextBlock& block) override; +void blockRemoved(const QTextBlock& block) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextBlockGroup : public QTextBlockGroup @@ -1519,12 +1521,12 @@ QTextBlockGroup* new_QTextBlockGroup(QTextDocument* doc); class PythonQtShell_QTextBlockUserData : public QTextBlockUserData { public: - PythonQtShell_QTextBlockUserData():QTextBlockUserData(),_wrapper(NULL) {}; + PythonQtShell_QTextBlockUserData():QTextBlockUserData(),_wrapper(nullptr) {}; - ~PythonQtShell_QTextBlockUserData(); + ~PythonQtShell_QTextBlockUserData() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextBlockUserData : public QObject @@ -1532,7 +1534,7 @@ class PythonQtWrapper_QTextBlockUserData : public QObject public: public slots: QTextBlockUserData* new_QTextBlockUserData(); -void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; } +void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; } }; @@ -1542,73 +1544,73 @@ void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; } class PythonQtShell_QTextBrowser : public QTextBrowser { public: - PythonQtShell_QTextBrowser(QWidget* parent = nullptr):QTextBrowser(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTextBrowser(); - -virtual void actionEvent(QActionEvent* event); -virtual void backward(); -virtual bool canInsertFromMimeData(const QMimeData* source) const; -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual QMimeData* createMimeDataFromSelection() const; -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void doSetTextCursor(const QTextCursor& cursor); -virtual void dragEnterEvent(QDragEnterEvent* e); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* ev); -virtual void forward(); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void home(); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; -virtual void insertFromMimeData(const QMimeData* source); -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual QVariant loadResource(int type, const QUrl& name); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* e); -virtual void mouseMoveEvent(QMouseEvent* ev); -virtual void mousePressEvent(QMouseEvent* ev); -virtual void mouseReleaseEvent(QMouseEvent* ev); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reload(); -virtual void resizeEvent(QResizeEvent* e); -virtual void scrollContentsBy(int dx, int dy); -virtual void setSource(const QUrl& name); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTextBrowser(QWidget* parent = nullptr):QTextBrowser(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextBrowser() override; + +void actionEvent(QActionEvent* event) override; +void backward() override; +bool canInsertFromMimeData(const QMimeData* source) const override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +QMimeData* createMimeDataFromSelection() const override; +void customEvent(QEvent* event) override; +int devType() const override; +void doSetTextCursor(const QTextCursor& cursor) override; +void dragEnterEvent(QDragEnterEvent* e) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* ev) override; +void forward() override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void home() override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery property) const override; +void insertFromMimeData(const QMimeData* source) override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +QVariant loadResource(int type, const QUrl& name) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* e) override; +void mouseMoveEvent(QMouseEvent* ev) override; +void mousePressEvent(QMouseEvent* ev) override; +void mouseReleaseEvent(QMouseEvent* ev) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reload() override; +void resizeEvent(QResizeEvent* e) override; +void scrollContentsBy(int dx, int dy) override; +void setSource(const QUrl& name) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextBrowser : public QTextBrowser @@ -1642,7 +1644,7 @@ class PythonQtWrapper_QTextBrowser : public QObject public: public slots: QTextBrowser* new_QTextBrowser(QWidget* parent = nullptr); -void delete_QTextBrowser(QTextBrowser* obj) { delete obj; } +void delete_QTextBrowser(QTextBrowser* obj) { delete obj; } void py_q_backward(QTextBrowser* theWrappedObject){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_backward());} int backwardHistoryCount(QTextBrowser* theWrappedObject) const; void clearHistory(QTextBrowser* theWrappedObject); @@ -1680,13 +1682,13 @@ void delete_QTextBrowser(QTextBrowser* obj) { delete obj; } class PythonQtShell_QTextCharFormat : public QTextCharFormat { public: - PythonQtShell_QTextCharFormat():QTextCharFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextCharFormat(const QTextFormat& fmt):QTextCharFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextCharFormat():QTextCharFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextCharFormat(const QTextFormat& fmt):QTextCharFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextCharFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextCharFormat : public QObject @@ -1706,7 +1708,7 @@ QTextCharFormat* new_QTextCharFormat(const QTextCharFormat& other) { PythonQtShell_QTextCharFormat* a = new PythonQtShell_QTextCharFormat(); *((QTextCharFormat*)a) = other; return a; } -void delete_QTextCharFormat(QTextCharFormat* obj) { delete obj; } +void delete_QTextCharFormat(QTextCharFormat* obj) { delete obj; } QString anchorHref(QTextCharFormat* theWrappedObject) const; QStringList anchorNames(QTextCharFormat* theWrappedObject) const; QFont font(QTextCharFormat* theWrappedObject) const; @@ -1788,7 +1790,7 @@ QTextCursor* new_QTextCursor(QTextDocument* document); QTextCursor* new_QTextCursor(QTextFrame* frame); QTextCursor* new_QTextCursor(const QTextBlock& block); QTextCursor* new_QTextCursor(const QTextCursor& cursor); -void delete_QTextCursor(QTextCursor* obj) { delete obj; } +void delete_QTextCursor(QTextCursor* obj) { delete obj; } int anchor(QTextCursor* theWrappedObject) const; bool atBlockEnd(QTextCursor* theWrappedObject) const; bool atBlockStart(QTextCursor* theWrappedObject) const; @@ -1871,23 +1873,23 @@ void delete_QTextCursor(QTextCursor* obj) { delete obj; } class PythonQtShell_QTextDocument : public QTextDocument { public: - PythonQtShell_QTextDocument(QObject* parent = nullptr):QTextDocument(parent),_wrapper(NULL) {}; - PythonQtShell_QTextDocument(const QString& text, QObject* parent = nullptr):QTextDocument(text, parent),_wrapper(NULL) {}; + PythonQtShell_QTextDocument(QObject* parent = nullptr):QTextDocument(parent),_wrapper(nullptr) {}; + PythonQtShell_QTextDocument(const QString& text, QObject* parent = nullptr):QTextDocument(text, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QTextDocument(); + ~PythonQtShell_QTextDocument() override; -virtual void childEvent(QChildEvent* event); -virtual void clear(); -virtual QTextObject* createObject(const QTextFormat& f); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QVariant loadResource(int type, const QUrl& name); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void clear() override; +QTextObject* createObject(const QTextFormat& f) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant loadResource(int type, const QUrl& name) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextDocument : public QTextDocument @@ -1916,7 +1918,7 @@ Q_DECLARE_FLAGS(FindFlags, FindFlag) public slots: QTextDocument* new_QTextDocument(QObject* parent = nullptr); QTextDocument* new_QTextDocument(const QString& text, QObject* parent = nullptr); -void delete_QTextDocument(QTextDocument* obj) { delete obj; } +void delete_QTextDocument(QTextDocument* obj) { delete obj; } void addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource); void adjustSize(QTextDocument* theWrappedObject); QVector allFormats(QTextDocument* theWrappedObject) const; @@ -2013,7 +2015,7 @@ QTextDocumentFragment* new_QTextDocumentFragment(); QTextDocumentFragment* new_QTextDocumentFragment(const QTextCursor& range); QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocument* document); QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocumentFragment& rhs); -void delete_QTextDocumentFragment(QTextDocumentFragment* obj) { delete obj; } +void delete_QTextDocumentFragment(QTextDocumentFragment* obj) { delete obj; } QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html); QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider); QTextDocumentFragment static_QTextDocumentFragment_fromPlainText(const QString& plainText); @@ -2034,7 +2036,7 @@ public slots: QTextDocumentWriter* new_QTextDocumentWriter(); QTextDocumentWriter* new_QTextDocumentWriter(QIODevice* device, const QByteArray& format); QTextDocumentWriter* new_QTextDocumentWriter(const QString& fileName, const QByteArray& format = QByteArray()); -void delete_QTextDocumentWriter(QTextDocumentWriter* obj) { delete obj; } +void delete_QTextDocumentWriter(QTextDocumentWriter* obj) { delete obj; } QTextCodec* codec(QTextDocumentWriter* theWrappedObject) const; QIODevice* device(QTextDocumentWriter* theWrappedObject) const; QString fileName(QTextDocumentWriter* theWrappedObject) const; @@ -2055,69 +2057,69 @@ void delete_QTextDocumentWriter(QTextDocumentWriter* obj) { delete obj; } class PythonQtShell_QTextEdit : public QTextEdit { public: - PythonQtShell_QTextEdit(QWidget* parent = nullptr):QTextEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QTextEdit(const QString& text, QWidget* parent = nullptr):QTextEdit(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTextEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual bool canInsertFromMimeData(const QMimeData* source) const; -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual QMimeData* createMimeDataFromSelection() const; -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void doSetTextCursor(const QTextCursor& cursor); -virtual void dragEnterEvent(QDragEnterEvent* e); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; -virtual void insertFromMimeData(const QMimeData* source); -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual QVariant loadResource(int type, const QUrl& name); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* e); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTextEdit(QWidget* parent = nullptr):QTextEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QTextEdit(const QString& text, QWidget* parent = nullptr):QTextEdit(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextEdit() override; + +void actionEvent(QActionEvent* event) override; +bool canInsertFromMimeData(const QMimeData* source) const override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +QMimeData* createMimeDataFromSelection() const override; +void customEvent(QEvent* event) override; +int devType() const override; +void doSetTextCursor(const QTextCursor& cursor) override; +void dragEnterEvent(QDragEnterEvent* e) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery property) const override; +void insertFromMimeData(const QMimeData* source) override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +QVariant loadResource(int type, const QUrl& name) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* e) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* e) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextEdit : public QTextEdit @@ -2192,7 +2194,7 @@ Q_DECLARE_FLAGS(AutoFormatting, AutoFormattingFlag) public slots: QTextEdit* new_QTextEdit(QWidget* parent = nullptr); QTextEdit* new_QTextEdit(const QString& text, QWidget* parent = nullptr); -void delete_QTextEdit(QTextEdit* obj) { delete obj; } +void delete_QTextEdit(QTextEdit* obj) { delete obj; } bool acceptRichText(QTextEdit* theWrappedObject) const; Qt::Alignment alignment(QTextEdit* theWrappedObject) const; QString anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const; @@ -2300,12 +2302,12 @@ void delete_QTextEdit(QTextEdit* obj) { delete obj; } class PythonQtShell_QTextEdit__ExtraSelection : public QTextEdit::ExtraSelection { public: - PythonQtShell_QTextEdit__ExtraSelection():QTextEdit::ExtraSelection(),_wrapper(NULL) {}; + PythonQtShell_QTextEdit__ExtraSelection():QTextEdit::ExtraSelection(),_wrapper(nullptr) {}; ~PythonQtShell_QTextEdit__ExtraSelection(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextEdit__ExtraSelection : public QObject @@ -2317,7 +2319,7 @@ QTextEdit::ExtraSelection* new_QTextEdit__ExtraSelection(const QTextEdit::ExtraS PythonQtShell_QTextEdit__ExtraSelection* a = new PythonQtShell_QTextEdit__ExtraSelection(); *((QTextEdit::ExtraSelection*)a) = other; return a; } -void delete_QTextEdit__ExtraSelection(QTextEdit::ExtraSelection* obj) { delete obj; } +void delete_QTextEdit__ExtraSelection(QTextEdit::ExtraSelection* obj) { delete obj; } void py_set_cursor(QTextEdit::ExtraSelection* theWrappedObject, QTextCursor cursor){ theWrappedObject->cursor = cursor; } QTextCursor py_get_cursor(QTextEdit::ExtraSelection* theWrappedObject){ return theWrappedObject->cursor; } void py_set_format(QTextEdit::ExtraSelection* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } @@ -2334,7 +2336,7 @@ class PythonQtWrapper_QTextFragment : public QObject public slots: QTextFragment* new_QTextFragment(); QTextFragment* new_QTextFragment(const QTextFragment& o); -void delete_QTextFragment(QTextFragment* obj) { delete obj; } +void delete_QTextFragment(QTextFragment* obj) { delete obj; } QTextCharFormat charFormat(QTextFragment* theWrappedObject) const; int charFormatIndex(QTextFragment* theWrappedObject) const; bool contains(QTextFragment* theWrappedObject, int position) const; @@ -2356,19 +2358,19 @@ void delete_QTextFragment(QTextFragment* obj) { delete obj; } class PythonQtShell_QTextFrame : public QTextFrame { public: - PythonQtShell_QTextFrame(QTextDocument* doc):QTextFrame(doc),_wrapper(NULL) {}; + PythonQtShell_QTextFrame(QTextDocument* doc):QTextFrame(doc),_wrapper(nullptr) {}; - ~PythonQtShell_QTextFrame(); + ~PythonQtShell_QTextFrame() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextFrame : public QObject @@ -2376,7 +2378,7 @@ class PythonQtWrapper_QTextFrame : public QObject public: public slots: QTextFrame* new_QTextFrame(QTextDocument* doc); -void delete_QTextFrame(QTextFrame* obj) { delete obj; } +void delete_QTextFrame(QTextFrame* obj) { delete obj; } QTextFrame::iterator begin(QTextFrame* theWrappedObject) const; QList childFrames(QTextFrame* theWrappedObject) const; QTextFrame::iterator end(QTextFrame* theWrappedObject) const; @@ -2396,13 +2398,13 @@ void delete_QTextFrame(QTextFrame* obj) { delete obj; } class PythonQtShell_QTextFrameFormat : public QTextFrameFormat { public: - PythonQtShell_QTextFrameFormat():QTextFrameFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextFrameFormat(const QTextFormat& fmt):QTextFrameFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextFrameFormat():QTextFrameFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextFrameFormat(const QTextFormat& fmt):QTextFrameFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextFrameFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextFrameFormat : public QObject @@ -2420,7 +2422,7 @@ QTextFrameFormat* new_QTextFrameFormat(const QTextFrameFormat& other) { PythonQtShell_QTextFrameFormat* a = new PythonQtShell_QTextFrameFormat(); *((QTextFrameFormat*)a) = other; return a; } -void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } +void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } qreal border(QTextFrameFormat* theWrappedObject) const; QBrush borderBrush(QTextFrameFormat* theWrappedObject) const; QTextFrameFormat::BorderStyle borderStyle(QTextFrameFormat* theWrappedObject) const; @@ -2460,13 +2462,13 @@ void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } class PythonQtShell_QTextImageFormat : public QTextImageFormat { public: - PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(NULL) {}; + PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(nullptr) {}; ~PythonQtShell_QTextImageFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextImageFormat : public QObject @@ -2479,7 +2481,7 @@ QTextImageFormat* new_QTextImageFormat(const QTextImageFormat& other) { PythonQtShell_QTextImageFormat* a = new PythonQtShell_QTextImageFormat(); *((QTextImageFormat*)a) = other; return a; } -void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; } +void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; } qreal height(QTextImageFormat* theWrappedObject) const; bool isValid(QTextImageFormat* theWrappedObject) const; QString name(QTextImageFormat* theWrappedObject) const; 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..e205bad13 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 @@ -69,6 +69,7 @@ #include #include #include +#include #include #include #include @@ -582,9 +583,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -604,9 +605,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -626,9 +627,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -648,9 +649,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -670,9 +671,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -692,20 +693,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -725,20 +726,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -758,9 +759,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -907,9 +908,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -929,9 +930,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -951,20 +952,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -984,20 +985,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1017,9 +1018,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1215,9 +1216,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1237,9 +1238,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1259,20 +1260,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1292,20 +1293,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1325,9 +1326,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1717,9 +1718,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1739,9 +1740,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1761,9 +1762,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1783,9 +1784,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1805,9 +1806,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1827,9 +1828,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1849,9 +1850,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1871,20 +1872,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QDateTime" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QDateTime returnValue; - void* args[2] = {NULL, (void*)&text0}; + QDateTime returnValue{}; + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); } else { returnValue = *((QDateTime*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1904,20 +1905,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1937,9 +1938,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1959,9 +1960,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1981,9 +1982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2003,9 +2004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2025,9 +2026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2047,20 +2048,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2080,20 +2081,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2113,9 +2114,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2135,9 +2136,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2157,20 +2158,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2190,9 +2191,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2212,20 +2213,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2245,20 +2246,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2278,9 +2279,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2300,9 +2301,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2322,9 +2323,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2344,20 +2345,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2377,9 +2378,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2399,9 +2400,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2421,9 +2422,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2443,20 +2444,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2476,20 +2477,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2509,9 +2510,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2531,9 +2532,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2553,9 +2554,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2575,9 +2576,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2597,9 +2598,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2619,20 +2620,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2652,20 +2653,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2685,9 +2686,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2707,20 +2708,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2740,9 +2741,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2762,9 +2763,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2784,20 +2785,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2817,9 +2818,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2839,20 +2840,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2872,9 +2873,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&steps0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2894,20 +2895,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; + QAbstractSpinBox::StepEnabled returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2927,9 +2928,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2949,20 +2950,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QDateTime&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&dt0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&dt0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2982,9 +2983,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3004,20 +3005,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3037,9 +3038,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3086,9 +3087,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3108,9 +3109,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3130,9 +3131,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3152,9 +3153,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3174,9 +3175,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3196,9 +3197,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3218,20 +3219,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3251,9 +3252,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3273,9 +3274,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3295,9 +3296,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3317,9 +3318,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3339,9 +3340,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3361,20 +3362,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3394,20 +3395,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3427,9 +3428,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3449,20 +3450,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3482,9 +3483,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3504,20 +3505,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3537,20 +3538,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3570,9 +3571,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3592,9 +3593,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3614,9 +3615,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3636,20 +3637,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3669,9 +3670,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3691,9 +3692,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3713,9 +3714,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3735,20 +3736,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3768,20 +3769,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3801,9 +3802,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3823,9 +3824,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3845,9 +3846,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3867,9 +3868,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3889,9 +3890,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3911,20 +3912,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3944,20 +3945,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3977,9 +3978,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3999,20 +4000,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4032,9 +4033,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4054,9 +4055,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4076,20 +4077,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4109,9 +4110,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4131,20 +4132,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4164,9 +4165,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4186,9 +4187,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4208,9 +4209,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4403,9 +4404,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4425,9 +4426,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4447,9 +4448,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4469,9 +4470,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4491,9 +4492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4513,9 +4514,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4535,20 +4536,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4568,9 +4569,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4590,9 +4591,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4612,9 +4613,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4634,9 +4635,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4656,9 +4657,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4678,20 +4679,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4711,20 +4712,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4744,9 +4745,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4766,20 +4767,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4799,9 +4800,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4821,20 +4822,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4854,20 +4855,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4887,9 +4888,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4909,9 +4910,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4931,9 +4932,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4953,20 +4954,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4986,9 +4987,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5008,9 +5009,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5030,9 +5031,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5052,9 +5053,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5074,9 +5075,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5096,20 +5097,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5129,20 +5130,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5162,9 +5163,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5184,9 +5185,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5206,9 +5207,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5228,9 +5229,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5250,9 +5251,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5272,20 +5273,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5305,20 +5306,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5338,9 +5339,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5360,20 +5361,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5393,9 +5394,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5415,9 +5416,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5437,20 +5438,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5470,9 +5471,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5492,20 +5493,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5525,9 +5526,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5547,9 +5548,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5569,9 +5570,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5714,9 +5715,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5736,9 +5737,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5758,9 +5759,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5780,9 +5781,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5802,9 +5803,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5824,9 +5825,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5846,9 +5847,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5868,20 +5869,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5901,9 +5902,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5923,9 +5924,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5945,9 +5946,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5967,9 +5968,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5989,9 +5990,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6011,20 +6012,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6044,20 +6045,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6077,9 +6078,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6099,20 +6100,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6132,9 +6133,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6154,20 +6155,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6187,20 +6188,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6220,9 +6221,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6242,20 +6243,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&pos0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6275,9 +6276,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6297,9 +6298,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6319,20 +6320,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6352,9 +6353,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6374,9 +6375,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6396,9 +6397,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6418,20 +6419,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6451,20 +6452,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6484,9 +6485,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6506,9 +6507,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6528,9 +6529,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6550,9 +6551,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6572,9 +6573,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6594,20 +6595,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6627,9 +6628,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6649,20 +6650,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6682,9 +6683,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6704,20 +6705,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6737,9 +6738,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6759,9 +6760,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6781,20 +6782,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6814,9 +6815,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6836,20 +6837,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6869,9 +6870,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6891,9 +6892,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6913,9 +6914,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7789,9 +7790,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7811,9 +7812,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7833,9 +7834,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7855,9 +7856,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7877,9 +7878,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7899,9 +7900,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7921,9 +7922,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7943,9 +7944,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7965,9 +7966,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7987,9 +7988,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8009,20 +8010,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8042,9 +8043,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8064,9 +8065,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8086,9 +8087,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8108,9 +8109,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8130,9 +8131,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8152,9 +8153,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&options1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&options1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8174,9 +8175,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8196,20 +8197,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8229,9 +8230,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8251,9 +8252,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8273,20 +8274,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8306,20 +8307,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8339,9 +8340,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8361,20 +8362,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8394,9 +8395,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8416,20 +8417,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8449,20 +8450,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8482,9 +8483,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8504,20 +8505,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8537,9 +8538,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8559,9 +8560,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8581,20 +8582,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8614,9 +8615,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8636,9 +8637,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8658,20 +8659,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8691,20 +8692,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8724,9 +8725,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8746,9 +8747,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8768,9 +8769,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8790,9 +8791,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8812,20 +8813,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8845,20 +8846,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8878,9 +8879,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8900,9 +8901,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8922,9 +8923,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8944,9 +8945,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8966,20 +8967,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8999,9 +9000,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9021,20 +9022,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9054,20 +9055,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9087,9 +9088,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9109,20 +9110,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9142,9 +9143,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9164,9 +9165,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9186,9 +9187,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9208,9 +9209,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9230,9 +9231,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9252,9 +9253,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9274,9 +9275,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9296,20 +9297,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9329,9 +9330,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9351,20 +9352,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9384,9 +9385,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9406,9 +9407,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9428,9 +9429,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9450,9 +9451,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9472,9 +9473,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9494,9 +9495,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9516,20 +9517,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9549,9 +9550,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9571,20 +9572,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9604,20 +9605,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&column0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9637,20 +9638,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&row0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9670,9 +9671,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9692,9 +9693,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9714,9 +9715,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9736,9 +9737,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9758,9 +9759,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9780,9 +9781,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9802,20 +9803,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9835,9 +9836,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9857,9 +9858,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9879,20 +9880,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9912,20 +9913,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9945,20 +9946,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9978,20 +9979,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10011,20 +10012,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10044,9 +10045,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10324,9 +10325,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10346,9 +10347,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10368,9 +10369,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10390,9 +10391,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10412,9 +10413,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10434,9 +10435,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10456,9 +10457,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10478,9 +10479,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10500,9 +10501,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10522,9 +10523,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10544,20 +10545,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10577,9 +10578,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10599,9 +10600,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10621,9 +10622,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10643,9 +10644,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10665,9 +10666,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10687,9 +10688,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&options1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&options1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10709,9 +10710,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10731,20 +10732,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QTreeWidgetItem*" , "int" , "const QMimeData*" , "Qt::DropAction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)&parent0, (void*)&index1, (void*)&data2, (void*)&action3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)&parent0, (void*)&index1, (void*)&data2, (void*)&action3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10764,20 +10765,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10797,9 +10798,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10819,9 +10820,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10841,20 +10842,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10874,20 +10875,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10907,9 +10908,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10929,20 +10930,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10962,9 +10963,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10984,20 +10985,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11017,20 +11018,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11050,9 +11051,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11072,20 +11073,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11105,9 +11106,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11127,9 +11128,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11149,20 +11150,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11182,9 +11183,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11204,9 +11205,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11226,20 +11227,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11259,20 +11260,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11292,9 +11293,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11314,9 +11315,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11336,9 +11337,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11358,9 +11359,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11380,20 +11381,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11413,20 +11414,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&items0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&items0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11446,20 +11447,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11479,20 +11480,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11512,9 +11513,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11534,9 +11535,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11556,9 +11557,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11578,9 +11579,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11600,20 +11601,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11633,9 +11634,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11655,20 +11656,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11688,20 +11689,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11721,9 +11722,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11743,20 +11744,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11776,9 +11777,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11798,9 +11799,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11820,9 +11821,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11842,9 +11843,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11864,9 +11865,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11886,9 +11887,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11908,9 +11909,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11930,20 +11931,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11963,9 +11964,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11985,20 +11986,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12018,9 +12019,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12040,9 +12041,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12062,9 +12063,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12084,9 +12085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12106,9 +12107,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12128,20 +12129,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12161,9 +12162,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12183,20 +12184,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12216,20 +12217,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&column0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12249,20 +12250,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&row0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12282,9 +12283,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12304,20 +12305,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12337,9 +12338,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12359,9 +12360,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12381,9 +12382,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12403,9 +12404,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12425,9 +12426,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12447,20 +12448,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12480,9 +12481,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12502,9 +12503,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12524,20 +12525,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12557,20 +12558,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12590,20 +12591,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12623,20 +12624,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12656,20 +12657,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12689,9 +12690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12959,20 +12960,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QTreeWidgetItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QTreeWidgetItem* returnValue; - void* args[1] = {NULL}; + QTreeWidgetItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); } else { returnValue = *((QTreeWidgetItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12992,20 +12993,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&column0, (void*)&role1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&column0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13025,9 +13026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in0}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13047,9 +13048,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&column0, (void*)&role1, (void*)&value2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&role1, (void*)&value2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13069,9 +13070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out0}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13424,20 +13425,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("id", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13457,20 +13458,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QUndoCommand*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&other0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&other0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mergeWith", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13490,9 +13491,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13512,9 +13513,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13603,9 +13604,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13625,9 +13626,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13647,20 +13648,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13680,20 +13681,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13713,9 +13714,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui11.h b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui11.h index 598c1dbac..5406d0bb9 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui11.h +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui11.h @@ -68,6 +68,7 @@ #include #include #include +#include #include #include #include @@ -94,7 +95,7 @@ QTextInlineObject* new_QTextInlineObject(const QTextInlineObject& other) { QTextInlineObject* a = new QTextInlineObject(); *((QTextInlineObject*)a) = other; return a; } -void delete_QTextInlineObject(QTextInlineObject* obj) { delete obj; } +void delete_QTextInlineObject(QTextInlineObject* obj) { delete obj; } qreal ascent(QTextInlineObject* theWrappedObject) const; qreal descent(QTextInlineObject* theWrappedObject) const; QTextFormat format(QTextInlineObject* theWrappedObject) const; @@ -118,12 +119,12 @@ void delete_QTextInlineObject(QTextInlineObject* obj) { delete obj; } class PythonQtShell_QTextItem : public QTextItem { public: - PythonQtShell_QTextItem():QTextItem(),_wrapper(NULL) {}; + PythonQtShell_QTextItem():QTextItem(),_wrapper(nullptr) {}; ~PythonQtShell_QTextItem(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextItem : public QObject @@ -136,7 +137,7 @@ enum RenderFlag{ Q_DECLARE_FLAGS(RenderFlags, RenderFlag) public slots: QTextItem* new_QTextItem(); -void delete_QTextItem(QTextItem* obj) { delete obj; } +void delete_QTextItem(QTextItem* obj) { delete obj; } qreal ascent(QTextItem* theWrappedObject) const; qreal descent(QTextItem* theWrappedObject) const; QFont font(QTextItem* theWrappedObject) const; @@ -160,7 +161,7 @@ QTextLayout* new_QTextLayout(); QTextLayout* new_QTextLayout(const QString& text); QTextLayout* new_QTextLayout(const QString& text, const QFont& font, QPaintDevice* paintdevice = nullptr); QTextLayout* new_QTextLayout(const QTextBlock& b); -void delete_QTextLayout(QTextLayout* obj) { delete obj; } +void delete_QTextLayout(QTextLayout* obj) { delete obj; } QList additionalFormats(QTextLayout* theWrappedObject) const; void beginLayout(QTextLayout* theWrappedObject); QRectF boundingRect(QTextLayout* theWrappedObject) const; @@ -212,12 +213,12 @@ void delete_QTextLayout(QTextLayout* obj) { delete obj; } class PythonQtShell_QTextLayout__FormatRange : public QTextLayout::FormatRange { public: - PythonQtShell_QTextLayout__FormatRange():QTextLayout::FormatRange(),_wrapper(NULL) {}; + PythonQtShell_QTextLayout__FormatRange():QTextLayout::FormatRange(),_wrapper(nullptr) {}; ~PythonQtShell_QTextLayout__FormatRange(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextLayout__FormatRange : public QObject @@ -229,7 +230,7 @@ QTextLayout::FormatRange* new_QTextLayout__FormatRange(const QTextLayout::Format PythonQtShell_QTextLayout__FormatRange* a = new PythonQtShell_QTextLayout__FormatRange(); *((QTextLayout::FormatRange*)a) = other; return a; } -void delete_QTextLayout__FormatRange(QTextLayout::FormatRange* obj) { delete obj; } +void delete_QTextLayout__FormatRange(QTextLayout::FormatRange* obj) { delete obj; } void py_set_format(QTextLayout::FormatRange* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } QTextCharFormat py_get_format(QTextLayout::FormatRange* theWrappedObject){ return theWrappedObject->format; } void py_set_length(QTextLayout::FormatRange* theWrappedObject, int length){ theWrappedObject->length = length; } @@ -256,7 +257,7 @@ QTextLine* new_QTextLine(const QTextLine& other) { QTextLine* a = new QTextLine(); *((QTextLine*)a) = other; return a; } -void delete_QTextLine(QTextLine* obj) { delete obj; } +void delete_QTextLine(QTextLine* obj) { delete obj; } qreal ascent(QTextLine* theWrappedObject) const; qreal cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge = QTextLine::Leading) const; qreal descent(QTextLine* theWrappedObject) const; @@ -293,22 +294,22 @@ void delete_QTextLine(QTextLine* obj) { delete obj; } class PythonQtShell_QTextList : public QTextList { public: - PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(NULL) {}; - - ~PythonQtShell_QTextList(); - -virtual void blockFormatChanged(const QTextBlock& block); -virtual void blockInserted(const QTextBlock& block); -virtual void blockRemoved(const QTextBlock& block); -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextList() override; + +void blockFormatChanged(const QTextBlock& block) override; +void blockInserted(const QTextBlock& block) override; +void blockRemoved(const QTextBlock& block) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextList : public QObject @@ -316,7 +317,7 @@ class PythonQtWrapper_QTextList : public QObject public: public slots: QTextList* new_QTextList(QTextDocument* doc); -void delete_QTextList(QTextList* obj) { delete obj; } +void delete_QTextList(QTextList* obj) { delete obj; } void add(QTextList* theWrappedObject, const QTextBlock& block); int count(QTextList* theWrappedObject) const; QTextListFormat format(QTextList* theWrappedObject) const; @@ -336,13 +337,13 @@ void delete_QTextList(QTextList* obj) { delete obj; } class PythonQtShell_QTextListFormat : public QTextListFormat { public: - PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextListFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextListFormat : public QObject @@ -358,7 +359,7 @@ QTextListFormat* new_QTextListFormat(const QTextListFormat& other) { PythonQtShell_QTextListFormat* a = new PythonQtShell_QTextListFormat(); *((QTextListFormat*)a) = other; return a; } -void delete_QTextListFormat(QTextListFormat* obj) { delete obj; } +void delete_QTextListFormat(QTextListFormat* obj) { delete obj; } int indent(QTextListFormat* theWrappedObject) const; bool isValid(QTextListFormat* theWrappedObject) const; QString numberPrefix(QTextListFormat* theWrappedObject) const; @@ -378,19 +379,19 @@ void delete_QTextListFormat(QTextListFormat* obj) { delete obj; } class PythonQtShell_QTextObject : public QTextObject { public: - PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(NULL) {}; + PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(nullptr) {}; - ~PythonQtShell_QTextObject(); + ~PythonQtShell_QTextObject() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextObject : public QTextObject @@ -430,7 +431,7 @@ public slots: QTextOption* new_QTextOption(); QTextOption* new_QTextOption(Qt::Alignment alignment); QTextOption* new_QTextOption(const QTextOption& o); -void delete_QTextOption(QTextOption* obj) { delete obj; } +void delete_QTextOption(QTextOption* obj) { delete obj; } Qt::Alignment alignment(QTextOption* theWrappedObject) const; QTextOption::Flags flags(QTextOption* theWrappedObject) const; void setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment); @@ -458,13 +459,13 @@ void delete_QTextOption(QTextOption* obj) { delete obj; } class PythonQtShell_QTextOption__Tab : public QTextOption::Tab { public: - PythonQtShell_QTextOption__Tab():QTextOption::Tab(),_wrapper(NULL) {}; - PythonQtShell_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()):QTextOption::Tab(pos, tabType, delim),_wrapper(NULL) {}; + PythonQtShell_QTextOption__Tab():QTextOption::Tab(),_wrapper(nullptr) {}; + PythonQtShell_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()):QTextOption::Tab(pos, tabType, delim),_wrapper(nullptr) {}; ~PythonQtShell_QTextOption__Tab(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextOption__Tab : public QObject @@ -477,7 +478,7 @@ QTextOption::Tab* new_QTextOption__Tab(const QTextOption::Tab& other) { PythonQtShell_QTextOption__Tab* a = new PythonQtShell_QTextOption__Tab(); *((QTextOption::Tab*)a) = other; return a; } -void delete_QTextOption__Tab(QTextOption::Tab* obj) { delete obj; } +void delete_QTextOption__Tab(QTextOption::Tab* obj) { delete obj; } bool __ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const; bool __eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const; void py_set_delimiter(QTextOption::Tab* theWrappedObject, QChar delimiter){ theWrappedObject->delimiter = delimiter; } @@ -495,19 +496,19 @@ QTextOption::TabType py_get_type(QTextOption::Tab* theWrappedObject){ return th class PythonQtShell_QTextTable : public QTextTable { public: - PythonQtShell_QTextTable(QTextDocument* doc):QTextTable(doc),_wrapper(NULL) {}; + PythonQtShell_QTextTable(QTextDocument* doc):QTextTable(doc),_wrapper(nullptr) {}; - ~PythonQtShell_QTextTable(); + ~PythonQtShell_QTextTable() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextTable : public QObject @@ -515,7 +516,7 @@ class PythonQtWrapper_QTextTable : public QObject public: public slots: QTextTable* new_QTextTable(QTextDocument* doc); -void delete_QTextTable(QTextTable* obj) { delete obj; } +void delete_QTextTable(QTextTable* obj) { delete obj; } void appendColumns(QTextTable* theWrappedObject, int count); void appendRows(QTextTable* theWrappedObject, int count); QTextTableCell cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const; @@ -547,7 +548,7 @@ class PythonQtWrapper_QTextTableCell : public QObject public slots: QTextTableCell* new_QTextTableCell(); QTextTableCell* new_QTextTableCell(const QTextTableCell& o); -void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } +void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } QTextFrame::iterator begin(QTextTableCell* theWrappedObject) const; int column(QTextTableCell* theWrappedObject) const; int columnSpan(QTextTableCell* theWrappedObject) const; @@ -574,13 +575,13 @@ void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat { public: - PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextTableCellFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextTableCellFormat : public QObject @@ -593,7 +594,7 @@ QTextTableCellFormat* new_QTextTableCellFormat(const QTextTableCellFormat& other PythonQtShell_QTextTableCellFormat* a = new PythonQtShell_QTextTableCellFormat(); *((QTextTableCellFormat*)a) = other; return a; } -void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } +void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } qreal bottomPadding(QTextTableCellFormat* theWrappedObject) const; bool isValid(QTextTableCellFormat* theWrappedObject) const; qreal leftPadding(QTextTableCellFormat* theWrappedObject) const; @@ -614,13 +615,13 @@ void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } class PythonQtShell_QTextTableFormat : public QTextTableFormat { public: - PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextTableFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextTableFormat : public QObject @@ -633,7 +634,7 @@ QTextTableFormat* new_QTextTableFormat(const QTextTableFormat& other) { PythonQtShell_QTextTableFormat* a = new PythonQtShell_QTextTableFormat(); *((QTextTableFormat*)a) = other; return a; } -void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } +void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } Qt::Alignment alignment(QTextTableFormat* theWrappedObject) const; qreal cellPadding(QTextTableFormat* theWrappedObject) const; qreal cellSpacing(QTextTableFormat* theWrappedObject) const; @@ -658,13 +659,13 @@ void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } class PythonQtShell_QTileRules : public QTileRules { public: - PythonQtShell_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule):QTileRules(horizontalRule, verticalRule),_wrapper(NULL) {}; - PythonQtShell_QTileRules(Qt::TileRule rule = Qt::StretchTile):QTileRules(rule),_wrapper(NULL) {}; + PythonQtShell_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule):QTileRules(horizontalRule, verticalRule),_wrapper(nullptr) {}; + PythonQtShell_QTileRules(Qt::TileRule rule = Qt::StretchTile):QTileRules(rule),_wrapper(nullptr) {}; ~PythonQtShell_QTileRules(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTileRules : public QObject @@ -673,7 +674,7 @@ class PythonQtWrapper_QTileRules : public QObject public slots: QTileRules* new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule); QTileRules* new_QTileRules(Qt::TileRule rule = Qt::StretchTile); -void delete_QTileRules(QTileRules* obj) { delete obj; } +void delete_QTileRules(QTileRules* obj) { delete obj; } void py_set_horizontal(QTileRules* theWrappedObject, Qt::TileRule horizontal){ theWrappedObject->horizontal = horizontal; } Qt::TileRule py_get_horizontal(QTileRules* theWrappedObject){ return theWrappedObject->horizontal; } void py_set_vertical(QTileRules* theWrappedObject, Qt::TileRule vertical){ theWrappedObject->vertical = vertical; } @@ -687,67 +688,67 @@ Qt::TileRule py_get_vertical(QTileRules* theWrappedObject){ return theWrappedOb class PythonQtShell_QTimeEdit : public QTimeEdit { public: - PythonQtShell_QTimeEdit(QWidget* parent = nullptr):QTimeEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = nullptr):QTimeEdit(time, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTimeEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual QDateTime dateTimeFromText(const QString& text) const; -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -virtual QString textFromDateTime(const QDateTime& dt) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTimeEdit(QWidget* parent = nullptr):QTimeEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = nullptr):QTimeEdit(time, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTimeEdit() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +QDateTime dateTimeFromText(const QString& text) const override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& input) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromDateTime(const QDateTime& dt) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTimeEdit : public QObject @@ -756,7 +757,7 @@ class PythonQtWrapper_QTimeEdit : public QObject public slots: QTimeEdit* new_QTimeEdit(QWidget* parent = nullptr); QTimeEdit* new_QTimeEdit(const QTime& time, QWidget* parent = nullptr); -void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } +void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } }; @@ -766,60 +767,60 @@ void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } class PythonQtShell_QToolBar : public QToolBar { public: - PythonQtShell_QToolBar(QWidget* parent = nullptr):QToolBar(parent),_wrapper(NULL) {}; - PythonQtShell_QToolBar(const QString& title, QWidget* parent = nullptr):QToolBar(title, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QToolBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QToolBar(QWidget* parent = nullptr):QToolBar(parent),_wrapper(nullptr) {}; + PythonQtShell_QToolBar(const QString& title, QWidget* parent = nullptr):QToolBar(title, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QToolBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolBar : public QToolBar @@ -841,7 +842,7 @@ class PythonQtWrapper_QToolBar : public QObject public slots: QToolBar* new_QToolBar(QWidget* parent = nullptr); QToolBar* new_QToolBar(const QString& title, QWidget* parent = nullptr); -void delete_QToolBar(QToolBar* obj) { delete obj; } +void delete_QToolBar(QToolBar* obj) { delete obj; } QAction* actionAt(QToolBar* theWrappedObject, const QPoint& p) const; QAction* actionAt(QToolBar* theWrappedObject, int x, int y) const; void py_q_actionEvent(QToolBar* theWrappedObject, QActionEvent* event){ (((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->py_q_actionEvent(event));} @@ -900,7 +901,7 @@ class PythonQtWrapper_QToolBarChangeEvent : public QObject public: public slots: QToolBarChangeEvent* new_QToolBarChangeEvent(bool t); -void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } +void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } bool toggle(QToolBarChangeEvent* theWrappedObject) const; }; @@ -911,61 +912,61 @@ void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } class PythonQtShell_QToolBox : public QToolBox { public: - PythonQtShell_QToolBox(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QToolBox(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QToolBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void itemInserted(int index); -virtual void itemRemoved(int index); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* e); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QToolBox(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QToolBox(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QToolBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void itemInserted(int index) override; +void itemRemoved(int index) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* e) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolBox : public QToolBox @@ -987,7 +988,7 @@ class PythonQtWrapper_QToolBox : public QObject public: public slots: QToolBox* new_QToolBox(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QToolBox(QToolBox* obj) { delete obj; } +void delete_QToolBox(QToolBox* obj) { delete obj; } int addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text); int addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& text); void py_q_changeEvent(QToolBox* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_changeEvent(arg__1));} @@ -1022,62 +1023,62 @@ void delete_QToolBox(QToolBox* obj) { delete obj; } class PythonQtShell_QToolButton : public QToolButton { public: - PythonQtShell_QToolButton(QWidget* parent = nullptr):QToolButton(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QToolButton(); - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void checkStateSet(); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QToolButton(QWidget* parent = nullptr):QToolButton(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QToolButton() override; + +void actionEvent(QActionEvent* arg__1) override; +void changeEvent(QEvent* arg__1) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* arg__1) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& pos) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolButton : public QToolButton @@ -1114,7 +1115,7 @@ class PythonQtWrapper_QToolButton : public QObject public: public slots: QToolButton* new_QToolButton(QWidget* parent = nullptr); -void delete_QToolButton(QToolButton* obj) { delete obj; } +void delete_QToolButton(QToolButton* obj) { delete obj; } void py_q_actionEvent(QToolButton* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_actionEvent(arg__1));} Qt::ArrowType arrowType(QToolButton* theWrappedObject) const; bool autoRaise(QToolButton* theWrappedObject) const; @@ -1151,7 +1152,7 @@ class PythonQtWrapper_QToolTip : public QObject { Q_OBJECT public: public slots: -void delete_QToolTip(QToolTip* obj) { delete obj; } +void delete_QToolTip(QToolTip* obj) { delete obj; } QFont static_QToolTip_font(); void static_QToolTip_hideText(); bool static_QToolTip_isVisible(); @@ -1180,7 +1181,7 @@ enum DeviceType{ Q_DECLARE_FLAGS(Capabilities, CapabilityFlag) public slots: QTouchDevice* new_QTouchDevice(); -void delete_QTouchDevice(QTouchDevice* obj) { delete obj; } +void delete_QTouchDevice(QTouchDevice* obj) { delete obj; } QTouchDevice::Capabilities capabilities(QTouchDevice* theWrappedObject) const; QList static_QTouchDevice_devices(); int maximumTouchPoints(QTouchDevice* theWrappedObject) const; @@ -1200,12 +1201,12 @@ void delete_QTouchDevice(QTouchDevice* obj) { delete obj; } class PythonQtShell_QTouchEvent : public QTouchEvent { public: - PythonQtShell_QTouchEvent(QEvent::Type eventType, QTouchDevice* device = nullptr, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = Qt::TouchPointStates(), const QList& touchPoints = QList()):QTouchEvent(eventType, device, modifiers, touchPointStates, touchPoints),_wrapper(NULL) {}; + PythonQtShell_QTouchEvent(QEvent::Type eventType, QTouchDevice* device = nullptr, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = Qt::TouchPointStates(), const QList& touchPoints = QList()):QTouchEvent(eventType, device, modifiers, touchPointStates, touchPoints),_wrapper(nullptr) {}; - ~PythonQtShell_QTouchEvent(); + ~PythonQtShell_QTouchEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTouchEvent : public QObject @@ -1213,7 +1214,7 @@ class PythonQtWrapper_QTouchEvent : public QObject public: public slots: QTouchEvent* new_QTouchEvent(QEvent::Type eventType, QTouchDevice* device = nullptr, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = Qt::TouchPointStates(), const QList& touchPoints = QList()); -void delete_QTouchEvent(QTouchEvent* obj) { delete obj; } +void delete_QTouchEvent(QTouchEvent* obj) { delete obj; } QTouchDevice* device(QTouchEvent* theWrappedObject) const; void setDevice(QTouchEvent* theWrappedObject, QTouchDevice* adevice); void setTarget(QTouchEvent* theWrappedObject, QObject* atarget); @@ -1241,7 +1242,7 @@ Q_DECLARE_FLAGS(InfoFlags, InfoFlag) public slots: QTouchEvent::TouchPoint* new_QTouchEvent__TouchPoint(const QTouchEvent::TouchPoint& other); QTouchEvent::TouchPoint* new_QTouchEvent__TouchPoint(int id = -1); -void delete_QTouchEvent__TouchPoint(QTouchEvent::TouchPoint* obj) { delete obj; } +void delete_QTouchEvent__TouchPoint(QTouchEvent::TouchPoint* obj) { delete obj; } QSizeF ellipseDiameters(QTouchEvent::TouchPoint* theWrappedObject) const; QTouchEvent::TouchPoint::InfoFlags flags(QTouchEvent::TouchPoint* theWrappedObject) const; int id(QTouchEvent::TouchPoint* theWrappedObject) const; @@ -1310,7 +1311,7 @@ QTransform* new_QTransform(const QMatrix& mtx); QTransform* new_QTransform(const QTransform& other); QTransform* new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33 = 1.0); QTransform* new_QTransform(qreal h11, qreal h12, qreal h21, qreal h22, qreal dx, qreal dy); -void delete_QTransform(QTransform* obj) { delete obj; } +void delete_QTransform(QTransform* obj) { delete obj; } QTransform adjoint(QTransform* theWrappedObject) const; qreal det(QTransform* theWrappedObject) const; qreal determinant(QTransform* theWrappedObject) const; @@ -1382,103 +1383,103 @@ void delete_QTransform(QTransform* obj) { delete obj; } class PythonQtShell_QTreeView : public QTreeView { public: - PythonQtShell_QTreeView(QWidget* parent = nullptr):QTreeView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTreeView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* event); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const; -virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTreeView(QWidget* parent = nullptr):QTreeView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTreeView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const override; +void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTreeView : public QTreeView @@ -1565,7 +1566,7 @@ class PythonQtWrapper_QTreeView : public QObject public: public slots: QTreeView* new_QTreeView(QWidget* parent = nullptr); -void delete_QTreeView(QTreeView* obj) { delete obj; } +void delete_QTreeView(QTreeView* obj) { delete obj; } bool allColumnsShowFocus(QTreeView* theWrappedObject) const; int autoExpandDelay(QTreeView* theWrappedObject) const; int columnAt(QTreeView* theWrappedObject, int x) const; @@ -1661,106 +1662,106 @@ void delete_QTreeView(QTreeView* obj) { delete obj; } class PythonQtShell_QTreeWidget : public QTreeWidget { public: - PythonQtShell_QTreeWidget(QWidget* parent = nullptr):QTreeWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTreeWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* event); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const; -virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; -virtual void dropEvent(QDropEvent* event); -virtual bool dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QMimeData* mimeData(const QList items) const; -virtual QStringList mimeTypes() const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual Qt::DropActions supportedDropActions() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTreeWidget(QWidget* parent = nullptr):QTreeWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTreeWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const override; +void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const override; +void dropEvent(QDropEvent* event) override; +bool dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QMimeData* mimeData(const QList items) const override; +QStringList mimeTypes() const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +Qt::DropActions supportedDropActions() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTreeWidget : public QTreeWidget @@ -1788,7 +1789,7 @@ class PythonQtWrapper_QTreeWidget : public QObject public: public slots: QTreeWidget* new_QTreeWidget(QWidget* parent = nullptr); -void delete_QTreeWidget(QTreeWidget* obj) { delete obj; } +void delete_QTreeWidget(QTreeWidget* obj) { delete obj; } void addTopLevelItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item); void addTopLevelItems(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP > items); void closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); @@ -1850,24 +1851,24 @@ void delete_QTreeWidget(QTreeWidget* obj) { delete obj; } class PythonQtShell_QTreeWidgetItem : public QTreeWidgetItem { public: - PythonQtShell_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(view, after, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type = Type):QTreeWidgetItem(view, strings, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidget* view, int type = Type):QTreeWidgetItem(view, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(parent, after, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type):QTreeWidgetItem(parent, strings, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type):QTreeWidgetItem(parent, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(const QStringList& strings, int type = Type):QTreeWidgetItem(strings, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(int type = Type):QTreeWidgetItem(type),_wrapper(NULL) {}; - - ~PythonQtShell_QTreeWidgetItem(); - -virtual QTreeWidgetItem* clone() const; -virtual QVariant data(int column, int role) const; -virtual void read(QDataStream& in); -virtual void setData(int column, int role, const QVariant& value); -virtual void write(QDataStream& out) const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(view, after, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type = Type):QTreeWidgetItem(view, strings, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidget* view, int type = Type):QTreeWidgetItem(view, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(parent, after, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type):QTreeWidgetItem(parent, strings, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type):QTreeWidgetItem(parent, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(const QStringList& strings, int type = Type):QTreeWidgetItem(strings, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(int type = Type):QTreeWidgetItem(type),_wrapper(nullptr) {}; + + ~PythonQtShell_QTreeWidgetItem() override; + +QTreeWidgetItem* clone() const override; +QVariant data(int column, int role) const override; +void read(QDataStream& in) override; +void setData(int column, int role, const QVariant& value) override; +void write(QDataStream& out) const override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTreeWidgetItem : public QTreeWidgetItem @@ -1897,7 +1898,7 @@ QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, int type = Type); QTreeWidgetItem* new_QTreeWidgetItem(const QStringList& strings, int type = Type); QTreeWidgetItem* new_QTreeWidgetItem(int type = Type); -void delete_QTreeWidgetItem(QTreeWidgetItem* obj) { delete obj; } +void delete_QTreeWidgetItem(QTreeWidgetItem* obj) { delete obj; } void addChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP child); void addChildren(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP > children); QBrush background(QTreeWidgetItem* theWrappedObject, int column) const; @@ -1971,17 +1972,17 @@ void delete_QTreeWidgetItem(QTreeWidgetItem* obj) { delete obj; } class PythonQtShell_QUndoCommand : public QUndoCommand { public: - PythonQtShell_QUndoCommand(QUndoCommand* parent = nullptr):QUndoCommand(parent),_wrapper(NULL) {}; - PythonQtShell_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr):QUndoCommand(text, parent),_wrapper(NULL) {}; + PythonQtShell_QUndoCommand(QUndoCommand* parent = nullptr):QUndoCommand(parent),_wrapper(nullptr) {}; + PythonQtShell_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr):QUndoCommand(text, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QUndoCommand(); + ~PythonQtShell_QUndoCommand() override; -virtual int id() const; -virtual bool mergeWith(const QUndoCommand* other); -virtual void redo(); -virtual void undo(); +int id() const override; +bool mergeWith(const QUndoCommand* other) override; +void redo() override; +void undo() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QUndoCommand : public QUndoCommand @@ -1998,7 +1999,7 @@ class PythonQtWrapper_QUndoCommand : public QObject public slots: QUndoCommand* new_QUndoCommand(QUndoCommand* parent = nullptr); QUndoCommand* new_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr); -void delete_QUndoCommand(QUndoCommand* obj) { delete obj; } +void delete_QUndoCommand(QUndoCommand* obj) { delete obj; } QString actionText(QUndoCommand* theWrappedObject) const; const QUndoCommand* child(QUndoCommand* theWrappedObject, int index) const; int childCount(QUndoCommand* theWrappedObject) const; @@ -2023,19 +2024,19 @@ void delete_QUndoCommand(QUndoCommand* obj) { delete obj; } class PythonQtShell_QUndoGroup : public QUndoGroup { public: - PythonQtShell_QUndoGroup(QObject* parent = nullptr):QUndoGroup(parent),_wrapper(NULL) {}; + PythonQtShell_QUndoGroup(QObject* parent = nullptr):QUndoGroup(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QUndoGroup(); + ~PythonQtShell_QUndoGroup() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QUndoGroup : public QObject @@ -2043,7 +2044,7 @@ class PythonQtWrapper_QUndoGroup : public QObject public: public slots: QUndoGroup* new_QUndoGroup(QObject* parent = nullptr); -void delete_QUndoGroup(QUndoGroup* obj) { delete obj; } +void delete_QUndoGroup(QUndoGroup* obj) { delete obj; } QUndoStack* activeStack(QUndoGroup* theWrappedObject) const; void addStack(QUndoGroup* theWrappedObject, QUndoStack* stack); bool canRedo(QUndoGroup* theWrappedObject) const; 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..ecdef954c 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 @@ -50,6 +50,7 @@ #include #include #include +#include #include #include #include @@ -77,9 +78,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -99,9 +100,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -121,20 +122,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -154,20 +155,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -187,9 +188,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -327,9 +328,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -349,9 +350,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -371,9 +372,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -393,9 +394,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -415,9 +416,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -437,9 +438,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -459,9 +460,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -481,9 +482,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -503,9 +504,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -525,9 +526,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -547,20 +548,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -580,9 +581,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -602,9 +603,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -624,9 +625,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -646,9 +647,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -668,9 +669,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -690,20 +691,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -723,9 +724,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -745,9 +746,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -767,20 +768,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -800,20 +801,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -833,9 +834,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -855,20 +856,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -888,9 +889,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -910,20 +911,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -943,20 +944,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -976,9 +977,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -998,20 +999,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1031,9 +1032,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1053,9 +1054,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1075,20 +1076,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1108,9 +1109,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1130,9 +1131,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1152,20 +1153,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1185,20 +1186,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1218,9 +1219,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1240,9 +1241,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1262,9 +1263,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1284,9 +1285,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1306,20 +1307,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1339,20 +1340,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1372,9 +1373,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1394,9 +1395,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1416,9 +1417,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1438,9 +1439,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1460,20 +1461,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1493,9 +1494,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1515,20 +1516,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1548,20 +1549,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1581,9 +1582,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1603,20 +1604,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1636,9 +1637,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1658,9 +1659,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1680,9 +1681,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1702,9 +1703,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1724,9 +1725,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1746,9 +1747,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1768,9 +1769,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1790,20 +1791,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1823,9 +1824,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1845,20 +1846,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1878,9 +1879,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1900,9 +1901,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1922,9 +1923,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1944,9 +1945,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1966,9 +1967,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1988,9 +1989,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2010,20 +2011,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2043,9 +2044,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2065,20 +2066,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2098,20 +2099,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&column0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2131,20 +2132,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&row0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2164,9 +2165,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2186,9 +2187,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2208,9 +2209,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2230,9 +2231,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2252,9 +2253,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2274,9 +2275,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2296,20 +2297,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2329,9 +2330,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2351,9 +2352,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2373,20 +2374,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2406,20 +2407,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2439,20 +2440,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2472,20 +2473,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2505,20 +2506,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2538,9 +2539,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2621,9 +2622,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2643,9 +2644,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2665,20 +2666,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2698,20 +2699,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2731,9 +2732,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2753,20 +2754,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2786,20 +2787,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2819,20 +2820,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2852,20 +2853,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2885,20 +2886,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2918,20 +2919,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2951,20 +2952,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2984,9 +2985,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3006,20 +3007,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3039,20 +3040,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3072,20 +3073,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3105,20 +3106,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3138,20 +3139,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3171,20 +3172,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3204,9 +3205,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3226,20 +3227,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3249,6 +3250,39 @@ if (_wrapper) { } return QVBoxLayout::sizeHint(); } +QSpacerItem* PythonQtShell_QVBoxLayout::spacerItem() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("spacerItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVBoxLayout::spacerItem(); +} QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) { if (_wrapper) { @@ -3259,20 +3293,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3292,9 +3326,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3304,6 +3338,39 @@ if (_wrapper) { } QVBoxLayout::timerEvent(event0); } +QWidget* PythonQtShell_QVBoxLayout::widget() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("widget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVBoxLayout::widget(); +} QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout() { return new PythonQtShell_QVBoxLayout(); } @@ -3341,9 +3408,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3363,9 +3430,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3385,20 +3452,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3418,20 +3485,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3451,9 +3518,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3473,9 +3540,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3495,20 +3562,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3621,6 +3688,11 @@ QVector2D PythonQtWrapper_QVector2D::normalized(QVector2D* theWrappedObject) co return ( theWrappedObject->normalized()); } +bool PythonQtWrapper_QVector2D::__ne__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)!= v2); +} + const QVector2D PythonQtWrapper_QVector2D::__mul__(QVector2D* theWrappedObject, const QVector2D& v2) { return ( (*theWrappedObject)* v2); @@ -3843,6 +3915,11 @@ QVector3D PythonQtWrapper_QVector3D::normalized(QVector3D* theWrappedObject) co return ( theWrappedObject->normalized()); } +bool PythonQtWrapper_QVector3D::__ne__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)!= v2); +} + QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, const QMatrix4x4& matrix) { return ( (*theWrappedObject)* matrix); @@ -4059,6 +4136,11 @@ QVector4D PythonQtWrapper_QVector4D::normalized(QVector4D* theWrappedObject) co return ( theWrappedObject->normalized()); } +bool PythonQtWrapper_QVector4D::__ne__(QVector4D* theWrappedObject, const QVector4D& v2) +{ + return ( (*theWrappedObject)!= v2); +} + QVector4D PythonQtWrapper_QVector4D::__mul__(QVector4D* theWrappedObject, const QMatrix4x4& matrix) { return ( (*theWrappedObject)* matrix); @@ -4390,9 +4472,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4412,9 +4494,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4434,9 +4516,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4456,9 +4538,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4478,9 +4560,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4500,9 +4582,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4522,20 +4604,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4555,9 +4637,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4577,9 +4659,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4599,9 +4681,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4621,9 +4703,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4643,9 +4725,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4665,20 +4747,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4698,20 +4780,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4731,9 +4813,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4753,20 +4835,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4786,9 +4868,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4808,20 +4890,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4841,20 +4923,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4874,9 +4956,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4896,9 +4978,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4918,9 +5000,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4940,20 +5022,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4973,9 +5055,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4995,9 +5077,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5017,9 +5099,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5039,20 +5121,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5072,20 +5154,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5105,9 +5187,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5127,9 +5209,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5149,9 +5231,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5171,9 +5253,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5193,9 +5275,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5215,20 +5297,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5248,20 +5330,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5281,9 +5363,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5303,20 +5385,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5336,9 +5418,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5358,9 +5440,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5380,20 +5462,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5413,9 +5495,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5435,20 +5517,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5468,9 +5550,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5490,9 +5572,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5512,9 +5594,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6814,9 +6896,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6836,20 +6918,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QWidget*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QWidget* returnValue; - void* args[2] = {NULL, (void*)&parent0}; + QWidget* returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6869,9 +6951,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6891,9 +6973,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6913,20 +6995,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6946,20 +7028,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6979,9 +7061,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7059,20 +7141,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7092,20 +7174,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7125,20 +7207,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7158,20 +7240,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7191,20 +7273,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7224,9 +7306,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7246,20 +7328,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7279,20 +7361,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7312,20 +7394,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7345,20 +7427,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7378,20 +7460,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7411,9 +7493,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7433,20 +7515,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7466,20 +7548,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSpacerItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue; - void* args[1] = {NULL}; + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7499,20 +7581,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue; - void* args[1] = {NULL}; + QWidget* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7542,9 +7624,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7564,9 +7646,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7586,20 +7668,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7619,20 +7701,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7652,9 +7734,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QExposeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7674,9 +7756,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7696,20 +7778,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue; - void* args[1] = {NULL}; + QObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); } else { returnValue = *((QObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7729,9 +7811,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7751,20 +7833,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSurfaceFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurfaceFormat returnValue; - void* args[1] = {NULL}; + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7784,9 +7866,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7806,9 +7888,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7828,9 +7910,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7850,9 +7932,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7872,9 +7954,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7894,9 +7976,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7916,9 +7998,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7938,9 +8020,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7960,20 +8042,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7993,9 +8075,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8015,9 +8097,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8037,20 +8119,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8070,20 +8152,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSurface::SurfaceType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurface::SurfaceType returnValue; - void* args[1] = {NULL}; + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); } else { returnValue = *((QSurface::SurfaceType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8103,9 +8185,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8125,9 +8207,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8147,9 +8229,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTouchEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8169,9 +8251,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8716,9 +8798,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8738,9 +8820,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8760,9 +8842,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8782,9 +8864,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8804,9 +8886,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&id0}; + void* args[2] = {nullptr, (void*)&id0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8826,9 +8908,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8848,9 +8930,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8870,9 +8952,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8892,20 +8974,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8925,9 +9007,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8947,9 +9029,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8969,9 +9051,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8991,9 +9073,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9013,9 +9095,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9035,9 +9117,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9057,20 +9139,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9090,20 +9172,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9123,20 +9205,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9156,9 +9238,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9178,20 +9260,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9211,9 +9293,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9233,20 +9315,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9266,20 +9348,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9299,9 +9381,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9321,9 +9403,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9343,9 +9425,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&id0}; + void* args[2] = {nullptr, (void*)&id0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9365,9 +9447,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9387,20 +9469,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9420,9 +9502,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9442,9 +9524,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9464,9 +9546,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9486,20 +9568,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9519,20 +9601,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9552,9 +9634,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9574,9 +9656,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9596,9 +9678,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9618,9 +9700,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9640,9 +9722,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9662,20 +9744,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9695,20 +9777,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9728,9 +9810,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9750,20 +9832,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9783,9 +9865,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9805,20 +9887,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9838,9 +9920,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9860,9 +9942,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9882,9 +9964,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9904,20 +9986,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9937,9 +10019,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9959,20 +10041,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9992,9 +10074,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10014,9 +10096,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10036,20 +10118,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validateCurrentPage", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10069,9 +10151,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10294,9 +10376,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10316,9 +10398,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10338,9 +10420,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10360,9 +10442,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10382,9 +10464,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10404,9 +10486,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10426,9 +10508,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10448,20 +10530,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10481,9 +10563,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10503,9 +10585,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10525,9 +10607,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10547,9 +10629,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10569,9 +10651,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10591,20 +10673,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10624,20 +10706,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10657,9 +10739,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10679,20 +10761,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10712,9 +10794,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10734,20 +10816,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10767,20 +10849,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10800,9 +10882,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10822,9 +10904,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10844,9 +10926,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10866,9 +10948,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10888,20 +10970,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10921,20 +11003,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isComplete", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10954,9 +11036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10976,9 +11058,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10998,9 +11080,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11020,20 +11102,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11053,20 +11135,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11086,9 +11168,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11108,9 +11190,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11130,9 +11212,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11152,9 +11234,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11174,9 +11256,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11196,20 +11278,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11229,20 +11311,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11262,20 +11344,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11295,9 +11377,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11317,20 +11399,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11350,9 +11432,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11372,9 +11454,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11394,20 +11476,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11427,9 +11509,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11449,20 +11531,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11482,9 +11564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11504,9 +11586,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11526,20 +11608,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validatePage", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11559,9 +11641,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui12.h b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui12.h index d053360d0..9fdcf39f0 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui12.h +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui12.h @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -67,19 +68,19 @@ class PythonQtShell_QUndoStack : public QUndoStack { public: - PythonQtShell_QUndoStack(QObject* parent = nullptr):QUndoStack(parent),_wrapper(NULL) {}; + PythonQtShell_QUndoStack(QObject* parent = nullptr):QUndoStack(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QUndoStack(); + ~PythonQtShell_QUndoStack() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QUndoStack : public QObject @@ -87,7 +88,7 @@ class PythonQtWrapper_QUndoStack : public QObject public: public slots: QUndoStack* new_QUndoStack(QObject* parent = nullptr); -void delete_QUndoStack(QUndoStack* obj) { delete obj; } +void delete_QUndoStack(QUndoStack* obj) { delete obj; } void beginMacro(QUndoStack* theWrappedObject, const QString& text); bool canRedo(QUndoStack* theWrappedObject) const; bool canUndo(QUndoStack* theWrappedObject) const; @@ -116,103 +117,103 @@ void delete_QUndoStack(QUndoStack* obj) { delete obj; } class PythonQtShell_QUndoView : public QUndoView { public: - PythonQtShell_QUndoView(QUndoGroup* group, QWidget* parent = nullptr):QUndoView(group, parent),_wrapper(NULL) {}; - PythonQtShell_QUndoView(QUndoStack* stack, QWidget* parent = nullptr):QUndoView(stack, parent),_wrapper(NULL) {}; - PythonQtShell_QUndoView(QWidget* parent = nullptr):QUndoView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QUndoView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* event); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* e); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QUndoView(QUndoGroup* group, QWidget* parent = nullptr):QUndoView(group, parent),_wrapper(nullptr) {}; + PythonQtShell_QUndoView(QUndoStack* stack, QWidget* parent = nullptr):QUndoView(stack, parent),_wrapper(nullptr) {}; + PythonQtShell_QUndoView(QWidget* parent = nullptr):QUndoView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUndoView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* e) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* e) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QUndoView : public QObject @@ -222,7 +223,7 @@ public slots: QUndoView* new_QUndoView(QUndoGroup* group, QWidget* parent = nullptr); QUndoView* new_QUndoView(QUndoStack* stack, QWidget* parent = nullptr); QUndoView* new_QUndoView(QWidget* parent = nullptr); -void delete_QUndoView(QUndoView* obj) { delete obj; } +void delete_QUndoView(QUndoView* obj) { delete obj; } QIcon cleanIcon(QUndoView* theWrappedObject) const; QString emptyLabel(QUndoView* theWrappedObject) const; QUndoGroup* group(QUndoView* theWrappedObject) const; @@ -238,38 +239,40 @@ void delete_QUndoView(QUndoView* obj) { delete obj; } class PythonQtShell_QVBoxLayout : public QVBoxLayout { public: - PythonQtShell_QVBoxLayout():QVBoxLayout(),_wrapper(NULL) {}; - PythonQtShell_QVBoxLayout(QWidget* parent):QVBoxLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QVBoxLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual int count() const; -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual int indexOf(QWidget* arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayoutItem* itemAt(int arg__1) const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QLayoutItem* takeAt(int arg__1); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QVBoxLayout():QVBoxLayout(),_wrapper(nullptr) {}; + PythonQtShell_QVBoxLayout(QWidget* parent):QVBoxLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVBoxLayout() override; + +void addItem(QLayoutItem* arg__1) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int arg__1) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int arg__1) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QVBoxLayout : public QObject @@ -278,7 +281,7 @@ class PythonQtWrapper_QVBoxLayout : public QObject public slots: QVBoxLayout* new_QVBoxLayout(); QVBoxLayout* new_QVBoxLayout(QWidget* parent); -void delete_QVBoxLayout(QVBoxLayout* obj) { delete obj; } +void delete_QVBoxLayout(QVBoxLayout* obj) { delete obj; } bool __nonzero__(QVBoxLayout* obj) { return !obj->isEmpty(); } }; @@ -289,21 +292,21 @@ void delete_QVBoxLayout(QVBoxLayout* obj) { delete obj; } class PythonQtShell_QValidator : public QValidator { public: - PythonQtShell_QValidator(QObject* parent = nullptr):QValidator(parent),_wrapper(NULL) {}; + PythonQtShell_QValidator(QObject* parent = nullptr):QValidator(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QValidator(); + ~PythonQtShell_QValidator() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fixup(QString& arg__1) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& arg__1, int& arg__2) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& arg__1) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& arg__1, int& arg__2) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QValidator : public QValidator @@ -320,7 +323,7 @@ enum State{ Invalid = QValidator::Invalid, Intermediate = QValidator::Intermediate, Acceptable = QValidator::Acceptable}; public slots: QValidator* new_QValidator(QObject* parent = nullptr); -void delete_QValidator(QValidator* obj) { delete obj; } +void delete_QValidator(QValidator* obj) { delete obj; } void fixup(QValidator* theWrappedObject, QString& arg__1) const; void py_q_fixup(QValidator* theWrappedObject, QString& arg__1) const{ (((PythonQtPublicPromoter_QValidator*)theWrappedObject)->py_q_fixup(arg__1));} QLocale locale(QValidator* theWrappedObject) const; @@ -347,7 +350,7 @@ QVector2D* new_QVector2D(const QVector2D& other) { QVector2D* a = new QVector2D(); *((QVector2D*)a) = other; return a; } -void delete_QVector2D(QVector2D* obj) { delete obj; } +void delete_QVector2D(QVector2D* obj) { delete obj; } float distanceToLine(QVector2D* theWrappedObject, const QVector2D& point, const QVector2D& direction) const; float distanceToPoint(QVector2D* theWrappedObject, const QVector2D& point) const; float static_QVector2D_dotProduct(const QVector2D& v1, const QVector2D& v2); @@ -356,6 +359,7 @@ void delete_QVector2D(QVector2D* obj) { delete obj; } float lengthSquared(QVector2D* theWrappedObject) const; void normalize(QVector2D* theWrappedObject); QVector2D normalized(QVector2D* theWrappedObject) const; + bool __ne__(QVector2D* theWrappedObject, const QVector2D& v2); const QVector2D __mul__(QVector2D* theWrappedObject, const QVector2D& v2); const QVector2D __mul__(QVector2D* theWrappedObject, float factor); QVector2D* __imul__(QVector2D* theWrappedObject, const QVector2D& vector); @@ -403,7 +407,7 @@ QVector3D* new_QVector3D(const QVector3D& other) { QVector3D* a = new QVector3D(); *((QVector3D*)a) = other; return a; } -void delete_QVector3D(QVector3D* obj) { delete obj; } +void delete_QVector3D(QVector3D* obj) { delete obj; } QVector3D static_QVector3D_crossProduct(const QVector3D& v1, const QVector3D& v2); float distanceToLine(QVector3D* theWrappedObject, const QVector3D& point, const QVector3D& direction) const; float distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane, const QVector3D& normal) const; @@ -417,6 +421,7 @@ void delete_QVector3D(QVector3D* obj) { delete obj; } QVector3D static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2, const QVector3D& v3); void normalize(QVector3D* theWrappedObject); QVector3D normalized(QVector3D* theWrappedObject) const; + bool __ne__(QVector3D* theWrappedObject, const QVector3D& v2); QVector3D __mul__(QVector3D* theWrappedObject, const QMatrix4x4& matrix); const QVector3D __mul__(QVector3D* theWrappedObject, const QVector3D& v2); const QVector3D __mul__(QVector3D* theWrappedObject, float factor); @@ -470,13 +475,14 @@ QVector4D* new_QVector4D(const QVector4D& other) { QVector4D* a = new QVector4D(); *((QVector4D*)a) = other; return a; } -void delete_QVector4D(QVector4D* obj) { delete obj; } +void delete_QVector4D(QVector4D* obj) { delete obj; } float static_QVector4D_dotProduct(const QVector4D& v1, const QVector4D& v2); bool isNull(QVector4D* theWrappedObject) const; float length(QVector4D* theWrappedObject) const; float lengthSquared(QVector4D* theWrappedObject) const; void normalize(QVector4D* theWrappedObject); QVector4D normalized(QVector4D* theWrappedObject) const; + bool __ne__(QVector4D* theWrappedObject, const QVector4D& v2); QVector4D __mul__(QVector4D* theWrappedObject, const QMatrix4x4& matrix); const QVector4D __mul__(QVector4D* theWrappedObject, const QVector4D& v2); const QVector4D __mul__(QVector4D* theWrappedObject, float factor); @@ -520,7 +526,7 @@ class PythonQtWrapper_QWhatsThis : public QObject { Q_OBJECT public: public slots: -void delete_QWhatsThis(QWhatsThis* obj) { delete obj; } +void delete_QWhatsThis(QWhatsThis* obj) { delete obj; } QAction* static_QWhatsThis_createAction(QObject* parent = nullptr); void static_QWhatsThis_enterWhatsThisMode(); void static_QWhatsThis_hideText(); @@ -538,7 +544,7 @@ class PythonQtWrapper_QWhatsThisClickedEvent : public QObject public: public slots: QWhatsThisClickedEvent* new_QWhatsThisClickedEvent(const QString& href); -void delete_QWhatsThisClickedEvent(QWhatsThisClickedEvent* obj) { delete obj; } +void delete_QWhatsThisClickedEvent(QWhatsThisClickedEvent* obj) { delete obj; } QString href(QWhatsThisClickedEvent* theWrappedObject) const; }; @@ -549,17 +555,17 @@ void delete_QWhatsThisClickedEvent(QWhatsThisClickedEvent* obj) { delete obj; } class PythonQtShell_QWheelEvent : public QWheelEvent { public: - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source, bool inverted):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source, inverted),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, globalPos, delta, buttons, modifiers, orient),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, delta, buttons, modifiers, orient),_wrapper(NULL) {}; + PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers),_wrapper(nullptr) {}; + PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase),_wrapper(nullptr) {}; + PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source),_wrapper(nullptr) {}; + PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source, bool inverted):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source, inverted),_wrapper(nullptr) {}; + PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, globalPos, delta, buttons, modifiers, orient),_wrapper(nullptr) {}; + PythonQtShell_QWheelEvent(const QPointF& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, delta, buttons, modifiers, orient),_wrapper(nullptr) {}; - ~PythonQtShell_QWheelEvent(); + ~PythonQtShell_QWheelEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QWheelEvent : public QObject @@ -572,7 +578,7 @@ QWheelEvent* new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPo QWheelEvent* new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source, bool inverted); QWheelEvent* new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical); QWheelEvent* new_QWheelEvent(const QPointF& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical); -void delete_QWheelEvent(QWheelEvent* obj) { delete obj; } +void delete_QWheelEvent(QWheelEvent* obj) { delete obj; } QPoint angleDelta(QWheelEvent* theWrappedObject) const; Qt::MouseButtons buttons(QWheelEvent* theWrappedObject) const; int delta(QWheelEvent* theWrappedObject) const; @@ -598,59 +604,59 @@ void delete_QWheelEvent(QWheelEvent* obj) { delete obj; } class PythonQtShell_QWidget : public QWidget { public: - PythonQtShell_QWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QWidget(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QWidget(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWidget : public QWidget @@ -745,7 +751,7 @@ enum RenderFlag{ Q_DECLARE_FLAGS(RenderFlags, RenderFlag) public slots: QWidget* new_QWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QWidget(QWidget* obj) { delete obj; } +void delete_QWidget(QWidget* obj) { delete obj; } bool acceptDrops(QWidget* theWrappedObject) const; QString accessibleDescription(QWidget* theWrappedObject) const; QString accessibleName(QWidget* theWrappedObject) const; @@ -1047,21 +1053,21 @@ void delete_QWidget(QWidget* obj) { delete obj; } class PythonQtShell_QWidgetAction : public QWidgetAction { public: - PythonQtShell_QWidgetAction(QObject* parent):QWidgetAction(parent),_wrapper(NULL) {}; + PythonQtShell_QWidgetAction(QObject* parent):QWidgetAction(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QWidgetAction(); + ~PythonQtShell_QWidgetAction() override; -virtual void childEvent(QChildEvent* event); -virtual QWidget* createWidget(QWidget* parent); -virtual void customEvent(QEvent* event); -virtual void deleteWidget(QWidget* widget); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +QWidget* createWidget(QWidget* parent) override; +void customEvent(QEvent* event) override; +void deleteWidget(QWidget* widget) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWidgetAction : public QWidgetAction @@ -1082,7 +1088,7 @@ class PythonQtWrapper_QWidgetAction : public QObject public: public slots: QWidgetAction* new_QWidgetAction(QObject* parent); -void delete_QWidgetAction(QWidgetAction* obj) { delete obj; } +void delete_QWidgetAction(QWidgetAction* obj) { delete obj; } QWidget* createWidget(QWidgetAction* theWrappedObject, QWidget* parent); QWidget* py_q_createWidget(QWidgetAction* theWrappedObject, QWidget* parent){ return (((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->py_q_createWidget(parent));} QList createdWidgets(QWidgetAction* theWrappedObject) const; @@ -1103,27 +1109,27 @@ void delete_QWidgetAction(QWidgetAction* obj) { delete obj; } class PythonQtShell_QWidgetItem : public QWidgetItem { public: - PythonQtShell_QWidgetItem(QWidget* w):QWidgetItem(w),_wrapper(NULL) {}; - - ~PythonQtShell_QWidgetItem(); - -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QSpacerItem* spacerItem(); -virtual QWidget* widget(); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QWidgetItem(QWidget* w):QWidgetItem(w),_wrapper(nullptr) {}; + + ~PythonQtShell_QWidgetItem() override; + +QSizePolicy::ControlTypes controlTypes() const override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QWidget* widget() override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWidgetItem : public QWidgetItem @@ -1146,7 +1152,7 @@ class PythonQtWrapper_QWidgetItem : public QObject public: public slots: QWidgetItem* new_QWidgetItem(QWidget* w); -void delete_QWidgetItem(QWidgetItem* obj) { delete obj; } +void delete_QWidgetItem(QWidgetItem* obj) { delete obj; } QSizePolicy::ControlTypes py_q_controlTypes(QWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_controlTypes());} Qt::Orientations py_q_expandingDirections(QWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_expandingDirections());} QRect py_q_geometry(QWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_geometry());} @@ -1168,41 +1174,41 @@ void delete_QWidgetItem(QWidgetItem* obj) { delete obj; } class PythonQtShell_QWindow : public QWindow { public: - PythonQtShell_QWindow(QScreen* screen = nullptr):QWindow(screen),_wrapper(NULL) {}; - PythonQtShell_QWindow(QWindow* parent):QWindow(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QWindow(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void exposeEvent(QExposeEvent* arg__1); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual QObject* focusObject() const; -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual QSurfaceFormat format() const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize size() const; -virtual QSurface::SurfaceType surfaceType() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* event); -virtual void touchEvent(QTouchEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QWindow(QScreen* screen = nullptr):QWindow(screen),_wrapper(nullptr) {}; + PythonQtShell_QWindow(QWindow* parent):QWindow(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QWindow() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void exposeEvent(QExposeEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +QObject* focusObject() const override; +void focusOutEvent(QFocusEvent* arg__1) override; +QSurfaceFormat format() const override; +void hideEvent(QHideEvent* arg__1) override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void resizeEvent(QResizeEvent* arg__1) override; +void showEvent(QShowEvent* arg__1) override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; +void tabletEvent(QTabletEvent* arg__1) override; +void timerEvent(QTimerEvent* event) override; +void touchEvent(QTouchEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWindow : public QWindow @@ -1255,7 +1261,7 @@ class PythonQtWrapper_QWindow : public QObject public slots: QWindow* new_QWindow(QScreen* screen = nullptr); QWindow* new_QWindow(QWindow* parent); -void delete_QWindow(QWindow* obj) { delete obj; } +void delete_QWindow(QWindow* obj) { delete obj; } QSize baseSize(QWindow* theWrappedObject) const; Qt::ScreenOrientation contentOrientation(QWindow* theWrappedObject) const; void create(QWindow* theWrappedObject); @@ -1385,7 +1391,7 @@ class PythonQtWrapper_QWindowStateChangeEvent : public QObject public: public slots: QWindowStateChangeEvent* new_QWindowStateChangeEvent(Qt::WindowStates aOldState, bool isOverride = false); -void delete_QWindowStateChangeEvent(QWindowStateChangeEvent* obj) { delete obj; } +void delete_QWindowStateChangeEvent(QWindowStateChangeEvent* obj) { delete obj; } bool isOverride(QWindowStateChangeEvent* theWrappedObject) const; Qt::WindowStates oldState(QWindowStateChangeEvent* theWrappedObject) const; }; @@ -1397,68 +1403,68 @@ void delete_QWindowStateChangeEvent(QWindowStateChangeEvent* obj) { delete obj; class PythonQtShell_QWizard : public QWizard { public: - PythonQtShell_QWizard(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QWizard(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QWizard(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void cleanupPage(int id); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void initializePage(int id); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual int nextId() const; -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual bool validateCurrentPage(); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QWizard(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QWizard(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QWizard() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void cleanupPage(int id) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void initializePage(int id) override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +int nextId() const override; +void open() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool validateCurrentPage() override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWizard : public QWizard @@ -1495,7 +1501,7 @@ enum WizardPixmap{ Q_DECLARE_FLAGS(WizardOptions, WizardOption) public slots: QWizard* new_QWizard(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QWizard(QWizard* obj) { delete obj; } +void delete_QWizard(QWizard* obj) { delete obj; } int addPage(QWizard* theWrappedObject, PythonQtPassOwnershipToCPP page); QAbstractButton* button(QWizard* theWrappedObject, QWizard::WizardButton which) const; QString buttonText(QWizard* theWrappedObject, QWizard::WizardButton which) const; @@ -1551,64 +1557,64 @@ void delete_QWizard(QWizard* obj) { delete obj; } class PythonQtShell_QWizardPage : public QWizardPage { public: - PythonQtShell_QWizardPage(QWidget* parent = nullptr):QWizardPage(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QWizardPage(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void cleanupPage(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void initializePage(); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual bool isComplete() const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual int nextId() const; -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual bool validatePage(); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QWizardPage(QWidget* parent = nullptr):QWizardPage(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QWizardPage() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void cleanupPage() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void initializePage() override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +bool isComplete() const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +int nextId() const override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool validatePage() override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWizardPage : public QWizardPage @@ -1629,7 +1635,7 @@ class PythonQtWrapper_QWizardPage : public QObject public: public slots: QWizardPage* new_QWizardPage(QWidget* parent = nullptr); -void delete_QWizardPage(QWizardPage* obj) { delete obj; } +void delete_QWizardPage(QWizardPage* obj) { delete obj; } QString buttonText(QWizardPage* theWrappedObject, QWizard::WizardButton which) const; void cleanupPage(QWizardPage* theWrappedObject); void py_q_cleanupPage(QWizardPage* theWrappedObject){ (((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->py_q_cleanupPage());} 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..554597171 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 @@ -63,6 +63,7 @@ #include #include #include +#include #include #include #include @@ -229,9 +230,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -251,9 +252,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -273,9 +274,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -295,9 +296,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -317,9 +318,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -339,9 +340,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -361,9 +362,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -383,20 +384,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -416,9 +417,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -438,9 +439,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -460,9 +461,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -482,9 +483,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -504,9 +505,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -526,9 +527,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -548,20 +549,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -581,20 +582,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -614,20 +615,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -647,9 +648,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -669,20 +670,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -702,9 +703,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -724,20 +725,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -757,20 +758,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -790,9 +791,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -812,9 +813,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -834,9 +835,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -856,20 +857,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -889,9 +890,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -911,9 +912,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -933,9 +934,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -955,20 +956,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -988,20 +989,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1021,9 +1022,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1043,9 +1044,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1065,9 +1066,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1087,9 +1088,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1109,9 +1110,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1131,20 +1132,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1164,20 +1165,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1197,9 +1198,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1219,20 +1220,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1252,9 +1253,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1274,9 +1275,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1296,9 +1297,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1318,20 +1319,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1351,9 +1352,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1373,20 +1374,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1406,9 +1407,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1428,9 +1429,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1450,9 +1451,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1638,6 +1639,10 @@ QFontMetrics* PythonQtWrapper_QFontMetrics::new_QFontMetrics(const QFont& arg__ { return new QFontMetrics(arg__1, pd); } +QFontMetrics* PythonQtWrapper_QFontMetrics::new_QFontMetrics(const QFontMetrics& arg__1) +{ +return new QFontMetrics(arg__1); } + int PythonQtWrapper_QFontMetrics::ascent(QFontMetrics* theWrappedObject) const { return ( theWrappedObject->ascent()); @@ -1979,9 +1984,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2001,9 +2006,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2023,20 +2028,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2056,20 +2061,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2089,9 +2094,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2111,20 +2116,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2144,20 +2149,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2177,20 +2182,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2210,20 +2215,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2243,20 +2248,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2276,20 +2281,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&width0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&width0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2309,20 +2314,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2342,9 +2347,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2364,20 +2369,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2397,20 +2402,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2430,20 +2435,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2463,20 +2468,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2486,6 +2491,39 @@ if (_wrapper) { } return QFormLayout::maximumSize(); } +int PythonQtShell_QFormLayout::minimumHeightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFormLayout::minimumHeightForWidth(arg__1); +} QSize PythonQtShell_QFormLayout::minimumSize() const { if (_wrapper) { @@ -2496,20 +2534,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2529,9 +2567,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2551,20 +2589,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2574,6 +2612,39 @@ if (_wrapper) { } return QFormLayout::sizeHint(); } +QSpacerItem* PythonQtShell_QFormLayout::spacerItem() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("spacerItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFormLayout::spacerItem(); +} QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index0) { if (_wrapper) { @@ -2584,20 +2655,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2617,9 +2688,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2629,6 +2700,39 @@ if (_wrapper) { } QFormLayout::timerEvent(event0); } +QWidget* PythonQtShell_QFormLayout::widget() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("widget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFormLayout::widget(); +} QFormLayout* PythonQtWrapper_QFormLayout::new_QFormLayout(QWidget* parent) { return new PythonQtShell_QFormLayout(parent); } @@ -2701,16 +2805,6 @@ void PythonQtWrapper_QFormLayout::getWidgetPosition(QFormLayout* theWrappedObjec ( theWrappedObject->getWidgetPosition(widget, rowPtr, rolePtr)); } -bool PythonQtWrapper_QFormLayout::hasHeightForWidth(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -int PythonQtWrapper_QFormLayout::heightForWidth(QFormLayout* theWrappedObject, int width) const -{ - return ( theWrappedObject->heightForWidth(width)); -} - int PythonQtWrapper_QFormLayout::horizontalSpacing(QFormLayout* theWrappedObject) const { return ( theWrappedObject->horizontalSpacing()); @@ -2841,11 +2935,6 @@ void PythonQtWrapper_QFormLayout::setWidget(QFormLayout* theWrappedObject, int ( theWrappedObject->setWidget(row, role, widget)); } -QSize PythonQtWrapper_QFormLayout::sizeHint(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - int PythonQtWrapper_QFormLayout::spacing(QFormLayout* theWrappedObject) const { return ( theWrappedObject->spacing()); @@ -2872,9 +2961,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2894,9 +2983,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2916,9 +3005,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2938,9 +3027,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2960,9 +3049,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2982,9 +3071,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3004,20 +3093,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3037,9 +3126,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3059,9 +3148,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3081,9 +3170,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3103,9 +3192,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3125,9 +3214,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3147,20 +3236,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3180,20 +3269,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3213,9 +3302,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3235,20 +3324,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3268,9 +3357,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3290,20 +3379,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3323,20 +3412,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3356,9 +3445,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3378,9 +3467,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3400,9 +3489,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3422,20 +3511,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3455,9 +3544,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3477,9 +3566,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3499,9 +3588,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3521,20 +3610,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3554,20 +3643,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3587,9 +3676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3609,9 +3698,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3631,9 +3720,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3653,9 +3742,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3675,9 +3764,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3697,20 +3786,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3730,20 +3819,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3763,9 +3852,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3785,20 +3874,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3818,9 +3907,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3840,9 +3929,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3862,20 +3951,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3895,9 +3984,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3917,20 +4006,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3950,9 +4039,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3972,9 +4061,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3994,9 +4083,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4119,9 +4208,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4141,9 +4230,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4163,20 +4252,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4196,20 +4285,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4229,9 +4318,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4409,20 +4498,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QGesture*" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGesture* returnValue; - void* args[2] = {NULL, (void*)&target0}; + QGesture* returnValue{}; + void* args[2] = {nullptr, (void*)&target0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((QGesture**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4442,20 +4531,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QGestureRecognizer::Result" , "QGesture*" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QGestureRecognizer::Result returnValue; - void* args[4] = {NULL, (void*)&state0, (void*)&watched1, (void*)&event2}; + QGestureRecognizer::Result returnValue{}; + void* args[4] = {nullptr, (void*)&state0, (void*)&watched1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("recognize", methodInfo, result); } else { returnValue = *((QGestureRecognizer::Result*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4475,9 +4564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGesture*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&state0}; + void* args[2] = {nullptr, (void*)&state0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4755,20 +4844,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4788,9 +4877,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4810,9 +4899,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4832,20 +4921,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; + QGraphicsLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { returnValue = *((QGraphicsLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4865,9 +4954,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4887,9 +4976,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4909,20 +4998,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSizeF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4942,9 +5031,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4964,9 +5053,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5005,11 +5094,6 @@ qreal PythonQtWrapper_QGraphicsAnchorLayout::horizontalSpacing(QGraphicsAnchorL return ( theWrappedObject->horizontalSpacing()); } -void PythonQtWrapper_QGraphicsAnchorLayout::setGeometry(QGraphicsAnchorLayout* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setGeometry(rect)); -} - void PythonQtWrapper_QGraphicsAnchorLayout::setHorizontalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing) { ( theWrappedObject->setHorizontalSpacing(spacing)); @@ -5025,11 +5109,6 @@ void PythonQtWrapper_QGraphicsAnchorLayout::setVerticalSpacing(QGraphicsAnchorLa ( theWrappedObject->setVerticalSpacing(spacing)); } -QSizeF PythonQtWrapper_QGraphicsAnchorLayout::sizeHint(QGraphicsAnchorLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->promoted_sizeHint(which, constraint)); -} - qreal PythonQtWrapper_QGraphicsAnchorLayout::verticalSpacing(QGraphicsAnchorLayout* theWrappedObject) const { return ( theWrappedObject->verticalSpacing()); @@ -5051,20 +5130,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&rect0}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5084,9 +5163,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5106,9 +5185,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5128,9 +5207,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5150,20 +5229,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5183,20 +5262,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5216,9 +5295,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5238,9 +5317,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5293,20 +5372,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&sourceRect0}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&sourceRect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5326,9 +5405,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5348,9 +5427,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5370,9 +5449,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5392,20 +5471,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5425,20 +5504,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5458,9 +5537,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5480,9 +5559,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5535,20 +5614,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&rect0}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5568,9 +5647,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5590,9 +5669,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5612,9 +5691,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5634,20 +5713,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5667,20 +5746,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5700,9 +5779,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5722,9 +5801,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5792,20 +5871,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&sourceRect0}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&sourceRect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5825,9 +5904,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5847,9 +5926,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5869,9 +5948,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5891,20 +5970,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5924,20 +6003,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5957,9 +6036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5979,9 +6058,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6064,6 +6143,28 @@ PythonQtShell_QGraphicsEllipseItem::~PythonQtShell_QGraphicsEllipseItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QGraphicsEllipseItem::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsEllipseItem::advance(phase0); +} QRectF PythonQtShell_QGraphicsEllipseItem::boundingRect() const { if (_wrapper) { @@ -6074,20 +6175,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6097,30 +6198,30 @@ if (_wrapper) { } return QGraphicsEllipseItem::boundingRect(); } -bool PythonQtShell_QGraphicsEllipseItem::contains(const QPointF& point0) const +bool PythonQtShell_QGraphicsEllipseItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6128,32 +6229,32 @@ if (_wrapper) { } } } - return QGraphicsEllipseItem::contains(point0); + return QGraphicsEllipseItem::collidesWithItem(other0, mode1); } -QVariant PythonQtShell_QGraphicsEllipseItem::extension(const QVariant& variant0) const +bool PythonQtShell_QGraphicsEllipseItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6161,32 +6262,32 @@ if (_wrapper) { } } } - return QGraphicsEllipseItem::extension(variant0); + return QGraphicsEllipseItem::collidesWithPath(path0, mode1); } -bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* item0) const +bool PythonQtShell_QGraphicsEllipseItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&item0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6194,54 +6295,43 @@ if (_wrapper) { } } } - return QGraphicsEllipseItem::isObscuredBy(item0); + return QGraphicsEllipseItem::contains(point0); } -QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const +void PythonQtShell_QGraphicsEllipseItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsEllipseItem::opaqueArea(); + QGraphicsEllipseItem::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsEllipseItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsEllipseItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6249,21 +6339,21 @@ if (_wrapper) { } } } - QGraphicsEllipseItem::paint(painter0, option1, widget2); + QGraphicsEllipseItem::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsEllipseItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsEllipseItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6271,98 +6361,76 @@ if (_wrapper) { } } } - QGraphicsEllipseItem::setExtension(extension0, variant1); + QGraphicsEllipseItem::dragLeaveEvent(event0); } -QPainterPath PythonQtShell_QGraphicsEllipseItem::shape() const +void PythonQtShell_QGraphicsEllipseItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsEllipseItem::shape(); + QGraphicsEllipseItem::dragMoveEvent(event0); } -bool PythonQtShell_QGraphicsEllipseItem::supportsExtension(QGraphicsItem::Extension extension0) const +void PythonQtShell_QGraphicsEllipseItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsEllipseItem::supportsExtension(extension0); + QGraphicsEllipseItem::dropEvent(event0); } -int PythonQtShell_QGraphicsEllipseItem::type() const +QVariant PythonQtShell_QGraphicsEllipseItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6370,125 +6438,197 @@ if (_wrapper) { } } } - return QGraphicsEllipseItem::type(); -} -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsEllipseItem(parent); } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsEllipseItem(rect, parent); } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsEllipseItem(x, y, w, h, parent); } - -QRectF PythonQtWrapper_QGraphicsEllipseItem::boundingRect(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); + return QGraphicsEllipseItem::extension(variant0); } - -bool PythonQtWrapper_QGraphicsEllipseItem::contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const +void PythonQtShell_QGraphicsEllipseItem::focusInEvent(QFocusEvent* event0) { - return ( theWrappedObject->contains(point)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QVariant PythonQtWrapper_QGraphicsEllipseItem::extension(QGraphicsEllipseItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_extension(variant)); + QGraphicsEllipseItem::focusInEvent(event0); } - -void PythonQtWrapper_QGraphicsEllipseItem::paint(QGraphicsEllipseItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +void PythonQtShell_QGraphicsEllipseItem::focusOutEvent(QFocusEvent* event0) { - ( theWrappedObject->paint(painter, option, widget)); -} - -QRectF PythonQtWrapper_QGraphicsEllipseItem::rect(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->rect()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsEllipseItem::setExtension(QGraphicsEllipseItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_setExtension(extension, variant)); + QGraphicsEllipseItem::focusOutEvent(event0); } - -void PythonQtWrapper_QGraphicsEllipseItem::setRect(QGraphicsEllipseItem* theWrappedObject, const QRectF& rect) +void PythonQtShell_QGraphicsEllipseItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { - ( theWrappedObject->setRect(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsEllipseItem::setRect(QGraphicsEllipseItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setRect(x, y, w, h)); + QGraphicsEllipseItem::hoverEnterEvent(event0); } - -void PythonQtWrapper_QGraphicsEllipseItem::setSpanAngle(QGraphicsEllipseItem* theWrappedObject, int angle) +void PythonQtShell_QGraphicsEllipseItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { - ( theWrappedObject->setSpanAngle(angle)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsEllipseItem::setStartAngle(QGraphicsEllipseItem* theWrappedObject, int angle) -{ - ( theWrappedObject->setStartAngle(angle)); + QGraphicsEllipseItem::hoverLeaveEvent(event0); } - -QPainterPath PythonQtWrapper_QGraphicsEllipseItem::shape(QGraphicsEllipseItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->shape()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QGraphicsEllipseItem::spanAngle(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->spanAngle()); + QGraphicsEllipseItem::hoverMoveEvent(event0); } - -int PythonQtWrapper_QGraphicsEllipseItem::startAngle(QGraphicsEllipseItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::inputMethodEvent(QInputMethodEvent* event0) { - return ( theWrappedObject->startAngle()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsEllipseItem::supportsExtension(QGraphicsEllipseItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_supportsExtension(extension)); + QGraphicsEllipseItem::inputMethodEvent(event0); } - -int PythonQtWrapper_QGraphicsEllipseItem::type(QGraphicsEllipseItem* theWrappedObject) const +QVariant PythonQtShell_QGraphicsEllipseItem::inputMethodQuery(Qt::InputMethodQuery query0) const { - return ( theWrappedObject->type()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsGridLayout::~PythonQtShell_QGraphicsGridLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsEllipseItem::inputMethodQuery(query0); } -int PythonQtShell_QGraphicsGridLayout::count() const +bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6496,43 +6636,57 @@ if (_wrapper) { } } } - return QGraphicsGridLayout::count(); + return QGraphicsEllipseItem::isObscuredBy(item0); } -void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +QVariant PythonQtShell_QGraphicsEllipseItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsGridLayout::getContentsMargins(left0, top1, right2, bottom3); + return QGraphicsEllipseItem::itemChange(change0, value1); } -void PythonQtShell_QGraphicsGridLayout::invalidate() +void PythonQtShell_QGraphicsEllipseItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6540,54 +6694,43 @@ if (_wrapper) { } } } - QGraphicsGridLayout::invalidate(); + QGraphicsEllipseItem::keyPressEvent(event0); } -QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index0) const +void PythonQtShell_QGraphicsEllipseItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsGridLayout::itemAt(index0); + QGraphicsEllipseItem::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsGridLayout::removeAt(int index0) +void PythonQtShell_QGraphicsEllipseItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeAt"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6595,21 +6738,21 @@ if (_wrapper) { } } } - QGraphicsGridLayout::removeAt(index0); + QGraphicsEllipseItem::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsGridLayout::setGeometry(const QRectF& rect0) +void PythonQtShell_QGraphicsEllipseItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6617,54 +6760,43 @@ if (_wrapper) { } } } - QGraphicsGridLayout::setGeometry(rect0); + QGraphicsEllipseItem::mouseMoveEvent(event0); } -QSizeF PythonQtShell_QGraphicsGridLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +void PythonQtShell_QGraphicsEllipseItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsGridLayout::sizeHint(which0, constraint1); + QGraphicsEllipseItem::mousePressEvent(event0); } -void PythonQtShell_QGraphicsGridLayout::updateGeometry() +void PythonQtShell_QGraphicsEllipseItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6672,31 +6804,557 @@ if (_wrapper) { } } } - QGraphicsGridLayout::updateGeometry(); + QGraphicsEllipseItem::mouseReleaseEvent(event0); } -void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e0) +QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("widgetEvent"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsGridLayout::widgetEvent(e0); + return QGraphicsEllipseItem::opaqueArea(); } -QGraphicsGridLayout* PythonQtWrapper_QGraphicsGridLayout::new_QGraphicsGridLayout(QGraphicsLayoutItem* parent) +void PythonQtShell_QGraphicsEllipseItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsEllipseItem::paint(painter0, option1, widget2); +} +bool PythonQtShell_QGraphicsEllipseItem::sceneEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsEllipseItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsEllipseItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsEllipseItem::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsEllipseItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsEllipseItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsEllipseItem::shape() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsEllipseItem::shape(); +} +bool PythonQtShell_QGraphicsEllipseItem::supportsExtension(QGraphicsItem::Extension extension0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsEllipseItem::supportsExtension(extension0); +} +int PythonQtShell_QGraphicsEllipseItem::type() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsEllipseItem::type(); +} +void PythonQtShell_QGraphicsEllipseItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsEllipseItem::wheelEvent(event0); +} +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsEllipseItem(parent); } + +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsEllipseItem(rect, parent); } + +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsEllipseItem(x, y, w, h, parent); } + +QRectF PythonQtWrapper_QGraphicsEllipseItem::rect(QGraphicsEllipseItem* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QGraphicsEllipseItem::setRect(QGraphicsEllipseItem* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setRect(rect)); +} + +void PythonQtWrapper_QGraphicsEllipseItem::setRect(QGraphicsEllipseItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setRect(x, y, w, h)); +} + +void PythonQtWrapper_QGraphicsEllipseItem::setSpanAngle(QGraphicsEllipseItem* theWrappedObject, int angle) +{ + ( theWrappedObject->setSpanAngle(angle)); +} + +void PythonQtWrapper_QGraphicsEllipseItem::setStartAngle(QGraphicsEllipseItem* theWrappedObject, int angle) +{ + ( theWrappedObject->setStartAngle(angle)); +} + +int PythonQtWrapper_QGraphicsEllipseItem::spanAngle(QGraphicsEllipseItem* theWrappedObject) const +{ + return ( theWrappedObject->spanAngle()); +} + +int PythonQtWrapper_QGraphicsEllipseItem::startAngle(QGraphicsEllipseItem* theWrappedObject) const +{ + return ( theWrappedObject->startAngle()); +} + + + +PythonQtShell_QGraphicsGridLayout::~PythonQtShell_QGraphicsGridLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QGraphicsGridLayout::count() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("count"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsGridLayout::count(); +} +void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getContentsMargins"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsGridLayout::getContentsMargins(left0, top1, right2, bottom3); +} +void PythonQtShell_QGraphicsGridLayout::invalidate() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("invalidate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsGridLayout::invalidate(); +} +QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QGraphicsLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QGraphicsLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsGridLayout::itemAt(index0); +} +void PythonQtShell_QGraphicsGridLayout::removeAt(int index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsGridLayout::removeAt(index0); +} +void PythonQtShell_QGraphicsGridLayout::setGeometry(const QRectF& rect0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&rect0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsGridLayout::setGeometry(rect0); +} +QSizeF PythonQtShell_QGraphicsGridLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsGridLayout::sizeHint(which0, constraint1); +} +void PythonQtShell_QGraphicsGridLayout::updateGeometry() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsGridLayout::updateGeometry(); +} +void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("widgetEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsGridLayout::widgetEvent(e0); +} +QGraphicsGridLayout* PythonQtWrapper_QGraphicsGridLayout::new_QGraphicsGridLayout(QGraphicsLayoutItem* parent) { return new PythonQtShell_QGraphicsGridLayout(parent); } @@ -6840,11 +7498,6 @@ void PythonQtWrapper_QGraphicsGridLayout::setColumnStretchFactor(QGraphicsGridLa ( theWrappedObject->setColumnStretchFactor(column, stretch)); } -void PythonQtWrapper_QGraphicsGridLayout::setGeometry(QGraphicsGridLayout* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setGeometry(rect)); -} - void PythonQtWrapper_QGraphicsGridLayout::setHorizontalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) { ( theWrappedObject->setHorizontalSpacing(spacing)); @@ -6895,11 +7548,6 @@ void PythonQtWrapper_QGraphicsGridLayout::setVerticalSpacing(QGraphicsGridLayout ( theWrappedObject->setVerticalSpacing(spacing)); } -QSizeF PythonQtWrapper_QGraphicsGridLayout::sizeHint(QGraphicsGridLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const -{ - return ( theWrappedObject->sizeHint(which, constraint)); -} - qreal PythonQtWrapper_QGraphicsGridLayout::verticalSpacing(QGraphicsGridLayout* theWrappedObject) const { return ( theWrappedObject->verticalSpacing()); @@ -6921,9 +7569,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6943,20 +7591,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6976,20 +7624,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7009,20 +7657,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7042,20 +7690,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7075,9 +7723,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7097,9 +7745,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7119,9 +7767,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7141,9 +7789,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7163,9 +7811,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7185,20 +7833,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7218,9 +7866,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7240,9 +7888,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7262,9 +7910,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7284,9 +7932,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7306,9 +7954,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7328,9 +7976,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7350,20 +7998,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7383,20 +8031,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&item0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7416,20 +8064,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { returnValue = value1; @@ -7452,9 +8100,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7474,9 +8122,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7496,9 +8144,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7518,9 +8166,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7540,9 +8188,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7562,9 +8210,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7584,20 +8232,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7617,9 +8265,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7639,20 +8287,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7672,20 +8320,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7705,9 +8353,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7727,20 +8375,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7760,20 +8408,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&extension0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7793,20 +8441,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7826,9 +8474,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8900,9 +9548,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&step0}; + void* args[2] = {nullptr, (void*)&step0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8922,9 +9570,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&step0}; + void* args[2] = {nullptr, (void*)&step0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8944,9 +9592,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8966,9 +9614,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8988,20 +9636,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9021,20 +9669,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9054,9 +9702,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9229,9 +9877,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9251,20 +9899,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9284,20 +9932,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9317,20 +9965,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9350,20 +9998,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9383,9 +10031,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9405,9 +10053,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9427,9 +10075,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9449,9 +10097,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9471,9 +10119,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9493,20 +10141,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9526,9 +10174,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9548,9 +10196,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9570,9 +10218,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9592,9 +10240,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9614,9 +10262,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9636,9 +10284,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9658,20 +10306,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9691,20 +10339,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&item0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9724,20 +10372,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { returnValue = value1; @@ -9760,9 +10408,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9782,9 +10430,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9804,9 +10452,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9826,9 +10474,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9848,9 +10496,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9870,9 +10518,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9892,20 +10540,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9925,9 +10573,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9947,20 +10595,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9980,20 +10628,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10013,9 +10661,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10035,20 +10683,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10068,20 +10716,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&extension0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10101,20 +10749,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10134,9 +10782,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10176,20 +10824,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10209,9 +10857,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10231,9 +10879,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10253,20 +10901,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&i0}; + QGraphicsLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&i0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { returnValue = *((QGraphicsLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10274,7 +10922,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QGraphicsLayout::removeAt(int index0) { @@ -10286,9 +10934,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10308,9 +10956,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10330,20 +10978,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSizeF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10363,9 +11011,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10385,9 +11033,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10472,9 +11120,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10494,9 +11142,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10516,20 +11164,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSizeF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10549,9 +11197,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10771,9 +11419,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10793,20 +11441,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10826,20 +11474,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10859,20 +11507,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10892,20 +11540,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10925,9 +11573,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10947,9 +11595,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10969,9 +11617,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10991,9 +11639,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11013,9 +11661,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11035,20 +11683,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11068,9 +11716,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11085,14 +11733,292 @@ void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event0) if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLineItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLineItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLineItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLineItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLineItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsLineItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isObscuredBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsLineItem::isObscuredBy(item0); +} +QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsLineItem::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLineItem::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLineItem::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLineItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11100,21 +12026,21 @@ if (_wrapper) { } } } - QGraphicsLineItem::focusOutEvent(event0); + QGraphicsLineItem::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverEnterEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11122,21 +12048,21 @@ if (_wrapper) { } } } - QGraphicsLineItem::hoverEnterEvent(event0); + QGraphicsLineItem::mousePressEvent(event0); } -void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11144,43 +12070,54 @@ if (_wrapper) { } } } - QGraphicsLineItem::hoverLeaveEvent(event0); + QGraphicsLineItem::mouseReleaseEvent(event0); } -void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsLineItem::hoverMoveEvent(event0); + return QGraphicsLineItem::opaqueArea(); } -void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11188,32 +12125,32 @@ if (_wrapper) { } } } - QGraphicsLineItem::inputMethodEvent(event0); + QGraphicsLineItem::paint(painter0, option1, widget2); } -QVariant PythonQtShell_QGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery query0) const +bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11221,32 +12158,32 @@ if (_wrapper) { } } } - return QGraphicsLineItem::inputMethodQuery(query0); + return QGraphicsLineItem::sceneEvent(event0); } -bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item0) const +bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&item0}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11254,101 +12191,142 @@ if (_wrapper) { } } } - return QGraphicsLineItem::isObscuredBy(item0); + return QGraphicsLineItem::sceneEventFilter(watched0, event1); } -QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +void PythonQtShell_QGraphicsLineItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLineItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsLineItem::shape() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsLineItem::itemChange(change0, value1); + return QGraphicsLineItem::shape(); } -void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) +bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsLineItem::keyPressEvent(event0); + return QGraphicsLineItem::supportsExtension(extension0); } -void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) +int PythonQtShell_QGraphicsLineItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsLineItem::keyReleaseEvent(event0); + return QGraphicsLineItem::type(); } -void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11356,43 +12334,97 @@ if (_wrapper) { } } } - QGraphicsLineItem::mouseDoubleClickEvent(event0); + QGraphicsLineItem::wheelEvent(event0); } -void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsLineItem(parent); } + +QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsLineItem(line, parent); } + +QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsLineItem(x1, y1, x2, y2, parent); } + +QLineF PythonQtWrapper_QGraphicsLineItem::line(QGraphicsLineItem* theWrappedObject) const +{ + return ( theWrappedObject->line()); +} + +QPen PythonQtWrapper_QGraphicsLineItem::pen(QGraphicsLineItem* theWrappedObject) const +{ + return ( theWrappedObject->pen()); +} + +void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, const QLineF& line) +{ + ( theWrappedObject->setLine(line)); +} + +void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) +{ + ( theWrappedObject->setLine(x1, y1, x2, y2)); +} + +void PythonQtWrapper_QGraphicsLineItem::setPen(QGraphicsLineItem* theWrappedObject, const QPen& pen) +{ + ( theWrappedObject->setPen(pen)); +} + + + +PythonQtShell_QGraphicsLinearLayout::~PythonQtShell_QGraphicsLinearLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QGraphicsLinearLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsLineItem::mouseMoveEvent(event0); + return QGraphicsLinearLayout::count(); } -void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11400,21 +12432,21 @@ if (_wrapper) { } } } - QGraphicsLineItem::mousePressEvent(event0); + QGraphicsLinearLayout::getContentsMargins(left0, top1, right2, bottom3); } -void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsLinearLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11422,32 +12454,32 @@ if (_wrapper) { } } } - QGraphicsLineItem::mouseReleaseEvent(event0); + QGraphicsLinearLayout::invalidate(); } -QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const +QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QGraphicsLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((QGraphicsLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11455,21 +12487,21 @@ if (_wrapper) { } } } - return QGraphicsLineItem::opaqueArea(); + return QGraphicsLinearLayout::itemAt(index0); } -void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsLinearLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11477,65 +12509,54 @@ if (_wrapper) { } } } - QGraphicsLineItem::paint(painter0, option1, widget2); + QGraphicsLinearLayout::removeAt(index0); } -bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event0) +void PythonQtShell_QGraphicsLinearLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsLineItem::sceneEvent(event0); + QGraphicsLinearLayout::setGeometry(rect0); } -bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +QSizeF PythonQtShell_QGraphicsLinearLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEventFilter"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSizeF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11543,21 +12564,21 @@ if (_wrapper) { } } } - return QGraphicsLineItem::sceneEventFilter(watched0, event1); + return QGraphicsLinearLayout::sizeHint(which0, constraint1); } -void PythonQtShell_QGraphicsLineItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsLinearLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11565,98 +12586,170 @@ if (_wrapper) { } } } - QGraphicsLineItem::setExtension(extension0, variant1); + QGraphicsLinearLayout::updateGeometry(); } -QPainterPath PythonQtShell_QGraphicsLineItem::shape() const +void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsLineItem::shape(); + QGraphicsLinearLayout::widgetEvent(e0); } -bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extension extension0) const +QGraphicsLinearLayout* PythonQtWrapper_QGraphicsLinearLayout::new_QGraphicsLinearLayout(QGraphicsLayoutItem* parent) +{ +return new PythonQtShell_QGraphicsLinearLayout(parent); } + +QGraphicsLinearLayout* PythonQtWrapper_QGraphicsLinearLayout::new_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent) +{ +return new PythonQtShell_QGraphicsLinearLayout(orientation, parent); } + +void PythonQtWrapper_QGraphicsLinearLayout::addItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->addItem(item)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch) +{ + ( theWrappedObject->addStretch(stretch)); +} + +Qt::Alignment PythonQtWrapper_QGraphicsLinearLayout::alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const +{ + return ( theWrappedObject->alignment(item)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::dump(QGraphicsLinearLayout* theWrappedObject, int indent) const +{ + ( theWrappedObject->dump(indent)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::insertItem(QGraphicsLinearLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->insertItem(index, item)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::insertStretch(QGraphicsLinearLayout* theWrappedObject, int index, int stretch) +{ + ( theWrappedObject->insertStretch(index, stretch)); +} + +qreal PythonQtWrapper_QGraphicsLinearLayout::itemSpacing(QGraphicsLinearLayout* theWrappedObject, int index) const +{ + return ( theWrappedObject->itemSpacing(index)); +} + +Qt::Orientation PythonQtWrapper_QGraphicsLinearLayout::orientation(QGraphicsLinearLayout* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QGraphicsLinearLayout::removeItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToPython item) +{ + ( theWrappedObject->removeItem(item)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(item, alignment)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::setItemSpacing(QGraphicsLinearLayout* theWrappedObject, int index, qreal spacing) +{ + ( theWrappedObject->setItemSpacing(index, spacing)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::setOrientation(QGraphicsLinearLayout* theWrappedObject, Qt::Orientation orientation) +{ + ( theWrappedObject->setOrientation(orientation)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::setSpacing(QGraphicsLinearLayout* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setSpacing(spacing)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::setStretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, int stretch) +{ + ( theWrappedObject->setStretchFactor(item, stretch)); +} + +qreal PythonQtWrapper_QGraphicsLinearLayout::spacing(QGraphicsLinearLayout* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +int PythonQtWrapper_QGraphicsLinearLayout::stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const +{ + return ( theWrappedObject->stretchFactor(item)); +} + + + +PythonQtShell_QGraphicsObject::~PythonQtShell_QGraphicsObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsObject::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsLineItem::supportsExtension(extension0); + QGraphicsObject::advance(phase0); } -int PythonQtShell_QGraphicsLineItem::type() const +QRectF PythonQtShell_QGraphicsObject::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11664,21 +12757,21 @@ if (_wrapper) { } } } - return QGraphicsLineItem::type(); + return QRectF(); } -void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11686,75 +12779,98 @@ if (_wrapper) { } } } - QGraphicsLineItem::wheelEvent(event0); -} -QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsLineItem(parent); } - -QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsLineItem(line, parent); } - -QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsLineItem(x1, y1, x2, y2, parent); } - -QLineF PythonQtWrapper_QGraphicsLineItem::line(QGraphicsLineItem* theWrappedObject) const -{ - return ( theWrappedObject->line()); -} - -QPen PythonQtWrapper_QGraphicsLineItem::pen(QGraphicsLineItem* theWrappedObject) const -{ - return ( theWrappedObject->pen()); + QGraphicsObject::childEvent(event0); } - -void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, const QLineF& line) +bool PythonQtShell_QGraphicsObject::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { - ( theWrappedObject->setLine(line)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) -{ - ( theWrappedObject->setLine(x1, y1, x2, y2)); + return QGraphicsObject::collidesWithItem(other0, mode1); } - -void PythonQtWrapper_QGraphicsLineItem::setPen(QGraphicsLineItem* theWrappedObject, const QPen& pen) +bool PythonQtShell_QGraphicsObject::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { - ( theWrappedObject->setPen(pen)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsLinearLayout::~PythonQtShell_QGraphicsLinearLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsObject::collidesWithPath(path0, mode1); } -int PythonQtShell_QGraphicsLinearLayout::count() const +bool PythonQtShell_QGraphicsObject::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11762,21 +12878,21 @@ if (_wrapper) { } } } - return QGraphicsLinearLayout::count(); + return QGraphicsObject::contains(point0); } -void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +void PythonQtShell_QGraphicsObject::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11784,21 +12900,21 @@ if (_wrapper) { } } } - QGraphicsLinearLayout::getContentsMargins(left0, top1, right2, bottom3); + QGraphicsObject::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsLinearLayout::invalidate() +void PythonQtShell_QGraphicsObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11806,54 +12922,43 @@ if (_wrapper) { } } } - QGraphicsLinearLayout::invalidate(); + QGraphicsObject::customEvent(event0); } -QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index0) const +void PythonQtShell_QGraphicsObject::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsLinearLayout::itemAt(index0); + QGraphicsObject::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsLinearLayout::removeAt(int index0) +void PythonQtShell_QGraphicsObject::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeAt"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11861,21 +12966,21 @@ if (_wrapper) { } } } - QGraphicsLinearLayout::removeAt(index0); + QGraphicsObject::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsLinearLayout::setGeometry(const QRectF& rect0) +void PythonQtShell_QGraphicsObject::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11883,32 +12988,54 @@ if (_wrapper) { } } } - QGraphicsLinearLayout::setGeometry(rect0); + QGraphicsObject::dragMoveEvent(event0); } -QSizeF PythonQtShell_QGraphicsLinearLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +void PythonQtShell_QGraphicsObject::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsObject::dropEvent(event0); +} +bool PythonQtShell_QGraphicsObject::event(QEvent* ev0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSizeF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11916,169 +13043,153 @@ if (_wrapper) { } } } - return QGraphicsLinearLayout::sizeHint(which0, constraint1); + return QGraphicsObject::event(ev0); } -void PythonQtShell_QGraphicsLinearLayout::updateGeometry() +bool PythonQtShell_QGraphicsObject::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsLinearLayout::updateGeometry(); + return QGraphicsObject::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e0) +QVariant PythonQtShell_QGraphicsObject::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("widgetEvent"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsLinearLayout::widgetEvent(e0); -} -QGraphicsLinearLayout* PythonQtWrapper_QGraphicsLinearLayout::new_QGraphicsLinearLayout(QGraphicsLayoutItem* parent) -{ -return new PythonQtShell_QGraphicsLinearLayout(parent); } - -QGraphicsLinearLayout* PythonQtWrapper_QGraphicsLinearLayout::new_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent) -{ -return new PythonQtShell_QGraphicsLinearLayout(orientation, parent); } - -void PythonQtWrapper_QGraphicsLinearLayout::addItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToCPP item) -{ - ( theWrappedObject->addItem(item)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch) -{ - ( theWrappedObject->addStretch(stretch)); -} - -Qt::Alignment PythonQtWrapper_QGraphicsLinearLayout::alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const -{ - return ( theWrappedObject->alignment(item)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::dump(QGraphicsLinearLayout* theWrappedObject, int indent) const -{ - ( theWrappedObject->dump(indent)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::insertItem(QGraphicsLinearLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP item) -{ - ( theWrappedObject->insertItem(index, item)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::insertStretch(QGraphicsLinearLayout* theWrappedObject, int index, int stretch) -{ - ( theWrappedObject->insertStretch(index, stretch)); -} - -qreal PythonQtWrapper_QGraphicsLinearLayout::itemSpacing(QGraphicsLinearLayout* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemSpacing(index)); -} - -Qt::Orientation PythonQtWrapper_QGraphicsLinearLayout::orientation(QGraphicsLinearLayout* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QGraphicsLinearLayout::removeItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToPython item) -{ - ( theWrappedObject->removeItem(item)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(item, alignment)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setGeometry(rect)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::setItemSpacing(QGraphicsLinearLayout* theWrappedObject, int index, qreal spacing) -{ - ( theWrappedObject->setItemSpacing(index, spacing)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::setOrientation(QGraphicsLinearLayout* theWrappedObject, Qt::Orientation orientation) -{ - ( theWrappedObject->setOrientation(orientation)); + return QGraphicsObject::extension(variant0); } - -void PythonQtWrapper_QGraphicsLinearLayout::setSpacing(QGraphicsLinearLayout* theWrappedObject, qreal spacing) +void PythonQtShell_QGraphicsObject::focusInEvent(QFocusEvent* event0) { - ( theWrappedObject->setSpacing(spacing)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsLinearLayout::setStretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, int stretch) -{ - ( theWrappedObject->setStretchFactor(item, stretch)); + QGraphicsObject::focusInEvent(event0); } - -QSizeF PythonQtWrapper_QGraphicsLinearLayout::sizeHint(QGraphicsLinearLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +void PythonQtShell_QGraphicsObject::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->sizeHint(which, constraint)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QGraphicsLinearLayout::spacing(QGraphicsLinearLayout* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); + QGraphicsObject::focusOutEvent(event0); } - -int PythonQtWrapper_QGraphicsLinearLayout::stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const +void PythonQtShell_QGraphicsObject::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->stretchFactor(item)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsObject::~PythonQtShell_QGraphicsObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsObject::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsObject::advance(int phase0) +void PythonQtShell_QGraphicsObject::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("advance"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12086,54 +13197,43 @@ if (_wrapper) { } } } - QGraphicsObject::advance(phase0); + QGraphicsObject::hoverLeaveEvent(event0); } -QRectF PythonQtShell_QGraphicsObject::boundingRect() const +void PythonQtShell_QGraphicsObject::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRectF(); + QGraphicsObject::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsObject::childEvent(QChildEvent* event0) +void PythonQtShell_QGraphicsObject::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12141,32 +13241,32 @@ if (_wrapper) { } } } - QGraphicsObject::childEvent(event0); + QGraphicsObject::inputMethodEvent(event0); } -bool PythonQtShell_QGraphicsObject::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +QVariant PythonQtShell_QGraphicsObject::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithItem"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12174,32 +13274,32 @@ if (_wrapper) { } } } - return QGraphicsObject::collidesWithItem(other0, mode1); + return QGraphicsObject::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsObject::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +bool PythonQtShell_QGraphicsObject::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithPath"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12207,54 +13307,57 @@ if (_wrapper) { } } } - return QGraphicsObject::collidesWithPath(path0, mode1); + return QGraphicsObject::isObscuredBy(item0); } -bool PythonQtShell_QGraphicsObject::contains(const QPointF& point0) const +QVariant PythonQtShell_QGraphicsObject::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsObject::contains(point0); + return QGraphicsObject::itemChange(change0, value1); } -void PythonQtShell_QGraphicsObject::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsObject::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12262,21 +13365,21 @@ if (_wrapper) { } } } - QGraphicsObject::contextMenuEvent(event0); + QGraphicsObject::keyPressEvent(event0); } -void PythonQtShell_QGraphicsObject::customEvent(QEvent* event0) +void PythonQtShell_QGraphicsObject::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12284,21 +13387,21 @@ if (_wrapper) { } } } - QGraphicsObject::customEvent(event0); + QGraphicsObject::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsObject::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsObject::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12306,21 +13409,21 @@ if (_wrapper) { } } } - QGraphicsObject::dragEnterEvent(event0); + QGraphicsObject::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsObject::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsObject::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12328,21 +13431,21 @@ if (_wrapper) { } } } - QGraphicsObject::dragLeaveEvent(event0); + QGraphicsObject::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsObject::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsObject::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12350,54 +13453,142 @@ if (_wrapper) { } } } - QGraphicsObject::dragMoveEvent(event0); + QGraphicsObject::mousePressEvent(event0); } -void PythonQtShell_QGraphicsObject::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsObject::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsObject::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsObject::opaqueArea() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("opaqueArea"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsObject::opaqueArea(); +} +void PythonQtShell_QGraphicsObject::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +bool PythonQtShell_QGraphicsObject::sceneEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsObject::dropEvent(event0); + return QGraphicsObject::sceneEvent(event0); } -bool PythonQtShell_QGraphicsObject::event(QEvent* ev0) +bool PythonQtShell_QGraphicsObject::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&ev0}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12405,32 +13596,54 @@ if (_wrapper) { } } } - return QGraphicsObject::event(ev0); + return QGraphicsObject::sceneEventFilter(watched0, event1); } -bool PythonQtShell_QGraphicsObject::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QGraphicsObject::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsObject::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsObject::shape() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12438,32 +13651,32 @@ if (_wrapper) { } } } - return QGraphicsObject::eventFilter(watched0, event1); + return QGraphicsObject::shape(); } -QVariant PythonQtShell_QGraphicsObject::extension(const QVariant& variant0) const +bool PythonQtShell_QGraphicsObject::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12471,21 +13684,21 @@ if (_wrapper) { } } } - return QGraphicsObject::extension(variant0); + return QGraphicsObject::supportsExtension(extension0); } -void PythonQtShell_QGraphicsObject::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12493,43 +13706,54 @@ if (_wrapper) { } } } - QGraphicsObject::focusInEvent(event0); + QGraphicsObject::timerEvent(event0); } -void PythonQtShell_QGraphicsObject::focusOutEvent(QFocusEvent* event0) +int PythonQtShell_QGraphicsObject::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsObject::focusOutEvent(event0); + return QGraphicsObject::type(); } -void PythonQtShell_QGraphicsObject::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsObject::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverEnterEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12537,43 +13761,94 @@ if (_wrapper) { } } } - QGraphicsObject::hoverEnterEvent(event0); + QGraphicsObject::wheelEvent(event0); } -void PythonQtShell_QGraphicsObject::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +QGraphicsObject* PythonQtWrapper_QGraphicsObject::new_QGraphicsObject(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsObject(parent); } + +const QMetaObject* PythonQtShell_QGraphicsObject::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsObject::staticMetaObject); + } else { + return &QGraphicsObject::staticMetaObject; + } +} +int PythonQtShell_QGraphicsObject::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsObject::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QGraphicsObject::grabGesture(QGraphicsObject* theWrappedObject, Qt::GestureType type, Qt::GestureFlags flags) +{ + ( theWrappedObject->grabGesture(type, flags)); +} + +void PythonQtWrapper_QGraphicsObject::ungrabGesture(QGraphicsObject* theWrappedObject, Qt::GestureType type) +{ + ( theWrappedObject->ungrabGesture(type)); +} + +QString PythonQtWrapper_QGraphicsObject::py_toString(QGraphicsObject* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QGraphicsOpacityEffect::~PythonQtShell_QGraphicsOpacityEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sourceRect0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&sourceRect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsObject::hoverLeaveEvent(event0); + return QGraphicsOpacityEffect::boundingRectFor(sourceRect0); } -void PythonQtShell_QGraphicsObject::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsOpacityEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12581,21 +13856,21 @@ if (_wrapper) { } } } - QGraphicsObject::hoverMoveEvent(event0); + QGraphicsOpacityEffect::childEvent(event0); } -void PythonQtShell_QGraphicsObject::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsOpacityEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12603,65 +13878,54 @@ if (_wrapper) { } } } - QGraphicsObject::inputMethodEvent(event0); + QGraphicsOpacityEffect::customEvent(event0); } -QVariant PythonQtShell_QGraphicsObject::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsObject::inputMethodQuery(query0); + QGraphicsOpacityEffect::draw(painter0); } -bool PythonQtShell_QGraphicsObject::isObscuredBy(const QGraphicsItem* item0) const +bool PythonQtShell_QGraphicsOpacityEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&item0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12669,57 +13933,54 @@ if (_wrapper) { } } } - return QGraphicsObject::isObscuredBy(item0); + return QGraphicsOpacityEffect::event(event0); } -QVariant PythonQtShell_QGraphicsObject::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +bool PythonQtShell_QGraphicsOpacityEffect::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsObject::itemChange(change0, value1); + return QGraphicsOpacityEffect::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsObject::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12727,21 +13988,21 @@ if (_wrapper) { } } } - QGraphicsObject::keyPressEvent(event0); + QGraphicsOpacityEffect::sourceChanged(flags0); } -void PythonQtShell_QGraphicsObject::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsOpacityEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12749,21 +14010,54 @@ if (_wrapper) { } } } - QGraphicsObject::keyReleaseEvent(event0); + QGraphicsOpacityEffect::timerEvent(event0); +} +QGraphicsOpacityEffect* PythonQtWrapper_QGraphicsOpacityEffect::new_QGraphicsOpacityEffect(QObject* parent) +{ +return new PythonQtShell_QGraphicsOpacityEffect(parent); } + +const QMetaObject* PythonQtShell_QGraphicsOpacityEffect::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsOpacityEffect::staticMetaObject); + } else { + return &QGraphicsOpacityEffect::staticMetaObject; + } +} +int PythonQtShell_QGraphicsOpacityEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsOpacityEffect::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +qreal PythonQtWrapper_QGraphicsOpacityEffect::opacity(QGraphicsOpacityEffect* theWrappedObject) const +{ + return ( theWrappedObject->opacity()); +} + +QBrush PythonQtWrapper_QGraphicsOpacityEffect::opacityMask(QGraphicsOpacityEffect* theWrappedObject) const +{ + return ( theWrappedObject->opacityMask()); +} + + + +PythonQtShell_QGraphicsPathItem::~PythonQtShell_QGraphicsPathItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsObject::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsPathItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12771,98 +14065,131 @@ if (_wrapper) { } } } - QGraphicsObject::mouseDoubleClickEvent(event0); + QGraphicsPathItem::advance(phase0); } -void PythonQtShell_QGraphicsObject::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +QRectF PythonQtShell_QGraphicsPathItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsObject::mouseMoveEvent(event0); + return QGraphicsPathItem::boundingRect(); } -void PythonQtShell_QGraphicsObject::mousePressEvent(QGraphicsSceneMouseEvent* event0) +bool PythonQtShell_QGraphicsPathItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsObject::mousePressEvent(event0); + return QGraphicsPathItem::collidesWithItem(other0, mode1); } -void PythonQtShell_QGraphicsObject::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +bool PythonQtShell_QGraphicsPathItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsObject::mouseReleaseEvent(event0); + return QGraphicsPathItem::collidesWithPath(path0, mode1); } -QPainterPath PythonQtShell_QGraphicsObject::opaqueArea() const +bool PythonQtShell_QGraphicsPathItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12870,21 +14197,21 @@ if (_wrapper) { } } } - return QGraphicsObject::opaqueArea(); + return QGraphicsPathItem::contains(point0); } -void PythonQtShell_QGraphicsObject::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsPathItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12892,87 +14219,65 @@ if (_wrapper) { } } } - + QGraphicsPathItem::contextMenuEvent(event0); } -bool PythonQtShell_QGraphicsObject::sceneEvent(QEvent* event0) +void PythonQtShell_QGraphicsPathItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsObject::sceneEvent(event0); + QGraphicsPathItem::dragEnterEvent(event0); } -bool PythonQtShell_QGraphicsObject::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +void PythonQtShell_QGraphicsPathItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEventFilter"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsObject::sceneEventFilter(watched0, event1); + QGraphicsPathItem::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsObject::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsPathItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12980,65 +14285,54 @@ if (_wrapper) { } } } - QGraphicsObject::setExtension(extension0, variant1); + QGraphicsPathItem::dragMoveEvent(event0); } -QPainterPath PythonQtShell_QGraphicsObject::shape() const +void PythonQtShell_QGraphicsPathItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsObject::shape(); + QGraphicsPathItem::dropEvent(event0); } -bool PythonQtShell_QGraphicsObject::supportsExtension(QGraphicsItem::Extension extension0) const +QVariant PythonQtShell_QGraphicsPathItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&extension0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13046,21 +14340,21 @@ if (_wrapper) { } } } - return QGraphicsObject::supportsExtension(extension0); + return QGraphicsPathItem::extension(variant0); } -void PythonQtShell_QGraphicsObject::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsPathItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13068,54 +14362,43 @@ if (_wrapper) { } } } - QGraphicsObject::timerEvent(event0); + QGraphicsPathItem::focusInEvent(event0); } -int PythonQtShell_QGraphicsObject::type() const +void PythonQtShell_QGraphicsPathItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsObject::type(); + QGraphicsPathItem::focusOutEvent(event0); } -void PythonQtShell_QGraphicsObject::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsPathItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13123,94 +14406,43 @@ if (_wrapper) { } } } - QGraphicsObject::wheelEvent(event0); -} -QGraphicsObject* PythonQtWrapper_QGraphicsObject::new_QGraphicsObject(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsObject(parent); } - -const QMetaObject* PythonQtShell_QGraphicsObject::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsObject::staticMetaObject); - } else { - return &QGraphicsObject::staticMetaObject; - } -} -int PythonQtShell_QGraphicsObject::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsObject::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QGraphicsObject::grabGesture(QGraphicsObject* theWrappedObject, Qt::GestureType type, Qt::GestureFlags flags) -{ - ( theWrappedObject->grabGesture(type, flags)); -} - -void PythonQtWrapper_QGraphicsObject::ungrabGesture(QGraphicsObject* theWrappedObject, Qt::GestureType type) -{ - ( theWrappedObject->ungrabGesture(type)); -} - -QString PythonQtWrapper_QGraphicsObject::py_toString(QGraphicsObject* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; -} - - - -PythonQtShell_QGraphicsOpacityEffect::~PythonQtShell_QGraphicsOpacityEffect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsPathItem::hoverEnterEvent(event0); } -QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sourceRect0) const +void PythonQtShell_QGraphicsPathItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRectFor"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&sourceRect0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsOpacityEffect::boundingRectFor(sourceRect0); + QGraphicsPathItem::hoverLeaveEvent(event0); } -void PythonQtShell_QGraphicsOpacityEffect::childEvent(QChildEvent* event0) +void PythonQtShell_QGraphicsPathItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13218,21 +14450,21 @@ if (_wrapper) { } } } - QGraphicsOpacityEffect::childEvent(event0); + QGraphicsPathItem::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsOpacityEffect::customEvent(QEvent* event0) +void PythonQtShell_QGraphicsPathItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13240,54 +14472,65 @@ if (_wrapper) { } } } - QGraphicsOpacityEffect::customEvent(event0); + QGraphicsPathItem::inputMethodEvent(event0); } -void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) +QVariant PythonQtShell_QGraphicsPathItem::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("draw"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsOpacityEffect::draw(painter0); + return QGraphicsPathItem::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsOpacityEffect::event(QEvent* event0) +bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13295,54 +14538,57 @@ if (_wrapper) { } } } - return QGraphicsOpacityEffect::event(event0); + return QGraphicsPathItem::isObscuredBy(item0); } -bool PythonQtShell_QGraphicsOpacityEffect::eventFilter(QObject* watched0, QEvent* event1) +QVariant PythonQtShell_QGraphicsPathItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsOpacityEffect::eventFilter(watched0, event1); + return QGraphicsPathItem::itemChange(change0, value1); } -void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +void PythonQtShell_QGraphicsPathItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sourceChanged"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13350,21 +14596,21 @@ if (_wrapper) { } } } - QGraphicsOpacityEffect::sourceChanged(flags0); + QGraphicsPathItem::keyPressEvent(event0); } -void PythonQtShell_QGraphicsOpacityEffect::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsPathItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13372,172 +14618,95 @@ if (_wrapper) { } } } - QGraphicsOpacityEffect::timerEvent(event0); -} -QGraphicsOpacityEffect* PythonQtWrapper_QGraphicsOpacityEffect::new_QGraphicsOpacityEffect(QObject* parent) -{ -return new PythonQtShell_QGraphicsOpacityEffect(parent); } - -const QMetaObject* PythonQtShell_QGraphicsOpacityEffect::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsOpacityEffect::staticMetaObject); - } else { - return &QGraphicsOpacityEffect::staticMetaObject; - } -} -int PythonQtShell_QGraphicsOpacityEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsOpacityEffect::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -qreal PythonQtWrapper_QGraphicsOpacityEffect::opacity(QGraphicsOpacityEffect* theWrappedObject) const -{ - return ( theWrappedObject->opacity()); -} - -QBrush PythonQtWrapper_QGraphicsOpacityEffect::opacityMask(QGraphicsOpacityEffect* theWrappedObject) const -{ - return ( theWrappedObject->opacityMask()); -} - - - -PythonQtShell_QGraphicsPathItem::~PythonQtShell_QGraphicsPathItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsPathItem::keyReleaseEvent(event0); } -QRectF PythonQtShell_QGraphicsPathItem::boundingRect() const +void PythonQtShell_QGraphicsPathItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::boundingRect(); + QGraphicsPathItem::mouseDoubleClickEvent(event0); } -bool PythonQtShell_QGraphicsPathItem::contains(const QPointF& point0) const +void PythonQtShell_QGraphicsPathItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::contains(point0); + QGraphicsPathItem::mouseMoveEvent(event0); } -QVariant PythonQtShell_QGraphicsPathItem::extension(const QVariant& variant0) const +void PythonQtShell_QGraphicsPathItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::extension(variant0); + QGraphicsPathItem::mousePressEvent(event0); } -bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) const +void PythonQtShell_QGraphicsPathItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::isObscuredBy(item0); + QGraphicsPathItem::mouseReleaseEvent(event0); } QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const { @@ -13549,20 +14718,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13582,9 +14751,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13594,6 +14763,72 @@ if (_wrapper) { } QGraphicsPathItem::paint(painter0, option1, widget2); } +bool PythonQtShell_QGraphicsPathItem::sceneEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsPathItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::sceneEventFilter(watched0, event1); +} void PythonQtShell_QGraphicsPathItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { @@ -13604,9 +14839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13626,20 +14861,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13659,20 +14894,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&extension0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13692,20 +14927,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13715,6 +14950,28 @@ if (_wrapper) { } return QGraphicsPathItem::type(); } +void PythonQtShell_QGraphicsPathItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::wheelEvent(event0); +} QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(QGraphicsItem* parent) { return new PythonQtShell_QGraphicsPathItem(parent); } @@ -13723,54 +14980,14 @@ QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(cons { return new PythonQtShell_QGraphicsPathItem(path, parent); } -QRectF PythonQtWrapper_QGraphicsPathItem::boundingRect(QGraphicsPathItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsPathItem::contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsPathItem::extension(QGraphicsPathItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_extension(variant)); -} - -void PythonQtWrapper_QGraphicsPathItem::paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - QPainterPath PythonQtWrapper_QGraphicsPathItem::path(QGraphicsPathItem* theWrappedObject) const { return ( theWrappedObject->path()); } -void PythonQtWrapper_QGraphicsPathItem::setExtension(QGraphicsPathItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - void PythonQtWrapper_QGraphicsPathItem::setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path) { ( theWrappedObject->setPath(path)); } -QPainterPath PythonQtWrapper_QGraphicsPathItem::shape(QGraphicsPathItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsPathItem::supportsExtension(QGraphicsPathItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -int PythonQtWrapper_QGraphicsPathItem::type(QGraphicsPathItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui2.h b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui2.h index 5c0a3b86c..0799e0bf7 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui2.h +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui2.h @@ -63,6 +63,7 @@ #include #include #include +#include #include #include #include @@ -85,7 +86,7 @@ QFontDatabase* new_QFontDatabase(const QFontDatabase& other) { QFontDatabase* a = new QFontDatabase(); *((QFontDatabase*)a) = other; return a; } -void delete_QFontDatabase(QFontDatabase* obj) { delete obj; } +void delete_QFontDatabase(QFontDatabase* obj) { delete obj; } int static_QFontDatabase_addApplicationFont(const QString& fileName); int static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData); QStringList static_QFontDatabase_applicationFontFamilies(int id); @@ -123,64 +124,64 @@ void delete_QFontDatabase(QFontDatabase* obj) { delete obj; } class PythonQtShell_QFontDialog : public QFontDialog { public: - PythonQtShell_QFontDialog(QWidget* parent = nullptr):QFontDialog(parent),_wrapper(NULL) {}; - PythonQtShell_QFontDialog(const QFont& initial, QWidget* parent = nullptr):QFontDialog(initial, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFontDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFontDialog(QWidget* parent = nullptr):QFontDialog(parent),_wrapper(nullptr) {}; + PythonQtShell_QFontDialog(const QFont& initial, QWidget* parent = nullptr):QFontDialog(initial, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFontDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFontDialog : public QFontDialog @@ -205,7 +206,7 @@ Q_DECLARE_FLAGS(FontDialogOptions, FontDialogOption) public slots: QFontDialog* new_QFontDialog(QWidget* parent = nullptr); QFontDialog* new_QFontDialog(const QFont& initial, QWidget* parent = nullptr); -void delete_QFontDialog(QFontDialog* obj) { delete obj; } +void delete_QFontDialog(QFontDialog* obj) { delete obj; } void py_q_changeEvent(QFontDialog* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QFontDialog*)theWrappedObject)->py_q_changeEvent(event));} QFont currentFont(QFontDialog* theWrappedObject) const; void py_q_done(QFontDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QFontDialog*)theWrappedObject)->py_q_done(result));} @@ -232,7 +233,7 @@ class PythonQtWrapper_QFontInfo : public QObject public slots: QFontInfo* new_QFontInfo(const QFont& arg__1); QFontInfo* new_QFontInfo(const QFontInfo& arg__1); -void delete_QFontInfo(QFontInfo* obj) { delete obj; } +void delete_QFontInfo(QFontInfo* obj) { delete obj; } bool bold(QFontInfo* theWrappedObject) const; bool exactMatch(QFontInfo* theWrappedObject) const; QString family(QFontInfo* theWrappedObject) const; @@ -250,6 +251,9 @@ void delete_QFontInfo(QFontInfo* obj) { delete obj; } void swap(QFontInfo* theWrappedObject, QFontInfo& other); bool underline(QFontInfo* theWrappedObject) const; int weight(QFontInfo* theWrappedObject) const; + + QFontInfo* new_QFontInfo() { return new QFontInfo(QFont()); } + }; @@ -262,7 +266,8 @@ class PythonQtWrapper_QFontMetrics : public QObject public slots: QFontMetrics* new_QFontMetrics(const QFont& arg__1); QFontMetrics* new_QFontMetrics(const QFont& arg__1, QPaintDevice* pd); -void delete_QFontMetrics(QFontMetrics* obj) { delete obj; } +QFontMetrics* new_QFontMetrics(const QFontMetrics& arg__1); +void delete_QFontMetrics(QFontMetrics* obj) { delete obj; } int ascent(QFontMetrics* theWrappedObject) const; int averageCharWidth(QFontMetrics* theWrappedObject) const; QRect boundingRect(QFontMetrics* theWrappedObject, QChar arg__1) const; @@ -296,6 +301,9 @@ void delete_QFontMetrics(QFontMetrics* obj) { delete obj; } int width(QFontMetrics* theWrappedObject, const QString& arg__1, int len = -1) const; int width(QFontMetrics* theWrappedObject, const QString& arg__1, int len, int flags) const; int xHeight(QFontMetrics* theWrappedObject) const; + + QFontMetrics* new_QFontMetrics() { return new QFontMetrics(QFont()); } + }; @@ -308,7 +316,7 @@ class PythonQtWrapper_QFontMetricsF : public QObject public slots: QFontMetricsF* new_QFontMetricsF(const QFont& arg__1); QFontMetricsF* new_QFontMetricsF(const QFont& arg__1, QPaintDevice* pd); -void delete_QFontMetricsF(QFontMetricsF* obj) { delete obj; } +void delete_QFontMetricsF(QFontMetricsF* obj) { delete obj; } qreal ascent(QFontMetricsF* theWrappedObject) const; qreal averageCharWidth(QFontMetricsF* theWrappedObject) const; QRectF boundingRect(QFontMetricsF* theWrappedObject, QChar arg__1) const; @@ -348,36 +356,39 @@ void delete_QFontMetricsF(QFontMetricsF* obj) { delete obj; } class PythonQtShell_QFormLayout : public QFormLayout { public: - PythonQtShell_QFormLayout(QWidget* parent = nullptr):QFormLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFormLayout(); - -virtual void addItem(QLayoutItem* item); -virtual void childEvent(QChildEvent* e); -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual int count() const; -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int width) const; -virtual int indexOf(QWidget* arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayoutItem* itemAt(int index) const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& rect); -virtual QSize sizeHint() const; -virtual QLayoutItem* takeAt(int index); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFormLayout(QWidget* parent = nullptr):QFormLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFormLayout() override; + +void addItem(QLayoutItem* item) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int width) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int index) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& rect) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int index) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFormLayout : public QFormLayout @@ -400,7 +411,7 @@ class PythonQtWrapper_QFormLayout : public QObject public: public slots: QFormLayout* new_QFormLayout(QWidget* parent = nullptr); -void delete_QFormLayout(QFormLayout* obj) { delete obj; } +void delete_QFormLayout(QFormLayout* obj) { delete obj; } void py_q_addItem(QFormLayout* theWrappedObject, QLayoutItem* item){ (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_addItem(item));} void addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP layout); void addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field); @@ -415,9 +426,7 @@ void delete_QFormLayout(QFormLayout* obj) { delete obj; } void getItemPosition(QFormLayout* theWrappedObject, int index, int* rowPtr, QFormLayout::ItemRole* rolePtr) const; void getLayoutPosition(QFormLayout* theWrappedObject, QLayout* layout, int* rowPtr, QFormLayout::ItemRole* rolePtr) const; void getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const; - bool hasHeightForWidth(QFormLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QFormLayout* theWrappedObject, int width) const; int py_q_heightForWidth(QFormLayout* theWrappedObject, int width) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_heightForWidth(width));} int horizontalSpacing(QFormLayout* theWrappedObject) const; void insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP layout); @@ -449,7 +458,6 @@ void delete_QFormLayout(QFormLayout* obj) { delete obj; } void setSpacing(QFormLayout* theWrappedObject, int arg__1); void setVerticalSpacing(QFormLayout* theWrappedObject, int spacing); void setWidget(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP widget); - QSize sizeHint(QFormLayout* theWrappedObject) const; QSize py_q_sizeHint(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_sizeHint());} int spacing(QFormLayout* theWrappedObject) const; QLayoutItem* py_q_takeAt(QFormLayout* theWrappedObject, int index){ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_takeAt(index));} @@ -464,59 +472,59 @@ void delete_QFormLayout(QFormLayout* obj) { delete obj; } class PythonQtShell_QFrame : public QFrame { public: - PythonQtShell_QFrame(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QFrame(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QFrame(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFrame(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QFrame(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QFrame() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFrame : public QFrame @@ -540,7 +548,7 @@ enum StyleMask{ Shadow_Mask = QFrame::Shadow_Mask, Shape_Mask = QFrame::Shape_Mask}; public slots: QFrame* new_QFrame(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QFrame(QFrame* obj) { delete obj; } +void delete_QFrame(QFrame* obj) { delete obj; } void py_q_changeEvent(QFrame* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QFrame*)theWrappedObject)->py_q_changeEvent(arg__1));} void drawFrame(QFrame* theWrappedObject, QPainter* arg__1); bool py_q_event(QFrame* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QFrame*)theWrappedObject)->py_q_event(e));} @@ -570,19 +578,19 @@ void delete_QFrame(QFrame* obj) { delete obj; } class PythonQtShell_QGesture : public QGesture { public: - PythonQtShell_QGesture(QObject* parent = nullptr):QGesture(parent),_wrapper(NULL) {}; + PythonQtShell_QGesture(QObject* parent = nullptr):QGesture(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGesture(); + ~PythonQtShell_QGesture() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QGesture : public QObject @@ -593,7 +601,7 @@ enum GestureCancelPolicy{ CancelNone = QGesture::CancelNone, CancelAllInContext = QGesture::CancelAllInContext}; public slots: QGesture* new_QGesture(QObject* parent = nullptr); -void delete_QGesture(QGesture* obj) { delete obj; } +void delete_QGesture(QGesture* obj) { delete obj; } QGesture::GestureCancelPolicy gestureCancelPolicy(QGesture* theWrappedObject) const; Qt::GestureType gestureType(QGesture* theWrappedObject) const; bool hasHotSpot(QGesture* theWrappedObject) const; @@ -614,7 +622,7 @@ class PythonQtWrapper_QGestureEvent : public QObject public: public slots: QGestureEvent* new_QGestureEvent(const QList& gestures); -void delete_QGestureEvent(QGestureEvent* obj) { delete obj; } +void delete_QGestureEvent(QGestureEvent* obj) { delete obj; } void accept(QGestureEvent* theWrappedObject, QGesture* arg__1); void accept(QGestureEvent* theWrappedObject, Qt::GestureType arg__1); QList activeGestures(QGestureEvent* theWrappedObject) const; @@ -640,15 +648,15 @@ void delete_QGestureEvent(QGestureEvent* obj) { delete obj; } class PythonQtShell_QGestureRecognizer : public QGestureRecognizer { public: - PythonQtShell_QGestureRecognizer():QGestureRecognizer(),_wrapper(NULL) {}; + PythonQtShell_QGestureRecognizer():QGestureRecognizer(),_wrapper(nullptr) {}; - ~PythonQtShell_QGestureRecognizer(); + ~PythonQtShell_QGestureRecognizer() override; -virtual QGesture* create(QObject* target); -virtual QGestureRecognizer::Result recognize(QGesture* state, QObject* watched, QEvent* event); -virtual void reset(QGesture* state); +QGesture* create(QObject* target) override; +QGestureRecognizer::Result recognize(QGesture* state, QObject* watched, QEvent* event) override; +void reset(QGesture* state) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGestureRecognizer : public QGestureRecognizer @@ -668,7 +676,7 @@ enum ResultFlag{ Q_DECLARE_FLAGS(Result, ResultFlag) public slots: QGestureRecognizer* new_QGestureRecognizer(); -void delete_QGestureRecognizer(QGestureRecognizer* obj) { delete obj; } +void delete_QGestureRecognizer(QGestureRecognizer* obj) { delete obj; } QGesture* create(QGestureRecognizer* theWrappedObject, QObject* target); QGesture* py_q_create(QGestureRecognizer* theWrappedObject, QObject* target){ return (((PythonQtPublicPromoter_QGestureRecognizer*)theWrappedObject)->py_q_create(target));} QGestureRecognizer::Result recognize(QGestureRecognizer* theWrappedObject, QGesture* state, QObject* watched, QEvent* event); @@ -694,7 +702,7 @@ Q_DECLARE_FLAGS(GlyphRunFlags, GlyphRunFlag) public slots: QGlyphRun* new_QGlyphRun(); QGlyphRun* new_QGlyphRun(const QGlyphRun& other); -void delete_QGlyphRun(QGlyphRun* obj) { delete obj; } +void delete_QGlyphRun(QGlyphRun* obj) { delete obj; } QRectF boundingRect(QGlyphRun* theWrappedObject) const; void clear(QGlyphRun* theWrappedObject); QGlyphRun::GlyphRunFlags flags(QGlyphRun* theWrappedObject) const; @@ -744,7 +752,7 @@ QGradient* new_QGradient(const QGradient& other) { QGradient* a = new QGradient(); *((QGradient*)a) = other; return a; } -void delete_QGradient(QGradient* obj) { delete obj; } +void delete_QGradient(QGradient* obj) { delete obj; } QGradient::CoordinateMode coordinateMode(QGradient* theWrappedObject) const; bool __ne__(QGradient* theWrappedObject, const QGradient& other) const; bool __eq__(QGradient* theWrappedObject, const QGradient& gradient) const; @@ -765,7 +773,7 @@ class PythonQtWrapper_QGraphicsAnchor : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsAnchor(QGraphicsAnchor* obj) { delete obj; } +void delete_QGraphicsAnchor(QGraphicsAnchor* obj) { delete obj; } void setSizePolicy(QGraphicsAnchor* theWrappedObject, QSizePolicy::Policy policy); void setSpacing(QGraphicsAnchor* theWrappedObject, qreal spacing); QSizePolicy::Policy sizePolicy(QGraphicsAnchor* theWrappedObject) const; @@ -780,21 +788,21 @@ void delete_QGraphicsAnchor(QGraphicsAnchor* obj) { delete obj; } class PythonQtShell_QGraphicsAnchorLayout : public QGraphicsAnchorLayout { public: - PythonQtShell_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsAnchorLayout(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsAnchorLayout(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsAnchorLayout(); + ~PythonQtShell_QGraphicsAnchorLayout() override; -virtual int count() const; -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void invalidate(); -virtual QGraphicsLayoutItem* itemAt(int index) const; -virtual void removeAt(int index); -virtual void setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); -virtual void widgetEvent(QEvent* e); +int count() const override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void invalidate() override; +QGraphicsLayoutItem* itemAt(int index) const override; +void removeAt(int index) override; +void setGeometry(const QRectF& rect) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +void updateGeometry() override; +void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsAnchorLayout : public QGraphicsAnchorLayout @@ -813,7 +821,7 @@ class PythonQtWrapper_QGraphicsAnchorLayout : public QObject public: public slots: QGraphicsAnchorLayout* new_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = nullptr); -void delete_QGraphicsAnchorLayout(QGraphicsAnchorLayout* obj) { delete obj; } +void delete_QGraphicsAnchorLayout(QGraphicsAnchorLayout* obj) { delete obj; } QGraphicsAnchor* addAnchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge); void addAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, QGraphicsLayoutItem* secondItem, Qt::Orientations orientations = Qt::Horizontal | Qt::Vertical); void addCornerAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::Corner firstCorner, QGraphicsLayoutItem* secondItem, Qt::Corner secondCorner); @@ -823,12 +831,10 @@ void delete_QGraphicsAnchorLayout(QGraphicsAnchorLayout* obj) { delete obj; } void py_q_invalidate(QGraphicsAnchorLayout* theWrappedObject){ (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_invalidate());} QGraphicsLayoutItem* py_q_itemAt(QGraphicsAnchorLayout* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_itemAt(index));} void py_q_removeAt(QGraphicsAnchorLayout* theWrappedObject, int index){ (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_removeAt(index));} - void setGeometry(QGraphicsAnchorLayout* theWrappedObject, const QRectF& rect); void py_q_setGeometry(QGraphicsAnchorLayout* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_setGeometry(rect));} void setHorizontalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing); void setSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing); void setVerticalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing); - QSizeF sizeHint(QGraphicsAnchorLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; QSizeF py_q_sizeHint(QGraphicsAnchorLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_sizeHint(which, constraint));} qreal verticalSpacing(QGraphicsAnchorLayout* theWrappedObject) const; }; @@ -840,22 +846,22 @@ void delete_QGraphicsAnchorLayout(QGraphicsAnchorLayout* obj) { delete obj; } class PythonQtShell_QGraphicsBlurEffect : public QGraphicsBlurEffect { public: - PythonQtShell_QGraphicsBlurEffect(QObject* parent = nullptr):QGraphicsBlurEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsBlurEffect(QObject* parent = nullptr):QGraphicsBlurEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsBlurEffect(); + ~PythonQtShell_QGraphicsBlurEffect() override; -virtual QRectF boundingRectFor(const QRectF& rect) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual void draw(QPainter* painter); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); -virtual void timerEvent(QTimerEvent* event); +QRectF boundingRectFor(const QRectF& rect) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void draw(QPainter* painter) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void sourceChanged(QGraphicsEffect::ChangeFlags flags) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsBlurEffect : public QGraphicsBlurEffect @@ -875,7 +881,7 @@ enum BlurHint{ Q_DECLARE_FLAGS(BlurHints, BlurHint) public slots: QGraphicsBlurEffect* new_QGraphicsBlurEffect(QObject* parent = nullptr); -void delete_QGraphicsBlurEffect(QGraphicsBlurEffect* obj) { delete obj; } +void delete_QGraphicsBlurEffect(QGraphicsBlurEffect* obj) { delete obj; } QGraphicsBlurEffect::BlurHints blurHints(QGraphicsBlurEffect* theWrappedObject) const; qreal blurRadius(QGraphicsBlurEffect* theWrappedObject) const; QRectF py_q_boundingRectFor(QGraphicsBlurEffect* theWrappedObject, const QRectF& rect) const{ return (((PythonQtPublicPromoter_QGraphicsBlurEffect*)theWrappedObject)->py_q_boundingRectFor(rect));} @@ -889,22 +895,22 @@ void delete_QGraphicsBlurEffect(QGraphicsBlurEffect* obj) { delete obj; } class PythonQtShell_QGraphicsColorizeEffect : public QGraphicsColorizeEffect { public: - PythonQtShell_QGraphicsColorizeEffect(QObject* parent = nullptr):QGraphicsColorizeEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsColorizeEffect(QObject* parent = nullptr):QGraphicsColorizeEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsColorizeEffect(); + ~PythonQtShell_QGraphicsColorizeEffect() override; -virtual QRectF boundingRectFor(const QRectF& sourceRect) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual void draw(QPainter* painter); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); -virtual void timerEvent(QTimerEvent* event); +QRectF boundingRectFor(const QRectF& sourceRect) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void draw(QPainter* painter) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void sourceChanged(QGraphicsEffect::ChangeFlags flags) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsColorizeEffect : public QGraphicsColorizeEffect @@ -918,7 +924,7 @@ class PythonQtWrapper_QGraphicsColorizeEffect : public QObject public: public slots: QGraphicsColorizeEffect* new_QGraphicsColorizeEffect(QObject* parent = nullptr); -void delete_QGraphicsColorizeEffect(QGraphicsColorizeEffect* obj) { delete obj; } +void delete_QGraphicsColorizeEffect(QGraphicsColorizeEffect* obj) { delete obj; } QColor color(QGraphicsColorizeEffect* theWrappedObject) const; void py_q_draw(QGraphicsColorizeEffect* theWrappedObject, QPainter* painter){ (((PythonQtPublicPromoter_QGraphicsColorizeEffect*)theWrappedObject)->py_q_draw(painter));} qreal strength(QGraphicsColorizeEffect* theWrappedObject) const; @@ -931,22 +937,22 @@ void delete_QGraphicsColorizeEffect(QGraphicsColorizeEffect* obj) { delete obj; class PythonQtShell_QGraphicsDropShadowEffect : public QGraphicsDropShadowEffect { public: - PythonQtShell_QGraphicsDropShadowEffect(QObject* parent = nullptr):QGraphicsDropShadowEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsDropShadowEffect(QObject* parent = nullptr):QGraphicsDropShadowEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsDropShadowEffect(); + ~PythonQtShell_QGraphicsDropShadowEffect() override; -virtual QRectF boundingRectFor(const QRectF& rect) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual void draw(QPainter* painter); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); -virtual void timerEvent(QTimerEvent* event); +QRectF boundingRectFor(const QRectF& rect) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void draw(QPainter* painter) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void sourceChanged(QGraphicsEffect::ChangeFlags flags) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsDropShadowEffect : public QGraphicsDropShadowEffect @@ -961,7 +967,7 @@ class PythonQtWrapper_QGraphicsDropShadowEffect : public QObject public: public slots: QGraphicsDropShadowEffect* new_QGraphicsDropShadowEffect(QObject* parent = nullptr); -void delete_QGraphicsDropShadowEffect(QGraphicsDropShadowEffect* obj) { delete obj; } +void delete_QGraphicsDropShadowEffect(QGraphicsDropShadowEffect* obj) { delete obj; } qreal blurRadius(QGraphicsDropShadowEffect* theWrappedObject) const; QRectF py_q_boundingRectFor(QGraphicsDropShadowEffect* theWrappedObject, const QRectF& rect) const{ return (((PythonQtPublicPromoter_QGraphicsDropShadowEffect*)theWrappedObject)->py_q_boundingRectFor(rect));} QColor color(QGraphicsDropShadowEffect* theWrappedObject) const; @@ -978,22 +984,22 @@ void delete_QGraphicsDropShadowEffect(QGraphicsDropShadowEffect* obj) { delete o class PythonQtShell_QGraphicsEffect : public QGraphicsEffect { public: - PythonQtShell_QGraphicsEffect(QObject* parent = nullptr):QGraphicsEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsEffect(QObject* parent = nullptr):QGraphicsEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsEffect(); + ~PythonQtShell_QGraphicsEffect() override; -virtual QRectF boundingRectFor(const QRectF& sourceRect) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual void draw(QPainter* painter); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); -virtual void timerEvent(QTimerEvent* event); +QRectF boundingRectFor(const QRectF& sourceRect) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void draw(QPainter* painter) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void sourceChanged(QGraphicsEffect::ChangeFlags flags) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsEffect : public QGraphicsEffect @@ -1022,7 +1028,7 @@ enum PixmapPadMode{ Q_DECLARE_FLAGS(ChangeFlags, ChangeFlag) public slots: QGraphicsEffect* new_QGraphicsEffect(QObject* parent = nullptr); -void delete_QGraphicsEffect(QGraphicsEffect* obj) { delete obj; } +void delete_QGraphicsEffect(QGraphicsEffect* obj) { delete obj; } QRectF boundingRect(QGraphicsEffect* theWrappedObject) const; QRectF boundingRectFor(QGraphicsEffect* theWrappedObject, const QRectF& sourceRect) const; QRectF py_q_boundingRectFor(QGraphicsEffect* theWrappedObject, const QRectF& sourceRect) const{ return (((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->py_q_boundingRectFor(sourceRect));} @@ -1045,24 +1051,49 @@ void delete_QGraphicsEffect(QGraphicsEffect* obj) { delete obj; } class PythonQtShell_QGraphicsEllipseItem : public QGraphicsEllipseItem { public: - PythonQtShell_QGraphicsEllipseItem(QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(rect, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(x, y, w, h, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsEllipseItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsEllipseItem(QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(rect, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(x, y, w, h, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsEllipseItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsEllipseItem : public QGraphicsEllipseItem @@ -1092,31 +1123,23 @@ public slots: QGraphicsEllipseItem* new_QGraphicsEllipseItem(QGraphicsItem* parent = nullptr); QGraphicsEllipseItem* new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = nullptr); QGraphicsEllipseItem* new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr); -void delete_QGraphicsEllipseItem(QGraphicsEllipseItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsEllipseItem* theWrappedObject) const; +void delete_QGraphicsEllipseItem(QGraphicsEllipseItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const; bool py_q_contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsEllipseItem* theWrappedObject, const QVariant& variant) const; QVariant py_q_extension(QGraphicsEllipseItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_extension(variant));} bool py_q_isObscuredBy(QGraphicsEllipseItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_isObscuredBy(item));} QPainterPath py_q_opaqueArea(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsEllipseItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsEllipseItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_paint(painter, option, widget));} QRectF rect(QGraphicsEllipseItem* theWrappedObject) const; - void setExtension(QGraphicsEllipseItem* theWrappedObject, int extension, const QVariant& variant); void py_q_setExtension(QGraphicsEllipseItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_setExtension(extension, variant));} void setRect(QGraphicsEllipseItem* theWrappedObject, const QRectF& rect); void setRect(QGraphicsEllipseItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h); void setSpanAngle(QGraphicsEllipseItem* theWrappedObject, int angle); void setStartAngle(QGraphicsEllipseItem* theWrappedObject, int angle); - QPainterPath shape(QGraphicsEllipseItem* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_shape());} int spanAngle(QGraphicsEllipseItem* theWrappedObject) const; int startAngle(QGraphicsEllipseItem* theWrappedObject) const; - bool supportsExtension(QGraphicsEllipseItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsEllipseItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_supportsExtension(extension));} - int type(QGraphicsEllipseItem* theWrappedObject) const; int py_q_type(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_type());} }; @@ -1127,21 +1150,21 @@ void delete_QGraphicsEllipseItem(QGraphicsEllipseItem* obj) { delete obj; } class PythonQtShell_QGraphicsGridLayout : public QGraphicsGridLayout { public: - PythonQtShell_QGraphicsGridLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsGridLayout(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsGridLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsGridLayout(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsGridLayout(); + ~PythonQtShell_QGraphicsGridLayout() override; -virtual int count() const; -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void invalidate(); -virtual QGraphicsLayoutItem* itemAt(int index) const; -virtual void removeAt(int index); -virtual void setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); -virtual void widgetEvent(QEvent* e); +int count() const override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void invalidate() override; +QGraphicsLayoutItem* itemAt(int index) const override; +void removeAt(int index) override; +void setGeometry(const QRectF& rect) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +void updateGeometry() override; +void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsGridLayout : public QGraphicsGridLayout @@ -1159,7 +1182,7 @@ class PythonQtWrapper_QGraphicsGridLayout : public QObject public: public slots: QGraphicsGridLayout* new_QGraphicsGridLayout(QGraphicsLayoutItem* parent = nullptr); -void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } +void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } void addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, Qt::Alignment alignment = Qt::Alignment()); void addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = Qt::Alignment()); Qt::Alignment alignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) const; @@ -1192,7 +1215,6 @@ void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } void setColumnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); void setColumnSpacing(QGraphicsGridLayout* theWrappedObject, int column, qreal spacing); void setColumnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column, int stretch); - void setGeometry(QGraphicsGridLayout* theWrappedObject, const QRectF& rect); void py_q_setGeometry(QGraphicsGridLayout* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->py_q_setGeometry(rect));} void setHorizontalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); void setRowAlignment(QGraphicsGridLayout* theWrappedObject, int row, Qt::Alignment alignment); @@ -1204,7 +1226,6 @@ void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } void setRowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row, int stretch); void setSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); void setVerticalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); - QSizeF sizeHint(QGraphicsGridLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; QSizeF py_q_sizeHint(QGraphicsGridLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->py_q_sizeHint(which, constraint));} qreal verticalSpacing(QGraphicsGridLayout* theWrappedObject) const; }; @@ -1216,47 +1237,47 @@ void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } class PythonQtShell_QGraphicsItem : public QGraphicsItem { public: - PythonQtShell_QGraphicsItem(QGraphicsItem* parent = nullptr):QGraphicsItem(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsItem(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsItem(QGraphicsItem* parent = nullptr):QGraphicsItem(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsItem : public QGraphicsItem @@ -1349,7 +1370,7 @@ enum enum_1{ Q_DECLARE_FLAGS(GraphicsItemFlags, GraphicsItemFlag) public slots: QGraphicsItem* new_QGraphicsItem(QGraphicsItem* parent = nullptr); -void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } +void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } bool acceptDrops(QGraphicsItem* theWrappedObject) const; bool acceptHoverEvents(QGraphicsItem* theWrappedObject) const; bool acceptTouchEvents(QGraphicsItem* theWrappedObject) const; @@ -1602,21 +1623,21 @@ void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } class PythonQtShell_QGraphicsItemAnimation : public QGraphicsItemAnimation { public: - PythonQtShell_QGraphicsItemAnimation(QObject* parent = nullptr):QGraphicsItemAnimation(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsItemAnimation(QObject* parent = nullptr):QGraphicsItemAnimation(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsItemAnimation(); + ~PythonQtShell_QGraphicsItemAnimation() override; -virtual void afterAnimationStep(qreal step); -virtual void beforeAnimationStep(qreal step); -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void afterAnimationStep(qreal step) override; +void beforeAnimationStep(qreal step) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsItemAnimation : public QGraphicsItemAnimation @@ -1632,7 +1653,7 @@ class PythonQtWrapper_QGraphicsItemAnimation : public QObject public: public slots: QGraphicsItemAnimation* new_QGraphicsItemAnimation(QObject* parent = nullptr); -void delete_QGraphicsItemAnimation(QGraphicsItemAnimation* obj) { delete obj; } +void delete_QGraphicsItemAnimation(QGraphicsItemAnimation* obj) { delete obj; } void afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step); void py_q_afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step){ (((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->py_q_afterAnimationStep(step));} void beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step); @@ -1670,47 +1691,47 @@ void delete_QGraphicsItemAnimation(QGraphicsItemAnimation* obj) { delete obj; } class PythonQtShell_QGraphicsItemGroup : public QGraphicsItemGroup { public: - PythonQtShell_QGraphicsItemGroup(QGraphicsItem* parent = nullptr):QGraphicsItemGroup(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsItemGroup(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsItemGroup(QGraphicsItem* parent = nullptr):QGraphicsItemGroup(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsItemGroup() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsItemGroup : public QGraphicsItemGroup @@ -1730,7 +1751,7 @@ enum enum_1{ Type = QGraphicsItemGroup::Type}; public slots: QGraphicsItemGroup* new_QGraphicsItemGroup(QGraphicsItem* parent = nullptr); -void delete_QGraphicsItemGroup(QGraphicsItemGroup* obj) { delete obj; } +void delete_QGraphicsItemGroup(QGraphicsItemGroup* obj) { delete obj; } void addToGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item); QRectF py_q_boundingRect(QGraphicsItemGroup* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->py_q_boundingRect());} bool py_q_isObscuredBy(QGraphicsItemGroup* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->py_q_isObscuredBy(item));} @@ -1747,21 +1768,21 @@ void delete_QGraphicsItemGroup(QGraphicsItemGroup* obj) { delete obj; } class PythonQtShell_QGraphicsLayout : public QGraphicsLayout { public: - PythonQtShell_QGraphicsLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsLayout(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsLayout(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsLayout(); + ~PythonQtShell_QGraphicsLayout() override; -virtual int count() const; -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void invalidate(); -virtual QGraphicsLayoutItem* itemAt(int i) const; -virtual void removeAt(int index); -virtual void setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); -virtual void widgetEvent(QEvent* e); +int count() const override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void invalidate() override; +QGraphicsLayoutItem* itemAt(int i) const override; +void removeAt(int index) override; +void setGeometry(const QRectF& rect) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +void updateGeometry() override; +void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLayout : public QGraphicsLayout @@ -1781,7 +1802,7 @@ class PythonQtWrapper_QGraphicsLayout : public QObject public: public slots: QGraphicsLayout* new_QGraphicsLayout(QGraphicsLayoutItem* parent = nullptr); -void delete_QGraphicsLayout(QGraphicsLayout* obj) { delete obj; } +void delete_QGraphicsLayout(QGraphicsLayout* obj) { delete obj; } void activate(QGraphicsLayout* theWrappedObject); void addChildLayoutItem(QGraphicsLayout* theWrappedObject, QGraphicsLayoutItem* layoutItem); int count(QGraphicsLayout* theWrappedObject) const; @@ -1809,16 +1830,16 @@ void delete_QGraphicsLayout(QGraphicsLayout* obj) { delete obj; } class PythonQtShell_QGraphicsLayoutItem : public QGraphicsLayoutItem { public: - PythonQtShell_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = nullptr, bool isLayout = false):QGraphicsLayoutItem(parent, isLayout),_wrapper(NULL) {}; + PythonQtShell_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = nullptr, bool isLayout = false):QGraphicsLayoutItem(parent, isLayout),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsLayoutItem(); + ~PythonQtShell_QGraphicsLayoutItem() override; -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void setGeometry(const QRectF& rect) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +void updateGeometry() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLayoutItem : public QGraphicsLayoutItem @@ -1837,7 +1858,7 @@ class PythonQtWrapper_QGraphicsLayoutItem : public QObject public: public slots: QGraphicsLayoutItem* new_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = nullptr, bool isLayout = false); -void delete_QGraphicsLayoutItem(QGraphicsLayoutItem* obj) { delete obj; } +void delete_QGraphicsLayoutItem(QGraphicsLayoutItem* obj) { delete obj; } QRectF contentsRect(QGraphicsLayoutItem* theWrappedObject) const; QSizeF effectiveSizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; QRectF geometry(QGraphicsLayoutItem* theWrappedObject) const; @@ -1889,49 +1910,49 @@ void delete_QGraphicsLayoutItem(QGraphicsLayoutItem* obj) { delete obj; } class PythonQtShell_QGraphicsLineItem : public QGraphicsLineItem { public: - PythonQtShell_QGraphicsLineItem(QGraphicsItem* parent = nullptr):QGraphicsLineItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = nullptr):QGraphicsLineItem(line, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = nullptr):QGraphicsLineItem(x1, y1, x2, y2, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsLineItem(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsLineItem(QGraphicsItem* parent = nullptr):QGraphicsLineItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = nullptr):QGraphicsLineItem(line, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = nullptr):QGraphicsLineItem(x1, y1, x2, y2, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsLineItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLineItem : public QGraphicsLineItem @@ -1961,7 +1982,7 @@ public slots: QGraphicsLineItem* new_QGraphicsLineItem(QGraphicsItem* parent = nullptr); QGraphicsLineItem* new_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = nullptr); QGraphicsLineItem* new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = nullptr); -void delete_QGraphicsLineItem(QGraphicsLineItem* obj) { delete obj; } +void delete_QGraphicsLineItem(QGraphicsLineItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsLineItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_boundingRect());} bool py_q_contains(QGraphicsLineItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_contains(point));} QVariant py_q_extension(QGraphicsLineItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_extension(variant));} @@ -1986,22 +2007,22 @@ void delete_QGraphicsLineItem(QGraphicsLineItem* obj) { delete obj; } class PythonQtShell_QGraphicsLinearLayout : public QGraphicsLinearLayout { public: - PythonQtShell_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsLinearLayout(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = nullptr):QGraphicsLinearLayout(orientation, parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsLinearLayout(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = nullptr):QGraphicsLinearLayout(orientation, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsLinearLayout(); + ~PythonQtShell_QGraphicsLinearLayout() override; -virtual int count() const; -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void invalidate(); -virtual QGraphicsLayoutItem* itemAt(int index) const; -virtual void removeAt(int index); -virtual void setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); -virtual void widgetEvent(QEvent* e); +int count() const override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void invalidate() override; +QGraphicsLayoutItem* itemAt(int index) const override; +void removeAt(int index) override; +void setGeometry(const QRectF& rect) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +void updateGeometry() override; +void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLinearLayout : public QGraphicsLinearLayout @@ -2020,7 +2041,7 @@ class PythonQtWrapper_QGraphicsLinearLayout : public QObject public slots: QGraphicsLinearLayout* new_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = nullptr); QGraphicsLinearLayout* new_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = nullptr); -void delete_QGraphicsLinearLayout(QGraphicsLinearLayout* obj) { delete obj; } +void delete_QGraphicsLinearLayout(QGraphicsLinearLayout* obj) { delete obj; } void addItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToCPP item); void addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch = 1); Qt::Alignment alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const; @@ -2035,13 +2056,11 @@ void delete_QGraphicsLinearLayout(QGraphicsLinearLayout* obj) { delete obj; } void py_q_removeAt(QGraphicsLinearLayout* theWrappedObject, int index){ (((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->py_q_removeAt(index));} void removeItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToPython item); void setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment); - void setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& rect); void py_q_setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->py_q_setGeometry(rect));} void setItemSpacing(QGraphicsLinearLayout* theWrappedObject, int index, qreal spacing); void setOrientation(QGraphicsLinearLayout* theWrappedObject, Qt::Orientation orientation); void setSpacing(QGraphicsLinearLayout* theWrappedObject, qreal spacing); void setStretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, int stretch); - QSizeF sizeHint(QGraphicsLinearLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; QSizeF py_q_sizeHint(QGraphicsLinearLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->py_q_sizeHint(which, constraint));} qreal spacing(QGraphicsLinearLayout* theWrappedObject) const; int stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const; @@ -2054,54 +2073,54 @@ void delete_QGraphicsLinearLayout(QGraphicsLinearLayout* obj) { delete obj; } class PythonQtShell_QGraphicsObject : public QGraphicsObject { public: - PythonQtShell_QGraphicsObject(QGraphicsItem* parent = nullptr):QGraphicsObject(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsObject(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual void childEvent(QChildEvent* event); -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual bool event(QEvent* ev); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual void timerEvent(QTimerEvent* event); -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsObject(QGraphicsItem* parent = nullptr):QGraphicsObject(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsObject() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void childEvent(QChildEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* ev) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsObject : public QGraphicsObject @@ -2116,7 +2135,7 @@ class PythonQtWrapper_QGraphicsObject : public QObject public: public slots: QGraphicsObject* new_QGraphicsObject(QGraphicsItem* parent = nullptr); -void delete_QGraphicsObject(QGraphicsObject* obj) { delete obj; } +void delete_QGraphicsObject(QGraphicsObject* obj) { delete obj; } bool py_q_event(QGraphicsObject* theWrappedObject, QEvent* ev){ return (((PythonQtPublicPromoter_QGraphicsObject*)theWrappedObject)->py_q_event(ev));} void grabGesture(QGraphicsObject* theWrappedObject, Qt::GestureType type, Qt::GestureFlags flags = Qt::GestureFlags()); void ungrabGesture(QGraphicsObject* theWrappedObject, Qt::GestureType type); @@ -2130,22 +2149,22 @@ void delete_QGraphicsObject(QGraphicsObject* obj) { delete obj; } class PythonQtShell_QGraphicsOpacityEffect : public QGraphicsOpacityEffect { public: - PythonQtShell_QGraphicsOpacityEffect(QObject* parent = nullptr):QGraphicsOpacityEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsOpacityEffect(QObject* parent = nullptr):QGraphicsOpacityEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsOpacityEffect(); + ~PythonQtShell_QGraphicsOpacityEffect() override; -virtual QRectF boundingRectFor(const QRectF& sourceRect) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual void draw(QPainter* painter); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); -virtual void timerEvent(QTimerEvent* event); +QRectF boundingRectFor(const QRectF& sourceRect) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void draw(QPainter* painter) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void sourceChanged(QGraphicsEffect::ChangeFlags flags) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsOpacityEffect : public QGraphicsOpacityEffect @@ -2159,7 +2178,7 @@ class PythonQtWrapper_QGraphicsOpacityEffect : public QObject public: public slots: QGraphicsOpacityEffect* new_QGraphicsOpacityEffect(QObject* parent = nullptr); -void delete_QGraphicsOpacityEffect(QGraphicsOpacityEffect* obj) { delete obj; } +void delete_QGraphicsOpacityEffect(QGraphicsOpacityEffect* obj) { delete obj; } void py_q_draw(QGraphicsOpacityEffect* theWrappedObject, QPainter* painter){ (((PythonQtPublicPromoter_QGraphicsOpacityEffect*)theWrappedObject)->py_q_draw(painter));} qreal opacity(QGraphicsOpacityEffect* theWrappedObject) const; QBrush opacityMask(QGraphicsOpacityEffect* theWrappedObject) const; @@ -2172,23 +2191,48 @@ void delete_QGraphicsOpacityEffect(QGraphicsOpacityEffect* obj) { delete obj; } class PythonQtShell_QGraphicsPathItem : public QGraphicsPathItem { public: - PythonQtShell_QGraphicsPathItem(QGraphicsItem* parent = nullptr):QGraphicsPathItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = nullptr):QGraphicsPathItem(path, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsPathItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsPathItem(QGraphicsItem* parent = nullptr):QGraphicsPathItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = nullptr):QGraphicsPathItem(path, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsPathItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsPathItem : public QGraphicsPathItem @@ -2217,26 +2261,18 @@ enum enum_1{ public slots: QGraphicsPathItem* new_QGraphicsPathItem(QGraphicsItem* parent = nullptr); QGraphicsPathItem* new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = nullptr); -void delete_QGraphicsPathItem(QGraphicsPathItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsPathItem* theWrappedObject) const; +void delete_QGraphicsPathItem(QGraphicsPathItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const; bool py_q_contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsPathItem* theWrappedObject, const QVariant& variant) const; QVariant py_q_extension(QGraphicsPathItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_extension(variant));} bool py_q_isObscuredBy(QGraphicsPathItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_isObscuredBy(item));} QPainterPath py_q_opaqueArea(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_paint(painter, option, widget));} QPainterPath path(QGraphicsPathItem* theWrappedObject) const; - void setExtension(QGraphicsPathItem* theWrappedObject, int extension, const QVariant& variant); void py_q_setExtension(QGraphicsPathItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_setExtension(extension, variant));} void setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path); - QPainterPath shape(QGraphicsPathItem* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsPathItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsPathItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_supportsExtension(extension));} - int type(QGraphicsPathItem* theWrappedObject) const; int py_q_type(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_type());} }; 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..5f48a6f5e 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 @@ -73,6 +73,7 @@ #include #include #include +#include #include #include #include @@ -94,9 +95,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -116,20 +117,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -149,20 +150,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -182,20 +183,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -215,20 +216,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -248,9 +249,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -270,9 +271,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -292,9 +293,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -314,9 +315,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -336,9 +337,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -358,20 +359,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -391,9 +392,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -413,9 +414,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -435,9 +436,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -457,9 +458,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -479,9 +480,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -501,9 +502,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -523,20 +524,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -556,20 +557,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&item0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -589,20 +590,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { returnValue = value1; @@ -625,9 +626,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -647,9 +648,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -669,9 +670,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -691,9 +692,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -713,9 +714,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -735,9 +736,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -757,20 +758,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -790,9 +791,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -812,20 +813,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -845,20 +846,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -878,9 +879,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -900,20 +901,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -933,20 +934,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&extension0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -966,20 +967,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -999,9 +1000,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1070,6 +1071,28 @@ PythonQtShell_QGraphicsPolygonItem::~PythonQtShell_QGraphicsPolygonItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QGraphicsPolygonItem::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPolygonItem::advance(phase0); +} QRectF PythonQtShell_QGraphicsPolygonItem::boundingRect() const { if (_wrapper) { @@ -1080,20 +1103,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1103,30 +1126,30 @@ if (_wrapper) { } return QGraphicsPolygonItem::boundingRect(); } -bool PythonQtShell_QGraphicsPolygonItem::contains(const QPointF& point0) const +bool PythonQtShell_QGraphicsPolygonItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1134,32 +1157,32 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::contains(point0); + return QGraphicsPolygonItem::collidesWithItem(other0, mode1); } -QVariant PythonQtShell_QGraphicsPolygonItem::extension(const QVariant& variant0) const +bool PythonQtShell_QGraphicsPolygonItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1167,32 +1190,32 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::extension(variant0); + return QGraphicsPolygonItem::collidesWithPath(path0, mode1); } -bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* item0) const +bool PythonQtShell_QGraphicsPolygonItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&item0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1200,54 +1223,43 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::isObscuredBy(item0); + return QGraphicsPolygonItem::contains(point0); } -QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const +void PythonQtShell_QGraphicsPolygonItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPolygonItem::opaqueArea(); + QGraphicsPolygonItem::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsPolygonItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1255,21 +1267,21 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::paint(painter0, option1, widget2); + QGraphicsPolygonItem::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsPolygonItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1277,98 +1289,76 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::setExtension(extension0, variant1); + QGraphicsPolygonItem::dragLeaveEvent(event0); } -QPainterPath PythonQtShell_QGraphicsPolygonItem::shape() const +void PythonQtShell_QGraphicsPolygonItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPolygonItem::shape(); + QGraphicsPolygonItem::dragMoveEvent(event0); } -bool PythonQtShell_QGraphicsPolygonItem::supportsExtension(QGraphicsItem::Extension extension0) const +void PythonQtShell_QGraphicsPolygonItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPolygonItem::supportsExtension(extension0); + QGraphicsPolygonItem::dropEvent(event0); } -int PythonQtShell_QGraphicsPolygonItem::type() const +QVariant PythonQtShell_QGraphicsPolygonItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1376,128 +1366,43 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::type(); -} -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPolygonItem(parent); } - -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPolygonItem(polygon, parent); } - -QRectF PythonQtWrapper_QGraphicsPolygonItem::boundingRect(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsPolygonItem::contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsPolygonItem::extension(QGraphicsPolygonItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_extension(variant)); -} - -Qt::FillRule PythonQtWrapper_QGraphicsPolygonItem::fillRule(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->fillRule()); -} - -void PythonQtWrapper_QGraphicsPolygonItem::paint(QGraphicsPolygonItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -QPolygonF PythonQtWrapper_QGraphicsPolygonItem::polygon(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->polygon()); -} - -void PythonQtWrapper_QGraphicsPolygonItem::setExtension(QGraphicsPolygonItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsPolygonItem::setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule) -{ - ( theWrappedObject->setFillRule(rule)); -} - -void PythonQtWrapper_QGraphicsPolygonItem::setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon) -{ - ( theWrappedObject->setPolygon(polygon)); -} - -QPainterPath PythonQtWrapper_QGraphicsPolygonItem::shape(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsPolygonItem::supportsExtension(QGraphicsPolygonItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -int PythonQtWrapper_QGraphicsPolygonItem::type(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsProxyWidget::~PythonQtShell_QGraphicsProxyWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsPolygonItem::extension(variant0); } -QRectF PythonQtShell_QGraphicsProxyWidget::boundingRect() const +void PythonQtShell_QGraphicsPolygonItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::boundingRect(); + QGraphicsPolygonItem::focusInEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1505,21 +1410,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::changeEvent(event0); + QGraphicsPolygonItem::focusOutEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::childEvent(QChildEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1527,21 +1432,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::childEvent(event0); + QGraphicsPolygonItem::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1549,21 +1454,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::closeEvent(event0); + QGraphicsPolygonItem::hoverLeaveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1571,21 +1476,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::contextMenuEvent(event0); + QGraphicsPolygonItem::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::customEvent(QEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1593,120 +1498,65 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::customEvent(event0); + QGraphicsPolygonItem::inputMethodEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +QVariant PythonQtShell_QGraphicsPolygonItem::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::dragEnterEvent(event0); + return QGraphicsPolygonItem::inputMethodQuery(query0); } -void PythonQtShell_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsProxyWidget::dragLeaveEvent(event0); -} -void PythonQtShell_QGraphicsProxyWidget::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsProxyWidget::dragMoveEvent(event0); -} -void PythonQtShell_QGraphicsProxyWidget::dropEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsProxyWidget::dropEvent(event0); -} -bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1714,54 +1564,57 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::event(event0); + return QGraphicsPolygonItem::isObscuredBy(item0); } -bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object0, QEvent* event1) +QVariant PythonQtShell_QGraphicsPolygonItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::eventFilter(object0, event1); + return QGraphicsPolygonItem::itemChange(change0, value1); } -void PythonQtShell_QGraphicsProxyWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1769,54 +1622,43 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::focusInEvent(event0); + QGraphicsPolygonItem::keyPressEvent(event0); } -bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next0) +void PythonQtShell_QGraphicsPolygonItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::focusNextPrevChild(next0); + QGraphicsPolygonItem::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1824,21 +1666,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::focusOutEvent(event0); + QGraphicsPolygonItem::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +void PythonQtShell_QGraphicsPolygonItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1846,21 +1688,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::getContentsMargins(left0, top1, right2, bottom3); + QGraphicsPolygonItem::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("grabKeyboardEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1868,21 +1710,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::grabKeyboardEvent(event0); + QGraphicsPolygonItem::mousePressEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("grabMouseEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1890,43 +1732,54 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::grabMouseEvent(event0); + QGraphicsPolygonItem::mouseReleaseEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) +QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::hideEvent(event0); + return QGraphicsPolygonItem::opaqueArea(); } -void PythonQtShell_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverEnterEvent"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1934,65 +1787,87 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::hoverEnterEvent(event0); + QGraphicsPolygonItem::paint(painter0, option1, widget2); } -void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +bool PythonQtShell_QGraphicsPolygonItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::hoverLeaveEvent(event0); + return QGraphicsPolygonItem::sceneEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +bool PythonQtShell_QGraphicsPolygonItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::hoverMoveEvent(event0); + return QGraphicsPolygonItem::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option0) const +void PythonQtShell_QGraphicsPolygonItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initStyleOption"); + static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&option0}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2000,54 +1875,65 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::initStyleOption(option0); + QGraphicsPolygonItem::setExtension(extension0, variant1); } -void PythonQtShell_QGraphicsProxyWidget::inputMethodEvent(QInputMethodEvent* event0) +QPainterPath PythonQtShell_QGraphicsPolygonItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::inputMethodEvent(event0); + return QGraphicsPolygonItem::shape(); } -QVariant PythonQtShell_QGraphicsProxyWidget::inputMethodQuery(Qt::InputMethodQuery query0) const +bool PythonQtShell_QGraphicsPolygonItem::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2055,57 +1941,54 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::inputMethodQuery(query0); + return QGraphicsPolygonItem::supportsExtension(extension0); } -QVariant PythonQtShell_QGraphicsProxyWidget::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +int PythonQtShell_QGraphicsPolygonItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::itemChange(change0, value1); + return QGraphicsPolygonItem::type(); } -void PythonQtShell_QGraphicsProxyWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2113,21 +1996,55 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::keyPressEvent(event0); + QGraphicsPolygonItem::wheelEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::keyReleaseEvent(QKeyEvent* event0) +QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsPolygonItem(parent); } + +QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsPolygonItem(polygon, parent); } + +Qt::FillRule PythonQtWrapper_QGraphicsPolygonItem::fillRule(QGraphicsPolygonItem* theWrappedObject) const +{ + return ( theWrappedObject->fillRule()); +} + +QPolygonF PythonQtWrapper_QGraphicsPolygonItem::polygon(QGraphicsPolygonItem* theWrappedObject) const +{ + return ( theWrappedObject->polygon()); +} + +void PythonQtWrapper_QGraphicsPolygonItem::setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule) +{ + ( theWrappedObject->setFillRule(rule)); +} + +void PythonQtWrapper_QGraphicsPolygonItem::setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon) +{ + ( theWrappedObject->setPolygon(polygon)); +} + + + +PythonQtShell_QGraphicsProxyWidget::~PythonQtShell_QGraphicsProxyWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsProxyWidget::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2135,43 +2052,54 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::keyReleaseEvent(event0); + QGraphicsProxyWidget::advance(phase0); } -void PythonQtShell_QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +QRectF PythonQtShell_QGraphicsProxyWidget::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::mouseDoubleClickEvent(event0); + return QGraphicsProxyWidget::boundingRect(); } -void PythonQtShell_QGraphicsProxyWidget::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2179,21 +2107,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::mouseMoveEvent(event0); + QGraphicsProxyWidget::changeEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2201,21 +2129,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::mousePressEvent(event0); + QGraphicsProxyWidget::childEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2223,87 +2151,120 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::mouseReleaseEvent(event0); + QGraphicsProxyWidget::closeEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* event0) +bool PythonQtShell_QGraphicsProxyWidget::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::moveEvent(event0); + return QGraphicsProxyWidget::collidesWithItem(other0, mode1); } -void PythonQtShell_QGraphicsProxyWidget::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +bool PythonQtShell_QGraphicsProxyWidget::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::paint(painter0, option1, widget2); + return QGraphicsProxyWidget::collidesWithPath(path0, mode1); } -void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +bool PythonQtShell_QGraphicsProxyWidget::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintWindowFrame"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::paintWindowFrame(painter0, option1, widget2); + return QGraphicsProxyWidget::contains(point0); } -void PythonQtShell_QGraphicsProxyWidget::polishEvent() +void PythonQtShell_QGraphicsProxyWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("polishEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2311,54 +2272,43 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::polishEvent(); + QGraphicsProxyWidget::contextMenuEvent(event0); } -QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& propertyName0, const QVariant& value1) +void PythonQtShell_QGraphicsProxyWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("propertyChange"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&propertyName0, (void*)&value1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::propertyChange(propertyName0, value1); + QGraphicsProxyWidget::customEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2366,54 +2316,43 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::resizeEvent(event0); + QGraphicsProxyWidget::dragEnterEvent(event0); } -bool PythonQtShell_QGraphicsProxyWidget::sceneEvent(QEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::sceneEvent(event0); + QGraphicsProxyWidget::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect0) +void PythonQtShell_QGraphicsProxyWidget::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2421,87 +2360,87 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::setGeometry(rect0); + QGraphicsProxyWidget::dragMoveEvent(event0); } -QPainterPath PythonQtShell_QGraphicsProxyWidget::shape() const +void PythonQtShell_QGraphicsProxyWidget::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::shape(); + QGraphicsProxyWidget::dropEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) +bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::showEvent(event0); + return QGraphicsProxyWidget::event(event0); } -QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSizeF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2509,21 +2448,54 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::sizeHint(which0, constraint1); + return QGraphicsProxyWidget::eventFilter(object0, event1); } -void PythonQtShell_QGraphicsProxyWidget::timerEvent(QTimerEvent* event0) +QVariant PythonQtShell_QGraphicsProxyWidget::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsProxyWidget::extension(variant0); +} +void PythonQtShell_QGraphicsProxyWidget::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2531,32 +2503,32 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::timerEvent(event0); + QGraphicsProxyWidget::focusInEvent(event0); } -int PythonQtShell_QGraphicsProxyWidget::type() const +bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2564,21 +2536,21 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::type(); + return QGraphicsProxyWidget::focusNextPrevChild(next0); } -void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2586,21 +2558,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::ungrabKeyboardEvent(event0); + QGraphicsProxyWidget::focusOutEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ungrabMouseEvent"); + static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2608,21 +2580,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::ungrabMouseEvent(event0); + QGraphicsProxyWidget::getContentsMargins(left0, top1, right2, bottom3); } -void PythonQtShell_QGraphicsProxyWidget::updateGeometry() +void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); + static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2630,21 +2602,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::updateGeometry(); + QGraphicsProxyWidget::grabKeyboardEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2652,348 +2624,164 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::wheelEvent(event0); + QGraphicsProxyWidget::grabMouseEvent(event0); } -bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) +void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("windowFrameEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::windowFrameEvent(e0); + QGraphicsProxyWidget::hideEvent(event0); } -Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt(const QPointF& pos0) const +void PythonQtShell_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("windowFrameSectionAt"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::WindowFrameSection returnValue; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); - } else { - returnValue = *((Qt::WindowFrameSection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::windowFrameSectionAt(pos0); -} -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::new_QGraphicsProxyWidget(PythonQtNewOwnerOfThis parent, Qt::WindowFlags wFlags) -{ -return new PythonQtShell_QGraphicsProxyWidget(parent, wFlags); } - -const QMetaObject* PythonQtShell_QGraphicsProxyWidget::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsProxyWidget::staticMetaObject); - } else { - return &QGraphicsProxyWidget::staticMetaObject; - } -} -int PythonQtShell_QGraphicsProxyWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsProxyWidget::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QGraphicsProxyWidget::contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_contextMenuEvent(event)); -} - -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child) -{ - return ( theWrappedObject->createProxyForChildWidget(child)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragLeaveEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dropEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_hoverEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsProxyWidget::inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_inputMethodQuery(query)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::setWidget(QGraphicsProxyWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget) -{ - ( theWrappedObject->setWidget(widget)); -} - -QRectF PythonQtWrapper_QGraphicsProxyWidget::subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const -{ - return ( theWrappedObject->subWidgetRect(widget)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_wheelEvent(event)); -} - -QWidget* PythonQtWrapper_QGraphicsProxyWidget::widget(QGraphicsProxyWidget* theWrappedObject) const -{ - return ( theWrappedObject->widget()); -} - - - -PythonQtShell_QGraphicsRectItem::~PythonQtShell_QGraphicsRectItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsProxyWidget::hoverEnterEvent(event0); } -QRectF PythonQtShell_QGraphicsRectItem::boundingRect() const +void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::boundingRect(); + QGraphicsProxyWidget::hoverLeaveEvent(event0); } -bool PythonQtShell_QGraphicsRectItem::contains(const QPointF& point0) const +void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::contains(point0); + QGraphicsProxyWidget::hoverMoveEvent(event0); } -QVariant PythonQtShell_QGraphicsRectItem::extension(const QVariant& variant0) const +void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const char* argumentList[] ={"" , "QStyleOption*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::extension(variant0); + QGraphicsProxyWidget::initStyleOption(option0); } -bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item0) const +void PythonQtShell_QGraphicsProxyWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::isObscuredBy(item0); + QGraphicsProxyWidget::inputMethodEvent(event0); } -QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const +QVariant PythonQtShell_QGraphicsProxyWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3001,237 +2789,156 @@ if (_wrapper) { } } } - return QGraphicsRectItem::opaqueArea(); + return QGraphicsProxyWidget::inputMethodQuery(query0); } -void PythonQtShell_QGraphicsRectItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +bool PythonQtShell_QGraphicsProxyWidget::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsRectItem::paint(painter0, option1, widget2); + return QGraphicsProxyWidget::isObscuredBy(item0); } -void PythonQtShell_QGraphicsRectItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +QVariant PythonQtShell_QGraphicsProxyWidget::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsRectItem::setExtension(extension0, variant1); + return QGraphicsProxyWidget::itemChange(change0, value1); } -QPainterPath PythonQtShell_QGraphicsRectItem::shape() const +void PythonQtShell_QGraphicsProxyWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::shape(); + QGraphicsProxyWidget::keyPressEvent(event0); } -bool PythonQtShell_QGraphicsRectItem::supportsExtension(QGraphicsItem::Extension extension0) const +void PythonQtShell_QGraphicsProxyWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::supportsExtension(extension0); + QGraphicsProxyWidget::keyReleaseEvent(event0); } -int PythonQtShell_QGraphicsRectItem::type() const +void PythonQtShell_QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::type(); -} -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsRectItem(parent); } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsRectItem(rect, parent); } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsRectItem(x, y, w, h, parent); } - -QRectF PythonQtWrapper_QGraphicsRectItem::boundingRect(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsRectItem::contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsRectItem::extension(QGraphicsRectItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_extension(variant)); -} - -void PythonQtWrapper_QGraphicsRectItem::paint(QGraphicsRectItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -QRectF PythonQtWrapper_QGraphicsRectItem::rect(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -void PythonQtWrapper_QGraphicsRectItem::setExtension(QGraphicsRectItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setRect(rect)); -} - -void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setRect(x, y, w, h)); -} - -QPainterPath PythonQtWrapper_QGraphicsRectItem::shape(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsRectItem::supportsExtension(QGraphicsRectItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -int PythonQtWrapper_QGraphicsRectItem::type(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsRotation::~PythonQtShell_QGraphicsRotation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsProxyWidget::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const +void PythonQtShell_QGraphicsProxyWidget::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("applyTo"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMatrix4x4*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&matrix0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3239,21 +2946,21 @@ if (_wrapper) { } } } - QGraphicsRotation::applyTo(matrix0); + QGraphicsProxyWidget::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsRotation::childEvent(QChildEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3261,21 +2968,21 @@ if (_wrapper) { } } } - QGraphicsRotation::childEvent(event0); + QGraphicsProxyWidget::mousePressEvent(event0); } -void PythonQtShell_QGraphicsRotation::customEvent(QEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3283,65 +2990,54 @@ if (_wrapper) { } } } - QGraphicsRotation::customEvent(event0); + QGraphicsProxyWidget::mouseReleaseEvent(event0); } -bool PythonQtShell_QGraphicsRotation::event(QEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRotation::event(event0); + QGraphicsProxyWidget::moveEvent(event0); } -bool PythonQtShell_QGraphicsRotation::eventFilter(QObject* watched0, QEvent* event1) +QPainterPath PythonQtShell_QGraphicsProxyWidget::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3349,21 +3045,21 @@ if (_wrapper) { } } } - return QGraphicsRotation::eventFilter(watched0, event1); + return QGraphicsProxyWidget::opaqueArea(); } -void PythonQtShell_QGraphicsRotation::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3371,79 +3067,43 @@ if (_wrapper) { } } } - QGraphicsRotation::timerEvent(event0); + QGraphicsProxyWidget::paint(painter0, option1, widget2); } -QGraphicsRotation* PythonQtWrapper_QGraphicsRotation::new_QGraphicsRotation(QObject* parent) -{ -return new PythonQtShell_QGraphicsRotation(parent); } - -const QMetaObject* PythonQtShell_QGraphicsRotation::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsRotation::staticMetaObject); - } else { - return &QGraphicsRotation::staticMetaObject; - } -} -int PythonQtShell_QGraphicsRotation::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsRotation::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -qreal PythonQtWrapper_QGraphicsRotation::angle(QGraphicsRotation* theWrappedObject) const -{ - return ( theWrappedObject->angle()); -} - -QVector3D PythonQtWrapper_QGraphicsRotation::axis(QGraphicsRotation* theWrappedObject) const -{ - return ( theWrappedObject->axis()); -} - -QVector3D PythonQtWrapper_QGraphicsRotation::origin(QGraphicsRotation* theWrappedObject) const -{ - return ( theWrappedObject->origin()); -} - -void PythonQtWrapper_QGraphicsRotation::setAngle(QGraphicsRotation* theWrappedObject, qreal arg__1) -{ - ( theWrappedObject->setAngle(arg__1)); -} - -void PythonQtWrapper_QGraphicsRotation::setAxis(QGraphicsRotation* theWrappedObject, Qt::Axis axis) -{ - ( theWrappedObject->setAxis(axis)); -} - -void PythonQtWrapper_QGraphicsRotation::setAxis(QGraphicsRotation* theWrappedObject, const QVector3D& axis) -{ - ( theWrappedObject->setAxis(axis)); -} - -void PythonQtWrapper_QGraphicsRotation::setOrigin(QGraphicsRotation* theWrappedObject, const QVector3D& point) +void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - ( theWrappedObject->setOrigin(point)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintWindowFrame"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsScale::~PythonQtShell_QGraphicsScale() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsProxyWidget::paintWindowFrame(painter0, option1, widget2); } -void PythonQtShell_QGraphicsScale::applyTo(QMatrix4x4* matrix0) const +void PythonQtShell_QGraphicsProxyWidget::polishEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("applyTo"); + static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMatrix4x4*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&matrix0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3451,43 +3111,54 @@ if (_wrapper) { } } } - QGraphicsScale::applyTo(matrix0); + QGraphicsProxyWidget::polishEvent(); } -void PythonQtShell_QGraphicsScale::childEvent(QChildEvent* event0) +QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& propertyName0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&propertyName0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScale::childEvent(event0); + return QGraphicsProxyWidget::propertyChange(propertyName0, value1); } -void PythonQtShell_QGraphicsScale::customEvent(QEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3495,32 +3166,32 @@ if (_wrapper) { } } } - QGraphicsScale::customEvent(event0); + QGraphicsProxyWidget::resizeEvent(event0); } -bool PythonQtShell_QGraphicsScale::event(QEvent* event0) +bool PythonQtShell_QGraphicsProxyWidget::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3528,32 +3199,32 @@ if (_wrapper) { } } } - return QGraphicsScale::event(event0); + return QGraphicsProxyWidget::sceneEvent(event0); } -bool PythonQtShell_QGraphicsScale::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QGraphicsProxyWidget::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3561,21 +3232,21 @@ if (_wrapper) { } } } - return QGraphicsScale::eventFilter(watched0, event1); + return QGraphicsProxyWidget::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsScale::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3583,84 +3254,21 @@ if (_wrapper) { } } } - QGraphicsScale::timerEvent(event0); -} -QGraphicsScale* PythonQtWrapper_QGraphicsScale::new_QGraphicsScale(QObject* parent) -{ -return new PythonQtShell_QGraphicsScale(parent); } - -const QMetaObject* PythonQtShell_QGraphicsScale::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsScale::staticMetaObject); - } else { - return &QGraphicsScale::staticMetaObject; - } -} -int PythonQtShell_QGraphicsScale::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsScale::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QVector3D PythonQtWrapper_QGraphicsScale::origin(QGraphicsScale* theWrappedObject) const -{ - return ( theWrappedObject->origin()); -} - -void PythonQtWrapper_QGraphicsScale::setOrigin(QGraphicsScale* theWrappedObject, const QVector3D& point) -{ - ( theWrappedObject->setOrigin(point)); -} - -void PythonQtWrapper_QGraphicsScale::setXScale(QGraphicsScale* theWrappedObject, qreal arg__1) -{ - ( theWrappedObject->setXScale(arg__1)); -} - -void PythonQtWrapper_QGraphicsScale::setYScale(QGraphicsScale* theWrappedObject, qreal arg__1) -{ - ( theWrappedObject->setYScale(arg__1)); -} - -void PythonQtWrapper_QGraphicsScale::setZScale(QGraphicsScale* theWrappedObject, qreal arg__1) -{ - ( theWrappedObject->setZScale(arg__1)); -} - -qreal PythonQtWrapper_QGraphicsScale::xScale(QGraphicsScale* theWrappedObject) const -{ - return ( theWrappedObject->xScale()); -} - -qreal PythonQtWrapper_QGraphicsScale::yScale(QGraphicsScale* theWrappedObject) const -{ - return ( theWrappedObject->yScale()); -} - -qreal PythonQtWrapper_QGraphicsScale::zScale(QGraphicsScale* theWrappedObject) const -{ - return ( theWrappedObject->zScale()); -} - - - -PythonQtShell_QGraphicsScene::~PythonQtShell_QGraphicsScene() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsProxyWidget::setExtension(extension0, variant1); } -void PythonQtShell_QGraphicsScene::childEvent(QChildEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3668,43 +3276,54 @@ if (_wrapper) { } } } - QGraphicsScene::childEvent(event0); + QGraphicsProxyWidget::setGeometry(rect0); } -void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +QPainterPath PythonQtShell_QGraphicsProxyWidget::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::contextMenuEvent(event0); + return QGraphicsProxyWidget::shape(); } -void PythonQtShell_QGraphicsScene::customEvent(QEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3712,65 +3331,87 @@ if (_wrapper) { } } } - QGraphicsScene::customEvent(event0); + QGraphicsProxyWidget::showEvent(event0); } -void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::dragEnterEvent(event0); + return QGraphicsProxyWidget::sizeHint(which0, constraint1); } -void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +bool PythonQtShell_QGraphicsProxyWidget::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::dragLeaveEvent(event0); + return QGraphicsProxyWidget::supportsExtension(extension0); } -void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3778,21 +3419,54 @@ if (_wrapper) { } } } - QGraphicsScene::dragMoveEvent(event0); + QGraphicsProxyWidget::timerEvent(event0); } -void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter0, const QRectF& rect1) +int PythonQtShell_QGraphicsProxyWidget::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawBackground"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsProxyWidget::type(); +} +void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3800,21 +3474,21 @@ if (_wrapper) { } } } - QGraphicsScene::drawBackground(painter0, rect1); + QGraphicsProxyWidget::ungrabKeyboardEvent(event0); } -void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter0, const QRectF& rect1) +void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawForeground"); + static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3822,21 +3496,21 @@ if (_wrapper) { } } } - QGraphicsScene::drawForeground(painter0, rect1); + QGraphicsProxyWidget::ungrabMouseEvent(event0); } -void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3, QWidget* widget4) +void PythonQtShell_QGraphicsProxyWidget::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawItems"); + static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "int" , "QGraphicsItem**" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - void* args[6] = {NULL, (void*)&painter0, (void*)&numItems1, (void*)&items2, (void*)&options3, (void*)&widget4}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3844,21 +3518,21 @@ if (_wrapper) { } } } - QGraphicsScene::drawItems(painter0, numItems1, items2, options3, widget4); + QGraphicsProxyWidget::updateGeometry(); } -void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3866,32 +3540,32 @@ if (_wrapper) { } } } - QGraphicsScene::dropEvent(event0); + QGraphicsProxyWidget::wheelEvent(event0); } -bool PythonQtShell_QGraphicsScene::event(QEvent* event0) +bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3899,32 +3573,32 @@ if (_wrapper) { } } } - return QGraphicsScene::event(event0); + return QGraphicsProxyWidget::windowFrameEvent(e0); } -bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched0, QEvent* event1) +Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt(const QPointF& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::WindowFrameSection returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((Qt::WindowFrameSection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3932,21 +3606,64 @@ if (_wrapper) { } } } - return QGraphicsScene::eventFilter(watched0, event1); + return QGraphicsProxyWidget::windowFrameSectionAt(pos0); } -void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event0) +QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::new_QGraphicsProxyWidget(PythonQtNewOwnerOfThis parent, Qt::WindowFlags wFlags) +{ +return new PythonQtShell_QGraphicsProxyWidget(parent, wFlags); } + +const QMetaObject* PythonQtShell_QGraphicsProxyWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsProxyWidget::staticMetaObject); + } else { + return &QGraphicsProxyWidget::staticMetaObject; + } +} +int PythonQtShell_QGraphicsProxyWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsProxyWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child) +{ + return ( theWrappedObject->createProxyForChildWidget(child)); +} + +void PythonQtWrapper_QGraphicsProxyWidget::setWidget(QGraphicsProxyWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +QRectF PythonQtWrapper_QGraphicsProxyWidget::subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const +{ + return ( theWrappedObject->subWidgetRect(widget)); +} + +QWidget* PythonQtWrapper_QGraphicsProxyWidget::widget(QGraphicsProxyWidget* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + + + +PythonQtShell_QGraphicsRectItem::~PythonQtShell_QGraphicsRectItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsRectItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3954,98 +3671,131 @@ if (_wrapper) { } } } - QGraphicsScene::focusInEvent(event0); + QGraphicsRectItem::advance(phase0); } -void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event0) +QRectF PythonQtShell_QGraphicsRectItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::focusOutEvent(event0); + return QGraphicsRectItem::boundingRect(); } -void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event0) +bool PythonQtShell_QGraphicsRectItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("helpEvent"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHelpEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::helpEvent(event0); + return QGraphicsRectItem::collidesWithItem(other0, mode1); } -void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event0) +bool PythonQtShell_QGraphicsRectItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::inputMethodEvent(event0); + return QGraphicsRectItem::collidesWithPath(path0, mode1); } -QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery query0) const +bool PythonQtShell_QGraphicsRectItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4053,21 +3803,21 @@ if (_wrapper) { } } } - return QGraphicsScene::inputMethodQuery(query0); + return QGraphicsRectItem::contains(point0); } -void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsRectItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4075,21 +3825,21 @@ if (_wrapper) { } } } - QGraphicsScene::keyPressEvent(event0); + QGraphicsRectItem::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsRectItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4097,21 +3847,21 @@ if (_wrapper) { } } } - QGraphicsScene::keyReleaseEvent(event0); + QGraphicsRectItem::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsRectItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4119,21 +3869,21 @@ if (_wrapper) { } } } - QGraphicsScene::mouseDoubleClickEvent(event0); + QGraphicsRectItem::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsRectItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4141,21 +3891,21 @@ if (_wrapper) { } } } - QGraphicsScene::mouseMoveEvent(event0); + QGraphicsRectItem::dragMoveEvent(event0); } -void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsRectItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4163,43 +3913,54 @@ if (_wrapper) { } } } - QGraphicsScene::mousePressEvent(event0); + QGraphicsRectItem::dropEvent(event0); } -void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +QVariant PythonQtShell_QGraphicsRectItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::mouseReleaseEvent(event0); + return QGraphicsRectItem::extension(variant0); } -void PythonQtShell_QGraphicsScene::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsRectItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4207,21 +3968,21 @@ if (_wrapper) { } } } - QGraphicsScene::timerEvent(event0); + QGraphicsRectItem::focusInEvent(event0); } -void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsRectItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4229,625 +3990,2256 @@ if (_wrapper) { } } } - QGraphicsScene::wheelEvent(event0); + QGraphicsRectItem::focusOutEvent(event0); } -QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(QObject* parent) -{ -return new PythonQtShell_QGraphicsScene(parent); } - -QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(const QRectF& sceneRect, QObject* parent) -{ -return new PythonQtShell_QGraphicsScene(sceneRect, parent); } - -QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent) -{ -return new PythonQtShell_QGraphicsScene(x, y, width, height, parent); } - -const QMetaObject* PythonQtShell_QGraphicsScene::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsScene::staticMetaObject); - } else { - return &QGraphicsScene::staticMetaObject; +void PythonQtShell_QGraphicsRectItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } } } -int PythonQtShell_QGraphicsScene::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsScene::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QGraphicsItem* PythonQtWrapper_QGraphicsScene::activePanel(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->activePanel()); + QGraphicsRectItem::hoverEnterEvent(event0); } - -QGraphicsWidget* PythonQtWrapper_QGraphicsScene::activeWindow(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsRectItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->activeWindow()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) -{ - return ( theWrappedObject->addEllipse(rect, pen, brush)); + QGraphicsRectItem::hoverLeaveEvent(event0); } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen, const QBrush& brush) +void PythonQtShell_QGraphicsRectItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->addEllipse(x, y, w, h, pen, brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::addItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP item) -{ - ( theWrappedObject->addItem(item)); + QGraphicsRectItem::hoverMoveEvent(event0); } - -QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, const QLineF& line, const QPen& pen) +void PythonQtShell_QGraphicsRectItem::inputMethodEvent(QInputMethodEvent* event0) { - return ( theWrappedObject->addLine(line, pen)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2, const QPen& pen) -{ - return ( theWrappedObject->addLine(x1, y1, x2, y2, pen)); + QGraphicsRectItem::inputMethodEvent(event0); } - -QGraphicsPathItem* PythonQtWrapper_QGraphicsScene::addPath(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QPen& pen, const QBrush& brush) +QVariant PythonQtShell_QGraphicsRectItem::inputMethodQuery(Qt::InputMethodQuery query0) const { - return ( theWrappedObject->addPath(path, pen, brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QGraphicsPixmapItem* PythonQtWrapper_QGraphicsScene::addPixmap(QGraphicsScene* theWrappedObject, const QPixmap& pixmap) -{ - return ( theWrappedObject->addPixmap(pixmap)); + return QGraphicsRectItem::inputMethodQuery(query0); } - -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsScene::addPolygon(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, const QPen& pen, const QBrush& brush) +bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item0) const { - return ( theWrappedObject->addPolygon(polygon, pen, brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isObscuredBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) -{ - return ( theWrappedObject->addRect(rect, pen, brush)); + return QGraphicsRectItem::isObscuredBy(item0); } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen, const QBrush& brush) +QVariant PythonQtShell_QGraphicsRectItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { - return ( theWrappedObject->addRect(x, y, w, h, pen, brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsScene::addSimpleText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) -{ - return ( theWrappedObject->addSimpleText(text, font)); + return QGraphicsRectItem::itemChange(change0, value1); } - -QGraphicsTextItem* PythonQtWrapper_QGraphicsScene::addText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) +void PythonQtShell_QGraphicsRectItem::keyPressEvent(QKeyEvent* event0) { - return ( theWrappedObject->addText(text, font)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsScene::addWidget(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP widget, Qt::WindowFlags wFlags) -{ - return ( theWrappedObject->addWidget(widget, wFlags)); + QGraphicsRectItem::keyPressEvent(event0); } - -QBrush PythonQtWrapper_QGraphicsScene::backgroundBrush(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsRectItem::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->backgroundBrush()); -} - -int PythonQtWrapper_QGraphicsScene::bspTreeDepth(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->bspTreeDepth()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::clearFocus(QGraphicsScene* theWrappedObject) -{ - ( theWrappedObject->clearFocus()); + QGraphicsRectItem::keyReleaseEvent(event0); } - -QList PythonQtWrapper_QGraphicsScene::collidingItems(QGraphicsScene* theWrappedObject, const QGraphicsItem* item, Qt::ItemSelectionMode mode) const +void PythonQtShell_QGraphicsRectItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->collidingItems(item, mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::contextMenuEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_contextMenuEvent(event)); + QGraphicsRectItem::mouseDoubleClickEvent(event0); } - -QGraphicsItemGroup* PythonQtWrapper_QGraphicsScene::createItemGroup(QGraphicsScene* theWrappedObject, const QList& items) +void PythonQtShell_QGraphicsRectItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->createItemGroup(items)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::destroyItemGroup(QGraphicsScene* theWrappedObject, QGraphicsItemGroup* group) -{ - ( theWrappedObject->destroyItemGroup(group)); + QGraphicsRectItem::mouseMoveEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::dragEnterEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtShell_QGraphicsRectItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragEnterEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::dragLeaveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragLeaveEvent(event)); + QGraphicsRectItem::mousePressEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::dragMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtShell_QGraphicsRectItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragMoveEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::drawBackground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawBackground(painter, rect)); + QGraphicsRectItem::mouseReleaseEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::drawForeground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) +QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawForeground(painter, rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("opaqueArea"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::drawItems(QGraphicsScene* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options, widget)); + return QGraphicsRectItem::opaqueArea(); } - -void PythonQtWrapper_QGraphicsScene::dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtShell_QGraphicsRectItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dropEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::focusInEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusInEvent(event)); + QGraphicsRectItem::paint(painter0, option1, widget2); } - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::focusItem(QGraphicsScene* theWrappedObject) const +bool PythonQtShell_QGraphicsRectItem::sceneEvent(QEvent* event0) { - return ( theWrappedObject->focusItem()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::focusOutEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusOutEvent(event)); + return QGraphicsRectItem::sceneEvent(event0); } - -QFont PythonQtWrapper_QGraphicsScene::font(QGraphicsScene* theWrappedObject) const +bool PythonQtShell_QGraphicsRectItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { - return ( theWrappedObject->font()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QBrush PythonQtWrapper_QGraphicsScene::foregroundBrush(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->foregroundBrush()); + return QGraphicsRectItem::sceneEventFilter(watched0, event1); } - -bool PythonQtWrapper_QGraphicsScene::hasFocus(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsRectItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { - return ( theWrappedObject->hasFocus()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QGraphicsScene::height(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->height()); + QGraphicsRectItem::setExtension(extension0, variant1); } - -void PythonQtWrapper_QGraphicsScene::helpEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneHelpEvent* event) +QPainterPath PythonQtShell_QGraphicsRectItem::shape() const { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_helpEvent(event)); -} - -void PythonQtWrapper_QGraphicsScene::inputMethodEvent(QGraphicsScene* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsScene::inputMethodQuery(QGraphicsScene* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( theWrappedObject->inputMethodQuery(query)); -} - -void PythonQtWrapper_QGraphicsScene::invalidate(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, QGraphicsScene::SceneLayers layers) -{ - ( theWrappedObject->invalidate(x, y, w, h, layers)); -} - -bool PythonQtWrapper_QGraphicsScene::isActive(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsScene::isSortCacheEnabled(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->isSortCacheEnabled()); + return QGraphicsRectItem::shape(); } - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, const QPointF& pos, const QTransform& deviceTransform) const +bool PythonQtShell_QGraphicsRectItem::supportsExtension(QGraphicsItem::Extension extension0) const { - return ( theWrappedObject->itemAt(pos, deviceTransform)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y, const QTransform& deviceTransform) const -{ - return ( theWrappedObject->itemAt(x, y, deviceTransform)); + return QGraphicsRectItem::supportsExtension(extension0); } - -QGraphicsScene::ItemIndexMethod PythonQtWrapper_QGraphicsScene::itemIndexMethod(QGraphicsScene* theWrappedObject) const +int PythonQtShell_QGraphicsRectItem::type() const { - return ( theWrappedObject->itemIndexMethod()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, Qt::SortOrder order) const -{ - return ( theWrappedObject->items(order)); + return QGraphicsRectItem::type(); } - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +void PythonQtShell_QGraphicsRectItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { - return ( theWrappedObject->items(path, mode, order, deviceTransform)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPointF& pos, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const -{ - return ( theWrappedObject->items(pos, mode, order, deviceTransform)); + QGraphicsRectItem::wheelEvent(event0); } +QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsRectItem(parent); } -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const -{ - return ( theWrappedObject->items(polygon, mode, order, deviceTransform)); -} +QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsRectItem(rect, parent); } -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QRectF& rect, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const -{ - return ( theWrappedObject->items(rect, mode, order, deviceTransform)); -} +QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsRectItem(x, y, w, h, parent); } -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +QRectF PythonQtWrapper_QGraphicsRectItem::rect(QGraphicsRectItem* theWrappedObject) const { - return ( theWrappedObject->items(x, y, w, h, mode, order, deviceTransform)); + return ( theWrappedObject->rect()); } -QRectF PythonQtWrapper_QGraphicsScene::itemsBoundingRect(QGraphicsScene* theWrappedObject) const +void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect) { - return ( theWrappedObject->itemsBoundingRect()); + ( theWrappedObject->setRect(rect)); } -void PythonQtWrapper_QGraphicsScene::keyPressEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) +void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyPressEvent(event)); + ( theWrappedObject->setRect(x, y, w, h)); } -void PythonQtWrapper_QGraphicsScene::keyReleaseEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} -qreal PythonQtWrapper_QGraphicsScene::minimumRenderSize(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->minimumRenderSize()); -} -void PythonQtWrapper_QGraphicsScene::mouseDoubleClickEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); +PythonQtShell_QGraphicsRotation::~PythonQtShell_QGraphicsRotation() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::mouseGrabberItem(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const { - return ( theWrappedObject->mouseGrabberItem()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("applyTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMatrix4x4*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&matrix0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::mouseMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseMoveEvent(event)); + QGraphicsRotation::applyTo(matrix0); } - -void PythonQtWrapper_QGraphicsScene::mousePressEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +void PythonQtShell_QGraphicsRotation::childEvent(QChildEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mousePressEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::mouseReleaseEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseReleaseEvent(event)); + QGraphicsRotation::childEvent(event0); } - -QPalette PythonQtWrapper_QGraphicsScene::palette(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsRotation::customEvent(QEvent* event0) { - return ( theWrappedObject->palette()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::removeItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToPython item) -{ - ( theWrappedObject->removeItem(item)); + QGraphicsRotation::customEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::render(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& target, const QRectF& source, Qt::AspectRatioMode aspectRatioMode) +bool PythonQtShell_QGraphicsRotation::event(QEvent* event0) { - ( theWrappedObject->render(painter, target, source, aspectRatioMode)); -} - -QRectF PythonQtWrapper_QGraphicsScene::sceneRect(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->sceneRect()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QList PythonQtWrapper_QGraphicsScene::selectedItems(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->selectedItems()); + return QGraphicsRotation::event(event0); } - -QPainterPath PythonQtWrapper_QGraphicsScene::selectionArea(QGraphicsScene* theWrappedObject) const +bool PythonQtShell_QGraphicsRotation::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->selectionArea()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsScene::sendEvent(QGraphicsScene* theWrappedObject, QGraphicsItem* item, QEvent* event) -{ - return ( theWrappedObject->sendEvent(item, event)); + return QGraphicsRotation::eventFilter(watched0, event1); } - -void PythonQtWrapper_QGraphicsScene::setActivePanel(QGraphicsScene* theWrappedObject, QGraphicsItem* item) +void PythonQtShell_QGraphicsRotation::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setActivePanel(item)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setActiveWindow(QGraphicsScene* theWrappedObject, QGraphicsWidget* widget) -{ - ( theWrappedObject->setActiveWindow(widget)); + QGraphicsRotation::timerEvent(event0); } +QGraphicsRotation* PythonQtWrapper_QGraphicsRotation::new_QGraphicsRotation(QObject* parent) +{ +return new PythonQtShell_QGraphicsRotation(parent); } -void PythonQtWrapper_QGraphicsScene::setBackgroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBackgroundBrush(brush)); +const QMetaObject* PythonQtShell_QGraphicsRotation::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsRotation::staticMetaObject); + } else { + return &QGraphicsRotation::staticMetaObject; + } } - -void PythonQtWrapper_QGraphicsScene::setBspTreeDepth(QGraphicsScene* theWrappedObject, int depth) -{ - ( theWrappedObject->setBspTreeDepth(depth)); +int PythonQtShell_QGraphicsRotation::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsRotation::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -void PythonQtWrapper_QGraphicsScene::setFocus(QGraphicsScene* theWrappedObject, Qt::FocusReason focusReason) +qreal PythonQtWrapper_QGraphicsRotation::angle(QGraphicsRotation* theWrappedObject) const { - ( theWrappedObject->setFocus(focusReason)); + return ( theWrappedObject->angle()); } -void PythonQtWrapper_QGraphicsScene::setFocusItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item, Qt::FocusReason focusReason) +QVector3D PythonQtWrapper_QGraphicsRotation::axis(QGraphicsRotation* theWrappedObject) const { - ( theWrappedObject->setFocusItem(item, focusReason)); + return ( theWrappedObject->axis()); } -void PythonQtWrapper_QGraphicsScene::setFont(QGraphicsScene* theWrappedObject, const QFont& font) +QVector3D PythonQtWrapper_QGraphicsRotation::origin(QGraphicsRotation* theWrappedObject) const { - ( theWrappedObject->setFont(font)); + return ( theWrappedObject->origin()); } -void PythonQtWrapper_QGraphicsScene::setForegroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) +void PythonQtWrapper_QGraphicsRotation::setAngle(QGraphicsRotation* theWrappedObject, qreal arg__1) { - ( theWrappedObject->setForegroundBrush(brush)); + ( theWrappedObject->setAngle(arg__1)); } -void PythonQtWrapper_QGraphicsScene::setItemIndexMethod(QGraphicsScene* theWrappedObject, QGraphicsScene::ItemIndexMethod method) +void PythonQtWrapper_QGraphicsRotation::setAxis(QGraphicsRotation* theWrappedObject, Qt::Axis axis) { - ( theWrappedObject->setItemIndexMethod(method)); + ( theWrappedObject->setAxis(axis)); } -void PythonQtWrapper_QGraphicsScene::setMinimumRenderSize(QGraphicsScene* theWrappedObject, qreal minSize) +void PythonQtWrapper_QGraphicsRotation::setAxis(QGraphicsRotation* theWrappedObject, const QVector3D& axis) { - ( theWrappedObject->setMinimumRenderSize(minSize)); + ( theWrappedObject->setAxis(axis)); } -void PythonQtWrapper_QGraphicsScene::setPalette(QGraphicsScene* theWrappedObject, const QPalette& palette) +void PythonQtWrapper_QGraphicsRotation::setOrigin(QGraphicsRotation* theWrappedObject, const QVector3D& point) { - ( theWrappedObject->setPalette(palette)); + ( theWrappedObject->setOrigin(point)); } -void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setSceneRect(rect)); -} -void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setSceneRect(x, y, w, h)); -} -void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, const QTransform& deviceTransform) -{ - ( theWrappedObject->setSelectionArea(path, mode, deviceTransform)); +PythonQtShell_QGraphicsScale::~PythonQtShell_QGraphicsScale() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionOperation selectionOperation, Qt::ItemSelectionMode mode, const QTransform& deviceTransform) +void PythonQtShell_QGraphicsScale::applyTo(QMatrix4x4* matrix0) const { - ( theWrappedObject->setSelectionArea(path, selectionOperation, mode, deviceTransform)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("applyTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMatrix4x4*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&matrix0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QTransform& deviceTransform) -{ - ( theWrappedObject->setSelectionArea(path, deviceTransform)); + QGraphicsScale::applyTo(matrix0); } - -void PythonQtWrapper_QGraphicsScene::setSortCacheEnabled(QGraphicsScene* theWrappedObject, bool enabled) +void PythonQtShell_QGraphicsScale::childEvent(QChildEvent* event0) { - ( theWrappedObject->setSortCacheEnabled(enabled)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setStickyFocus(QGraphicsScene* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setStickyFocus(enabled)); + QGraphicsScale::childEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::setStyle(QGraphicsScene* theWrappedObject, QStyle* style) +void PythonQtShell_QGraphicsScale::customEvent(QEvent* event0) { - ( theWrappedObject->setStyle(style)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsScene::stickyFocus(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->stickyFocus()); + QGraphicsScale::customEvent(event0); } - -QStyle* PythonQtWrapper_QGraphicsScene::style(QGraphicsScene* theWrappedObject) const +bool PythonQtShell_QGraphicsScale::event(QEvent* event0) { - return ( theWrappedObject->style()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::update(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->update(x, y, w, h)); + return QGraphicsScale::event(event0); } - -QList PythonQtWrapper_QGraphicsScene::views(QGraphicsScene* theWrappedObject) const +bool PythonQtShell_QGraphicsScale::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->views()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::wheelEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneWheelEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_wheelEvent(event)); + return QGraphicsScale::eventFilter(watched0, event1); } - -qreal PythonQtWrapper_QGraphicsScene::width(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsScale::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->width()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -QGraphicsSceneContextMenuEvent* PythonQtWrapper_QGraphicsSceneContextMenuEvent::new_QGraphicsSceneContextMenuEvent(QEvent::Type type) + QGraphicsScale::timerEvent(event0); +} +QGraphicsScale* PythonQtWrapper_QGraphicsScale::new_QGraphicsScale(QObject* parent) { -return new QGraphicsSceneContextMenuEvent(type); } +return new PythonQtShell_QGraphicsScale(parent); } -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneContextMenuEvent::modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); +const QMetaObject* PythonQtShell_QGraphicsScale::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsScale::staticMetaObject); + } else { + return &QGraphicsScale::staticMetaObject; + } } - -QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::pos(QGraphicsSceneContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); +int PythonQtShell_QGraphicsScale::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsScale::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -QGraphicsSceneContextMenuEvent::Reason PythonQtWrapper_QGraphicsSceneContextMenuEvent::reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const +QVector3D PythonQtWrapper_QGraphicsScale::origin(QGraphicsScale* theWrappedObject) const { - return ( theWrappedObject->reason()); + return ( theWrappedObject->origin()); } -QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::scenePos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +void PythonQtWrapper_QGraphicsScale::setOrigin(QGraphicsScale* theWrappedObject, const QVector3D& point) { - return ( theWrappedObject->scenePos()); + ( theWrappedObject->setOrigin(point)); } -QPoint PythonQtWrapper_QGraphicsSceneContextMenuEvent::screenPos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +void PythonQtWrapper_QGraphicsScale::setXScale(QGraphicsScale* theWrappedObject, qreal arg__1) { - return ( theWrappedObject->screenPos()); + ( theWrappedObject->setXScale(arg__1)); } -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setModifiers(QGraphicsSceneContextMenuEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +void PythonQtWrapper_QGraphicsScale::setYScale(QGraphicsScale* theWrappedObject, qreal arg__1) { - ( theWrappedObject->setModifiers(modifiers)); + ( theWrappedObject->setYScale(arg__1)); } -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) +void PythonQtWrapper_QGraphicsScale::setZScale(QGraphicsScale* theWrappedObject, qreal arg__1) { - ( theWrappedObject->setPos(pos)); + ( theWrappedObject->setZScale(arg__1)); } -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setReason(QGraphicsSceneContextMenuEvent* theWrappedObject, QGraphicsSceneContextMenuEvent::Reason reason) +qreal PythonQtWrapper_QGraphicsScale::xScale(QGraphicsScale* theWrappedObject) const { - ( theWrappedObject->setReason(reason)); + return ( theWrappedObject->xScale()); } -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScenePos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) +qreal PythonQtWrapper_QGraphicsScale::yScale(QGraphicsScale* theWrappedObject) const { - ( theWrappedObject->setScenePos(pos)); + return ( theWrappedObject->yScale()); } -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScreenPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPoint& pos) +qreal PythonQtWrapper_QGraphicsScale::zScale(QGraphicsScale* theWrappedObject) const { - ( theWrappedObject->setScreenPos(pos)); + return ( theWrappedObject->zScale()); } -QGraphicsSceneDragDropEvent* PythonQtWrapper_QGraphicsSceneDragDropEvent::new_QGraphicsSceneDragDropEvent(QEvent::Type type) -{ -return new QGraphicsSceneDragDropEvent(type); } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::acceptProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) -{ - ( theWrappedObject->acceptProposedAction()); -} - -Qt::MouseButtons PythonQtWrapper_QGraphicsSceneDragDropEvent::buttons(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->buttons()); -} - -Qt::DropAction PythonQtWrapper_QGraphicsSceneDragDropEvent::dropAction(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->dropAction()); +PythonQtShell_QGraphicsScene::~PythonQtShell_QGraphicsScene() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -const QMimeData* PythonQtWrapper_QGraphicsSceneDragDropEvent::mimeData(QGraphicsSceneDragDropEvent* theWrappedObject) const +void PythonQtShell_QGraphicsScene::childEvent(QChildEvent* event0) { - return ( theWrappedObject->mimeData()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneDragDropEvent::modifiers(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); + QGraphicsScene::childEvent(event0); } - -QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::pos(QGraphicsSceneDragDropEvent* theWrappedObject) const +void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { - return ( theWrappedObject->pos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::DropActions PythonQtWrapper_QGraphicsSceneDragDropEvent::possibleActions(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->possibleActions()); + QGraphicsScene::contextMenuEvent(event0); } - -Qt::DropAction PythonQtWrapper_QGraphicsSceneDragDropEvent::proposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) const +void PythonQtShell_QGraphicsScene::customEvent(QEvent* event0) { - return ( theWrappedObject->proposedAction()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::scenePos(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); + QGraphicsScene::customEvent(event0); } - -QPoint PythonQtWrapper_QGraphicsSceneDragDropEvent::screenPos(QGraphicsSceneDragDropEvent* theWrappedObject) const +void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->screenPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setButtons(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::MouseButtons buttons) -{ - ( theWrappedObject->setButtons(buttons)); + QGraphicsScene::dragEnterEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setDropAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action) +void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setDropAction(action)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setModifiers(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) -{ - ( theWrappedObject->setModifiers(modifiers)); + QGraphicsScene::dragLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos) +void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setPos(pos)); -} - +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter0, const QRectF& rect1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawBackground"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&painter0, (void*)&rect1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::drawBackground(painter0, rect1); +} +void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter0, const QRectF& rect1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawForeground"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&painter0, (void*)&rect1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::drawForeground(painter0, rect1); +} +void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3, QWidget* widget4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawItems"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "int" , "QGraphicsItem**" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + void* args[6] = {nullptr, (void*)&painter0, (void*)&numItems1, (void*)&items2, (void*)&options3, (void*)&widget4}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::drawItems(painter0, numItems1, items2, options3, widget4); +} +void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::dropEvent(event0); +} +bool PythonQtShell_QGraphicsScene::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsScene::event(event0); +} +bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsScene::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::focusInEvent(event0); +} +void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("helpEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHelpEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::helpEvent(event0); +} +void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsScene::inputMethodQuery(query0); +} +void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::mouseReleaseEvent(event0); +} +void PythonQtShell_QGraphicsScene::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::timerEvent(event0); +} +void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::wheelEvent(event0); +} +QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(QObject* parent) +{ +return new PythonQtShell_QGraphicsScene(parent); } + +QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(const QRectF& sceneRect, QObject* parent) +{ +return new PythonQtShell_QGraphicsScene(sceneRect, parent); } + +QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent) +{ +return new PythonQtShell_QGraphicsScene(x, y, width, height, parent); } + +const QMetaObject* PythonQtShell_QGraphicsScene::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsScene::staticMetaObject); + } else { + return &QGraphicsScene::staticMetaObject; + } +} +int PythonQtShell_QGraphicsScene::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsScene::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QGraphicsItem* PythonQtWrapper_QGraphicsScene::activePanel(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->activePanel()); +} + +QGraphicsWidget* PythonQtWrapper_QGraphicsScene::activeWindow(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->activeWindow()); +} + +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) +{ + return ( theWrappedObject->addEllipse(rect, pen, brush)); +} + +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen, const QBrush& brush) +{ + return ( theWrappedObject->addEllipse(x, y, w, h, pen, brush)); +} + +void PythonQtWrapper_QGraphicsScene::addItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->addItem(item)); +} + +QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, const QLineF& line, const QPen& pen) +{ + return ( theWrappedObject->addLine(line, pen)); +} + +QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2, const QPen& pen) +{ + return ( theWrappedObject->addLine(x1, y1, x2, y2, pen)); +} + +QGraphicsPathItem* PythonQtWrapper_QGraphicsScene::addPath(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QPen& pen, const QBrush& brush) +{ + return ( theWrappedObject->addPath(path, pen, brush)); +} + +QGraphicsPixmapItem* PythonQtWrapper_QGraphicsScene::addPixmap(QGraphicsScene* theWrappedObject, const QPixmap& pixmap) +{ + return ( theWrappedObject->addPixmap(pixmap)); +} + +QGraphicsPolygonItem* PythonQtWrapper_QGraphicsScene::addPolygon(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, const QPen& pen, const QBrush& brush) +{ + return ( theWrappedObject->addPolygon(polygon, pen, brush)); +} + +QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) +{ + return ( theWrappedObject->addRect(rect, pen, brush)); +} + +QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen, const QBrush& brush) +{ + return ( theWrappedObject->addRect(x, y, w, h, pen, brush)); +} + +QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsScene::addSimpleText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) +{ + return ( theWrappedObject->addSimpleText(text, font)); +} + +QGraphicsTextItem* PythonQtWrapper_QGraphicsScene::addText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) +{ + return ( theWrappedObject->addText(text, font)); +} + +QGraphicsProxyWidget* PythonQtWrapper_QGraphicsScene::addWidget(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP widget, Qt::WindowFlags wFlags) +{ + return ( theWrappedObject->addWidget(widget, wFlags)); +} + +QBrush PythonQtWrapper_QGraphicsScene::backgroundBrush(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->backgroundBrush()); +} + +int PythonQtWrapper_QGraphicsScene::bspTreeDepth(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->bspTreeDepth()); +} + +void PythonQtWrapper_QGraphicsScene::clearFocus(QGraphicsScene* theWrappedObject) +{ + ( theWrappedObject->clearFocus()); +} + +QList PythonQtWrapper_QGraphicsScene::collidingItems(QGraphicsScene* theWrappedObject, const QGraphicsItem* item, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->collidingItems(item, mode)); +} + +void PythonQtWrapper_QGraphicsScene::contextMenuEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneContextMenuEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_contextMenuEvent(event)); +} + +QGraphicsItemGroup* PythonQtWrapper_QGraphicsScene::createItemGroup(QGraphicsScene* theWrappedObject, const QList& items) +{ + return ( theWrappedObject->createItemGroup(items)); +} + +void PythonQtWrapper_QGraphicsScene::destroyItemGroup(QGraphicsScene* theWrappedObject, QGraphicsItemGroup* group) +{ + ( theWrappedObject->destroyItemGroup(group)); +} + +void PythonQtWrapper_QGraphicsScene::dragEnterEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragEnterEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::dragLeaveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragLeaveEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::dragMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragMoveEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::drawBackground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawBackground(painter, rect)); +} + +void PythonQtWrapper_QGraphicsScene::drawForeground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawForeground(painter, rect)); +} + +void PythonQtWrapper_QGraphicsScene::drawItems(QGraphicsScene* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options, widget)); +} + +void PythonQtWrapper_QGraphicsScene::dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dropEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::focusInEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusInEvent(event)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsScene::focusItem(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->focusItem()); +} + +void PythonQtWrapper_QGraphicsScene::focusOutEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusOutEvent(event)); +} + +QFont PythonQtWrapper_QGraphicsScene::font(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QBrush PythonQtWrapper_QGraphicsScene::foregroundBrush(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->foregroundBrush()); +} + +bool PythonQtWrapper_QGraphicsScene::hasFocus(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->hasFocus()); +} + +qreal PythonQtWrapper_QGraphicsScene::height(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +void PythonQtWrapper_QGraphicsScene::helpEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneHelpEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_helpEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::inputMethodEvent(QGraphicsScene* theWrappedObject, QInputMethodEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_inputMethodEvent(event)); +} + +QVariant PythonQtWrapper_QGraphicsScene::inputMethodQuery(QGraphicsScene* theWrappedObject, Qt::InputMethodQuery query) const +{ + return ( theWrappedObject->inputMethodQuery(query)); +} + +void PythonQtWrapper_QGraphicsScene::invalidate(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, QGraphicsScene::SceneLayers layers) +{ + ( theWrappedObject->invalidate(x, y, w, h, layers)); +} + +bool PythonQtWrapper_QGraphicsScene::isActive(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QGraphicsScene::isSortCacheEnabled(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->isSortCacheEnabled()); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, const QPointF& pos, const QTransform& deviceTransform) const +{ + return ( theWrappedObject->itemAt(pos, deviceTransform)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y, const QTransform& deviceTransform) const +{ + return ( theWrappedObject->itemAt(x, y, deviceTransform)); +} + +QGraphicsScene::ItemIndexMethod PythonQtWrapper_QGraphicsScene::itemIndexMethod(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->itemIndexMethod()); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, Qt::SortOrder order) const +{ + return ( theWrappedObject->items(order)); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +{ + return ( theWrappedObject->items(path, mode, order, deviceTransform)); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPointF& pos, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +{ + return ( theWrappedObject->items(pos, mode, order, deviceTransform)); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +{ + return ( theWrappedObject->items(polygon, mode, order, deviceTransform)); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QRectF& rect, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +{ + return ( theWrappedObject->items(rect, mode, order, deviceTransform)); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +{ + return ( theWrappedObject->items(x, y, w, h, mode, order, deviceTransform)); +} + +QRectF PythonQtWrapper_QGraphicsScene::itemsBoundingRect(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->itemsBoundingRect()); +} + +void PythonQtWrapper_QGraphicsScene::keyPressEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyPressEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::keyReleaseEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyReleaseEvent(event)); +} + +qreal PythonQtWrapper_QGraphicsScene::minimumRenderSize(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->minimumRenderSize()); +} + +void PythonQtWrapper_QGraphicsScene::mouseDoubleClickEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsScene::mouseGrabberItem(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->mouseGrabberItem()); +} + +void PythonQtWrapper_QGraphicsScene::mouseMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseMoveEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::mousePressEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mousePressEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::mouseReleaseEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseReleaseEvent(event)); +} + +QPalette PythonQtWrapper_QGraphicsScene::palette(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->palette()); +} + +void PythonQtWrapper_QGraphicsScene::removeItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToPython item) +{ + ( theWrappedObject->removeItem(item)); +} + +void PythonQtWrapper_QGraphicsScene::render(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& target, const QRectF& source, Qt::AspectRatioMode aspectRatioMode) +{ + ( theWrappedObject->render(painter, target, source, aspectRatioMode)); +} + +QRectF PythonQtWrapper_QGraphicsScene::sceneRect(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->sceneRect()); +} + +QList PythonQtWrapper_QGraphicsScene::selectedItems(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->selectedItems()); +} + +QPainterPath PythonQtWrapper_QGraphicsScene::selectionArea(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->selectionArea()); +} + +bool PythonQtWrapper_QGraphicsScene::sendEvent(QGraphicsScene* theWrappedObject, QGraphicsItem* item, QEvent* event) +{ + return ( theWrappedObject->sendEvent(item, event)); +} + +void PythonQtWrapper_QGraphicsScene::setActivePanel(QGraphicsScene* theWrappedObject, QGraphicsItem* item) +{ + ( theWrappedObject->setActivePanel(item)); +} + +void PythonQtWrapper_QGraphicsScene::setActiveWindow(QGraphicsScene* theWrappedObject, QGraphicsWidget* widget) +{ + ( theWrappedObject->setActiveWindow(widget)); +} + +void PythonQtWrapper_QGraphicsScene::setBackgroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBackgroundBrush(brush)); +} + +void PythonQtWrapper_QGraphicsScene::setBspTreeDepth(QGraphicsScene* theWrappedObject, int depth) +{ + ( theWrappedObject->setBspTreeDepth(depth)); +} + +void PythonQtWrapper_QGraphicsScene::setFocus(QGraphicsScene* theWrappedObject, Qt::FocusReason focusReason) +{ + ( theWrappedObject->setFocus(focusReason)); +} + +void PythonQtWrapper_QGraphicsScene::setFocusItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item, Qt::FocusReason focusReason) +{ + ( theWrappedObject->setFocusItem(item, focusReason)); +} + +void PythonQtWrapper_QGraphicsScene::setFont(QGraphicsScene* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QGraphicsScene::setForegroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setForegroundBrush(brush)); +} + +void PythonQtWrapper_QGraphicsScene::setItemIndexMethod(QGraphicsScene* theWrappedObject, QGraphicsScene::ItemIndexMethod method) +{ + ( theWrappedObject->setItemIndexMethod(method)); +} + +void PythonQtWrapper_QGraphicsScene::setMinimumRenderSize(QGraphicsScene* theWrappedObject, qreal minSize) +{ + ( theWrappedObject->setMinimumRenderSize(minSize)); +} + +void PythonQtWrapper_QGraphicsScene::setPalette(QGraphicsScene* theWrappedObject, const QPalette& palette) +{ + ( theWrappedObject->setPalette(palette)); +} + +void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setSceneRect(rect)); +} + +void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setSceneRect(x, y, w, h)); +} + +void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, const QTransform& deviceTransform) +{ + ( theWrappedObject->setSelectionArea(path, mode, deviceTransform)); +} + +void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionOperation selectionOperation, Qt::ItemSelectionMode mode, const QTransform& deviceTransform) +{ + ( theWrappedObject->setSelectionArea(path, selectionOperation, mode, deviceTransform)); +} + +void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QTransform& deviceTransform) +{ + ( theWrappedObject->setSelectionArea(path, deviceTransform)); +} + +void PythonQtWrapper_QGraphicsScene::setSortCacheEnabled(QGraphicsScene* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setSortCacheEnabled(enabled)); +} + +void PythonQtWrapper_QGraphicsScene::setStickyFocus(QGraphicsScene* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setStickyFocus(enabled)); +} + +void PythonQtWrapper_QGraphicsScene::setStyle(QGraphicsScene* theWrappedObject, QStyle* style) +{ + ( theWrappedObject->setStyle(style)); +} + +bool PythonQtWrapper_QGraphicsScene::stickyFocus(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->stickyFocus()); +} + +QStyle* PythonQtWrapper_QGraphicsScene::style(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +void PythonQtWrapper_QGraphicsScene::update(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->update(x, y, w, h)); +} + +QList PythonQtWrapper_QGraphicsScene::views(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->views()); +} + +void PythonQtWrapper_QGraphicsScene::wheelEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneWheelEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_wheelEvent(event)); +} + +qreal PythonQtWrapper_QGraphicsScene::width(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + + + +QGraphicsSceneContextMenuEvent* PythonQtWrapper_QGraphicsSceneContextMenuEvent::new_QGraphicsSceneContextMenuEvent(QEvent::Type type) +{ +return new QGraphicsSceneContextMenuEvent(type); } + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneContextMenuEvent::modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); +} + +QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::pos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +QGraphicsSceneContextMenuEvent::Reason PythonQtWrapper_QGraphicsSceneContextMenuEvent::reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->reason()); +} + +QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::scenePos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneContextMenuEvent::screenPos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); +} + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setModifiers(QGraphicsSceneContextMenuEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +{ + ( theWrappedObject->setModifiers(modifiers)); +} + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setReason(QGraphicsSceneContextMenuEvent* theWrappedObject, QGraphicsSceneContextMenuEvent::Reason reason) +{ + ( theWrappedObject->setReason(reason)); +} + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScenePos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setScenePos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScreenPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScreenPos(pos)); +} + + + +QGraphicsSceneDragDropEvent* PythonQtWrapper_QGraphicsSceneDragDropEvent::new_QGraphicsSceneDragDropEvent(QEvent::Type type) +{ +return new QGraphicsSceneDragDropEvent(type); } + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::acceptProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) +{ + ( theWrappedObject->acceptProposedAction()); +} + +Qt::MouseButtons PythonQtWrapper_QGraphicsSceneDragDropEvent::buttons(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +Qt::DropAction PythonQtWrapper_QGraphicsSceneDragDropEvent::dropAction(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->dropAction()); +} + +const QMimeData* PythonQtWrapper_QGraphicsSceneDragDropEvent::mimeData(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->mimeData()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneDragDropEvent::modifiers(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); +} + +QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::pos(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +Qt::DropActions PythonQtWrapper_QGraphicsSceneDragDropEvent::possibleActions(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->possibleActions()); +} + +Qt::DropAction PythonQtWrapper_QGraphicsSceneDragDropEvent::proposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->proposedAction()); +} + +QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::scenePos(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneDragDropEvent::screenPos(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); +} + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setButtons(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::MouseButtons buttons) +{ + ( theWrappedObject->setButtons(buttons)); +} + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setDropAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action) +{ + ( theWrappedObject->setDropAction(action)); +} + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setModifiers(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +{ + ( theWrappedObject->setModifiers(modifiers)); +} + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); +} + void PythonQtWrapper_QGraphicsSceneDragDropEvent::setPossibleActions(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropActions actions) { ( theWrappedObject->setPossibleActions(actions)); @@ -5096,266 +6488,863 @@ void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastScenePos(QGraphicsSceneMou { ( theWrappedObject->setLastScenePos(pos)); } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setLastScreenPos(pos)); + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setLastScreenPos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setModifiers(QGraphicsSceneMouseEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +{ + ( theWrappedObject->setModifiers(modifiers)); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setScenePos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScreenPos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setSource(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseEventSource source) +{ + ( theWrappedObject->setSource(source)); +} + +Qt::MouseEventSource PythonQtWrapper_QGraphicsSceneMouseEvent::source(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + + + +QGraphicsSceneMoveEvent* PythonQtWrapper_QGraphicsSceneMoveEvent::new_QGraphicsSceneMoveEvent() +{ +return new QGraphicsSceneMoveEvent(); } + +QPointF PythonQtWrapper_QGraphicsSceneMoveEvent::newPos(QGraphicsSceneMoveEvent* theWrappedObject) const +{ + return ( theWrappedObject->newPos()); +} + +QPointF PythonQtWrapper_QGraphicsSceneMoveEvent::oldPos(QGraphicsSceneMoveEvent* theWrappedObject) const +{ + return ( theWrappedObject->oldPos()); +} + +void PythonQtWrapper_QGraphicsSceneMoveEvent::setNewPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setNewPos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneMoveEvent::setOldPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setOldPos(pos)); +} + + + +QGraphicsSceneResizeEvent* PythonQtWrapper_QGraphicsSceneResizeEvent::new_QGraphicsSceneResizeEvent() +{ +return new QGraphicsSceneResizeEvent(); } + +QSizeF PythonQtWrapper_QGraphicsSceneResizeEvent::newSize(QGraphicsSceneResizeEvent* theWrappedObject) const +{ + return ( theWrappedObject->newSize()); +} + +QSizeF PythonQtWrapper_QGraphicsSceneResizeEvent::oldSize(QGraphicsSceneResizeEvent* theWrappedObject) const +{ + return ( theWrappedObject->oldSize()); +} + +void PythonQtWrapper_QGraphicsSceneResizeEvent::setNewSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setNewSize(size)); +} + +void PythonQtWrapper_QGraphicsSceneResizeEvent::setOldSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setOldSize(size)); +} + + + +QGraphicsSceneWheelEvent* PythonQtWrapper_QGraphicsSceneWheelEvent::new_QGraphicsSceneWheelEvent(QEvent::Type type) +{ +return new QGraphicsSceneWheelEvent(type); } + +Qt::MouseButtons PythonQtWrapper_QGraphicsSceneWheelEvent::buttons(QGraphicsSceneWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +int PythonQtWrapper_QGraphicsSceneWheelEvent::delta(QGraphicsSceneWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->delta()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneWheelEvent::modifiers(QGraphicsSceneWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); +} + +Qt::Orientation PythonQtWrapper_QGraphicsSceneWheelEvent::orientation(QGraphicsSceneWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +QPointF PythonQtWrapper_QGraphicsSceneWheelEvent::pos(QGraphicsSceneWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +QPointF PythonQtWrapper_QGraphicsSceneWheelEvent::scenePos(QGraphicsSceneWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneWheelEvent::screenPos(QGraphicsSceneWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); +} + +void PythonQtWrapper_QGraphicsSceneWheelEvent::setButtons(QGraphicsSceneWheelEvent* theWrappedObject, Qt::MouseButtons buttons) +{ + ( theWrappedObject->setButtons(buttons)); +} + +void PythonQtWrapper_QGraphicsSceneWheelEvent::setDelta(QGraphicsSceneWheelEvent* theWrappedObject, int delta) +{ + ( theWrappedObject->setDelta(delta)); +} + +void PythonQtWrapper_QGraphicsSceneWheelEvent::setModifiers(QGraphicsSceneWheelEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +{ + ( theWrappedObject->setModifiers(modifiers)); +} + +void PythonQtWrapper_QGraphicsSceneWheelEvent::setOrientation(QGraphicsSceneWheelEvent* theWrappedObject, Qt::Orientation orientation) +{ + ( theWrappedObject->setOrientation(orientation)); +} + +void PythonQtWrapper_QGraphicsSceneWheelEvent::setPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneWheelEvent::setScenePos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setScenePos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneWheelEvent::setScreenPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScreenPos(pos)); +} + + + +PythonQtShell_QGraphicsSimpleTextItem::~PythonQtShell_QGraphicsSimpleTextItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsSimpleTextItem::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSimpleTextItem::advance(phase0); +} +QRectF PythonQtShell_QGraphicsSimpleTextItem::boundingRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSimpleTextItem::boundingRect(); +} +bool PythonQtShell_QGraphicsSimpleTextItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSimpleTextItem::collidesWithItem(other0, mode1); } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setModifiers(QGraphicsSceneMouseEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +bool PythonQtShell_QGraphicsSimpleTextItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { - ( theWrappedObject->setModifiers(modifiers)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPos(pos)); + return QGraphicsSimpleTextItem::collidesWithPath(path0, mode1); } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) +bool PythonQtShell_QGraphicsSimpleTextItem::contains(const QPointF& point0) const { - ( theWrappedObject->setScenePos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setScreenPos(pos)); + return QGraphicsSimpleTextItem::contains(point0); } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setSource(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseEventSource source) +void PythonQtShell_QGraphicsSimpleTextItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { - ( theWrappedObject->setSource(source)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::MouseEventSource PythonQtWrapper_QGraphicsSceneMouseEvent::source(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->source()); + QGraphicsSimpleTextItem::contextMenuEvent(event0); } - - - -QGraphicsSceneMoveEvent* PythonQtWrapper_QGraphicsSceneMoveEvent::new_QGraphicsSceneMoveEvent() -{ -return new QGraphicsSceneMoveEvent(); } - -QPointF PythonQtWrapper_QGraphicsSceneMoveEvent::newPos(QGraphicsSceneMoveEvent* theWrappedObject) const +void PythonQtShell_QGraphicsSimpleTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->newPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneMoveEvent::oldPos(QGraphicsSceneMoveEvent* theWrappedObject) const -{ - return ( theWrappedObject->oldPos()); + QGraphicsSimpleTextItem::dragEnterEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneMoveEvent::setNewPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos) +void PythonQtShell_QGraphicsSimpleTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setNewPos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneMoveEvent::setOldPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setOldPos(pos)); + QGraphicsSimpleTextItem::dragLeaveEvent(event0); } - - - -QGraphicsSceneResizeEvent* PythonQtWrapper_QGraphicsSceneResizeEvent::new_QGraphicsSceneResizeEvent() -{ -return new QGraphicsSceneResizeEvent(); } - -QSizeF PythonQtWrapper_QGraphicsSceneResizeEvent::newSize(QGraphicsSceneResizeEvent* theWrappedObject) const +void PythonQtShell_QGraphicsSimpleTextItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->newSize()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QSizeF PythonQtWrapper_QGraphicsSceneResizeEvent::oldSize(QGraphicsSceneResizeEvent* theWrappedObject) const -{ - return ( theWrappedObject->oldSize()); + QGraphicsSimpleTextItem::dragMoveEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneResizeEvent::setNewSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size) +void PythonQtShell_QGraphicsSimpleTextItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setNewSize(size)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneResizeEvent::setOldSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size) + QGraphicsSimpleTextItem::dropEvent(event0); +} +QVariant PythonQtShell_QGraphicsSimpleTextItem::extension(const QVariant& variant0) const { - ( theWrappedObject->setOldSize(size)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -QGraphicsSceneWheelEvent* PythonQtWrapper_QGraphicsSceneWheelEvent::new_QGraphicsSceneWheelEvent(QEvent::Type type) -{ -return new QGraphicsSceneWheelEvent(type); } - -Qt::MouseButtons PythonQtWrapper_QGraphicsSceneWheelEvent::buttons(QGraphicsSceneWheelEvent* theWrappedObject) const + return QGraphicsSimpleTextItem::extension(variant0); +} +void PythonQtShell_QGraphicsSimpleTextItem::focusInEvent(QFocusEvent* event0) { - return ( theWrappedObject->buttons()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QGraphicsSceneWheelEvent::delta(QGraphicsSceneWheelEvent* theWrappedObject) const + QGraphicsSimpleTextItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->delta()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneWheelEvent::modifiers(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); + QGraphicsSimpleTextItem::focusOutEvent(event0); } - -Qt::Orientation PythonQtWrapper_QGraphicsSceneWheelEvent::orientation(QGraphicsSceneWheelEvent* theWrappedObject) const +void PythonQtShell_QGraphicsSimpleTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->orientation()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneWheelEvent::pos(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); + QGraphicsSimpleTextItem::hoverEnterEvent(event0); } - -QPointF PythonQtWrapper_QGraphicsSceneWheelEvent::scenePos(QGraphicsSceneWheelEvent* theWrappedObject) const +void PythonQtShell_QGraphicsSimpleTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->scenePos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPoint PythonQtWrapper_QGraphicsSceneWheelEvent::screenPos(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->screenPos()); + QGraphicsSimpleTextItem::hoverLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setButtons(QGraphicsSceneWheelEvent* theWrappedObject, Qt::MouseButtons buttons) +void PythonQtShell_QGraphicsSimpleTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { - ( theWrappedObject->setButtons(buttons)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setDelta(QGraphicsSceneWheelEvent* theWrappedObject, int delta) -{ - ( theWrappedObject->setDelta(delta)); + QGraphicsSimpleTextItem::hoverMoveEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setModifiers(QGraphicsSceneWheelEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +void PythonQtShell_QGraphicsSimpleTextItem::inputMethodEvent(QInputMethodEvent* event0) { - ( theWrappedObject->setModifiers(modifiers)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setOrientation(QGraphicsSceneWheelEvent* theWrappedObject, Qt::Orientation orientation) -{ - ( theWrappedObject->setOrientation(orientation)); + QGraphicsSimpleTextItem::inputMethodEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos) +QVariant PythonQtShell_QGraphicsSimpleTextItem::inputMethodQuery(Qt::InputMethodQuery query0) const { - ( theWrappedObject->setPos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setScenePos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setScenePos(pos)); + return QGraphicsSimpleTextItem::inputMethodQuery(query0); } - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setScreenPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPoint& pos) +bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* item0) const { - ( theWrappedObject->setScreenPos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isObscuredBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsSimpleTextItem::~PythonQtShell_QGraphicsSimpleTextItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsSimpleTextItem::isObscuredBy(item0); } -QRectF PythonQtShell_QGraphicsSimpleTextItem::boundingRect() const +QVariant PythonQtShell_QGraphicsSimpleTextItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSimpleTextItem::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsSimpleTextItem::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSimpleTextItem::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSimpleTextItem::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSimpleTextItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSimpleTextItem::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::boundingRect(); + QGraphicsSimpleTextItem::mousePressEvent(event0); } -bool PythonQtShell_QGraphicsSimpleTextItem::contains(const QPointF& point0) const +void PythonQtShell_QGraphicsSimpleTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::contains(point0); + QGraphicsSimpleTextItem::mouseReleaseEvent(event0); } -QVariant PythonQtShell_QGraphicsSimpleTextItem::extension(const QVariant& variant0) const +QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5363,65 +7352,54 @@ if (_wrapper) { } } } - return QGraphicsSimpleTextItem::extension(variant0); + return QGraphicsSimpleTextItem::opaqueArea(); } -bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* item0) const +void PythonQtShell_QGraphicsSimpleTextItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&item0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::isObscuredBy(item0); + QGraphicsSimpleTextItem::paint(painter0, option1, widget2); } -QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const +bool PythonQtShell_QGraphicsSimpleTextItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5429,29 +7407,40 @@ if (_wrapper) { } } } - return QGraphicsSimpleTextItem::opaqueArea(); + return QGraphicsSimpleTextItem::sceneEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +bool PythonQtShell_QGraphicsSimpleTextItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsSimpleTextItem::paint(painter0, option1, widget2); + return QGraphicsSimpleTextItem::sceneEventFilter(watched0, event1); } void PythonQtShell_QGraphicsSimpleTextItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { @@ -5463,9 +7452,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5485,20 +7474,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5518,20 +7507,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&extension0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5551,20 +7540,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5574,6 +7563,28 @@ if (_wrapper) { } return QGraphicsSimpleTextItem::type(); } +void PythonQtShell_QGraphicsSimpleTextItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSimpleTextItem::wheelEvent(event0); +} QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsSimpleTextItem(QGraphicsItem* parent) { return new PythonQtShell_QGraphicsSimpleTextItem(parent); } @@ -5582,36 +7593,11 @@ QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsS { return new PythonQtShell_QGraphicsSimpleTextItem(text, parent); } -QRectF PythonQtWrapper_QGraphicsSimpleTextItem::boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsSimpleTextItem::contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsSimpleTextItem::extension(QGraphicsSimpleTextItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_extension(variant)); -} - QFont PythonQtWrapper_QGraphicsSimpleTextItem::font(QGraphicsSimpleTextItem* theWrappedObject) const { return ( theWrappedObject->font()); } -void PythonQtWrapper_QGraphicsSimpleTextItem::paint(QGraphicsSimpleTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -void PythonQtWrapper_QGraphicsSimpleTextItem::setExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - void PythonQtWrapper_QGraphicsSimpleTextItem::setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font) { ( theWrappedObject->setFont(font)); @@ -5622,32 +7608,39 @@ void PythonQtWrapper_QGraphicsSimpleTextItem::setText(QGraphicsSimpleTextItem* t ( theWrappedObject->setText(text)); } -QPainterPath PythonQtWrapper_QGraphicsSimpleTextItem::shape(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsSimpleTextItem::supportsExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - QString PythonQtWrapper_QGraphicsSimpleTextItem::text(QGraphicsSimpleTextItem* theWrappedObject) const { return ( theWrappedObject->text()); } -int PythonQtWrapper_QGraphicsSimpleTextItem::type(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - PythonQtShell_QGraphicsTextItem::~PythonQtShell_QGraphicsTextItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QGraphicsTextItem::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsTextItem::advance(phase0); +} QRectF PythonQtShell_QGraphicsTextItem::boundingRect() const { if (_wrapper) { @@ -5658,20 +7651,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5691,9 +7684,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5703,6 +7696,72 @@ if (_wrapper) { } QGraphicsTextItem::childEvent(event0); } +bool PythonQtShell_QGraphicsTextItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsTextItem::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsTextItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsTextItem::collidesWithPath(path0, mode1); +} bool PythonQtShell_QGraphicsTextItem::contains(const QPointF& point0) const { if (_wrapper) { @@ -5713,20 +7772,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5746,9 +7805,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5768,9 +7827,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5790,9 +7849,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5812,9 +7871,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5834,9 +7893,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5856,9 +7915,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5878,20 +7937,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&ev0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5911,20 +7970,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5944,20 +8003,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5977,9 +8036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5999,9 +8058,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6021,9 +8080,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6043,9 +8102,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6065,9 +8124,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6087,9 +8146,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6109,20 +8168,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6142,20 +8201,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&item0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6165,6 +8224,42 @@ if (_wrapper) { } return QGraphicsTextItem::isObscuredBy(item0); } +QVariant PythonQtShell_QGraphicsTextItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsTextItem::itemChange(change0, value1); +} void PythonQtShell_QGraphicsTextItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { @@ -6175,9 +8270,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6197,9 +8292,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6219,9 +8314,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6241,9 +8336,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6263,9 +8358,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6285,9 +8380,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6307,20 +8402,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6340,9 +8435,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6352,30 +8447,63 @@ if (_wrapper) { } QGraphicsTextItem::paint(painter0, option1, widget2); } -bool PythonQtShell_QGraphicsTextItem::sceneEvent(QEvent* event0) +bool PythonQtShell_QGraphicsTextItem::sceneEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsTextItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsTextItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6383,7 +8511,7 @@ if (_wrapper) { } } } - return QGraphicsTextItem::sceneEvent(event0); + return QGraphicsTextItem::sceneEventFilter(watched0, event1); } void PythonQtShell_QGraphicsTextItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { @@ -6395,9 +8523,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6417,20 +8545,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6450,20 +8578,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&extension0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6483,9 +8611,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6505,20 +8633,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6528,6 +8656,28 @@ if (_wrapper) { } return QGraphicsTextItem::type(); } +void PythonQtShell_QGraphicsTextItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsTextItem::wheelEvent(event0); +} QGraphicsTextItem* PythonQtWrapper_QGraphicsTextItem::new_QGraphicsTextItem(QGraphicsItem* parent) { return new PythonQtShell_QGraphicsTextItem(parent); } @@ -6554,21 +8704,6 @@ void PythonQtWrapper_QGraphicsTextItem::adjustSize(QGraphicsTextItem* theWrapped ( theWrappedObject->adjustSize()); } -QRectF PythonQtWrapper_QGraphicsTextItem::boundingRect(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsTextItem::contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -void PythonQtWrapper_QGraphicsTextItem::contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_contextMenuEvent(event)); -} - QColor PythonQtWrapper_QGraphicsTextItem::defaultTextColor(QGraphicsTextItem* theWrappedObject) const { return ( theWrappedObject->defaultTextColor()); @@ -6579,126 +8714,16 @@ QTextDocument* PythonQtWrapper_QGraphicsTextItem::document(QGraphicsTextItem* t return ( theWrappedObject->document()); } -void PythonQtWrapper_QGraphicsTextItem::dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragLeaveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dropEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsTextItem::extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_extension(variant)); -} - -void PythonQtWrapper_QGraphicsTextItem::focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_focusInEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_focusOutEvent(event)); -} - QFont PythonQtWrapper_QGraphicsTextItem::font(QGraphicsTextItem* theWrappedObject) const { return ( theWrappedObject->font()); } -void PythonQtWrapper_QGraphicsTextItem::hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsTextItem::inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_inputMethodQuery(query)); -} - -bool PythonQtWrapper_QGraphicsTextItem::isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( theWrappedObject->isObscuredBy(item)); -} - -void PythonQtWrapper_QGraphicsTextItem::keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -QPainterPath PythonQtWrapper_QGraphicsTextItem::opaqueArea(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->opaqueArea()); -} - bool PythonQtWrapper_QGraphicsTextItem::openExternalLinks(QGraphicsTextItem* theWrappedObject) const { return ( theWrappedObject->openExternalLinks()); } -void PythonQtWrapper_QGraphicsTextItem::paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -bool PythonQtWrapper_QGraphicsTextItem::sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_sceneEvent(event)); -} - void PythonQtWrapper_QGraphicsTextItem::setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c) { ( theWrappedObject->setDefaultTextColor(c)); @@ -6709,11 +8734,6 @@ void PythonQtWrapper_QGraphicsTextItem::setDocument(QGraphicsTextItem* theWrappe ( theWrappedObject->setDocument(document)); } -void PythonQtWrapper_QGraphicsTextItem::setExtension(QGraphicsTextItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - void PythonQtWrapper_QGraphicsTextItem::setFont(QGraphicsTextItem* theWrappedObject, const QFont& font) { ( theWrappedObject->setFont(font)); @@ -6754,16 +8774,6 @@ void PythonQtWrapper_QGraphicsTextItem::setTextWidth(QGraphicsTextItem* theWrapp ( theWrappedObject->setTextWidth(width)); } -QPainterPath PythonQtWrapper_QGraphicsTextItem::shape(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsTextItem::supportsExtension(QGraphicsTextItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - bool PythonQtWrapper_QGraphicsTextItem::tabChangesFocus(QGraphicsTextItem* theWrappedObject) const { return ( theWrappedObject->tabChangesFocus()); @@ -6794,11 +8804,6 @@ QString PythonQtWrapper_QGraphicsTextItem::toPlainText(QGraphicsTextItem* theWr return ( theWrappedObject->toPlainText()); } -int PythonQtWrapper_QGraphicsTextItem::type(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - PythonQtShell_QGraphicsTransform::~PythonQtShell_QGraphicsTransform() { @@ -6815,9 +8820,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMatrix4x4*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&matrix0}; + void* args[2] = {nullptr, (void*)&matrix0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6837,9 +8842,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6859,9 +8864,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6881,20 +8886,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6914,20 +8919,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6947,9 +8952,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6997,9 +9002,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7019,9 +9024,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7041,9 +9046,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7063,9 +9068,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7085,9 +9090,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7107,9 +9112,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7129,20 +9134,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7162,9 +9167,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7184,9 +9189,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7206,9 +9211,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7228,9 +9233,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; + void* args[3] = {nullptr, (void*)&painter0, (void*)&rect1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7250,9 +9255,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; + void* args[3] = {nullptr, (void*)&painter0, (void*)&rect1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7272,9 +9277,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "int" , "QGraphicsItem**" , "const QStyleOptionGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&numItems1, (void*)&items2, (void*)&options3}; + void* args[5] = {nullptr, (void*)&painter0, (void*)&numItems1, (void*)&items2, (void*)&options3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7294,9 +9299,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7316,9 +9321,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7338,20 +9343,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7371,20 +9376,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7404,9 +9409,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7426,20 +9431,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7459,9 +9464,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7481,20 +9486,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7514,20 +9519,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7547,9 +9552,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7569,9 +9574,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7591,9 +9596,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7613,20 +9618,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7646,9 +9651,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7668,9 +9673,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7690,9 +9695,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7712,20 +9717,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7745,20 +9750,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7778,9 +9783,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7800,9 +9805,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7822,9 +9827,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7844,9 +9849,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7866,9 +9871,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7888,20 +9893,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7921,20 +9926,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7954,9 +9959,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7976,20 +9981,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8009,9 +10014,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8031,9 +10036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8053,9 +10058,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8075,9 +10080,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8097,20 +10102,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8130,9 +10135,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8152,20 +10157,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8185,9 +10190,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8207,9 +10212,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8229,20 +10234,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8262,20 +10267,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8295,9 +10300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8498,261 +10503,734 @@ QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedO return ( theWrappedObject->mapFromScene(x, y, w, h)); } -QPainterPath PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const +QPainterPath PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->mapToScene(path)); +} + +QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPoint& point) const +{ + return ( theWrappedObject->mapToScene(point)); +} + +QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPolygon& polygon) const +{ + return ( theWrappedObject->mapToScene(polygon)); +} + +QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QRect& rect) const +{ + return ( theWrappedObject->mapToScene(rect)); +} + +QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->mapToScene(x, y)); +} + +QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y, int w, int h) const +{ + return ( theWrappedObject->mapToScene(x, y, w, h)); +} + +QMatrix PythonQtWrapper_QGraphicsView::matrix(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->matrix()); +} + +QGraphicsView::OptimizationFlags PythonQtWrapper_QGraphicsView::optimizationFlags(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->optimizationFlags()); +} + +void PythonQtWrapper_QGraphicsView::render(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& target, const QRect& source, Qt::AspectRatioMode aspectRatioMode) +{ + ( theWrappedObject->render(painter, target, source, aspectRatioMode)); +} + +QPainter::RenderHints PythonQtWrapper_QGraphicsView::renderHints(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->renderHints()); +} + +void PythonQtWrapper_QGraphicsView::resetCachedContent(QGraphicsView* theWrappedObject) +{ + ( theWrappedObject->resetCachedContent()); +} + +void PythonQtWrapper_QGraphicsView::resetMatrix(QGraphicsView* theWrappedObject) +{ + ( theWrappedObject->resetMatrix()); +} + +void PythonQtWrapper_QGraphicsView::resetTransform(QGraphicsView* theWrappedObject) +{ + ( theWrappedObject->resetTransform()); +} + +QGraphicsView::ViewportAnchor PythonQtWrapper_QGraphicsView::resizeAnchor(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->resizeAnchor()); +} + +void PythonQtWrapper_QGraphicsView::rotate(QGraphicsView* theWrappedObject, qreal angle) +{ + ( theWrappedObject->rotate(angle)); +} + +QRect PythonQtWrapper_QGraphicsView::rubberBandRect(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->rubberBandRect()); +} + +Qt::ItemSelectionMode PythonQtWrapper_QGraphicsView::rubberBandSelectionMode(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->rubberBandSelectionMode()); +} + +void PythonQtWrapper_QGraphicsView::scale(QGraphicsView* theWrappedObject, qreal sx, qreal sy) +{ + ( theWrappedObject->scale(sx, sy)); +} + +QGraphicsScene* PythonQtWrapper_QGraphicsView::scene(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->scene()); +} + +QRectF PythonQtWrapper_QGraphicsView::sceneRect(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->sceneRect()); +} + +void PythonQtWrapper_QGraphicsView::setAlignment(QGraphicsView* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +void PythonQtWrapper_QGraphicsView::setBackgroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBackgroundBrush(brush)); +} + +void PythonQtWrapper_QGraphicsView::setCacheMode(QGraphicsView* theWrappedObject, QGraphicsView::CacheMode mode) +{ + ( theWrappedObject->setCacheMode(mode)); +} + +void PythonQtWrapper_QGraphicsView::setDragMode(QGraphicsView* theWrappedObject, QGraphicsView::DragMode mode) +{ + ( theWrappedObject->setDragMode(mode)); +} + +void PythonQtWrapper_QGraphicsView::setForegroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setForegroundBrush(brush)); +} + +void PythonQtWrapper_QGraphicsView::setInteractive(QGraphicsView* theWrappedObject, bool allowed) +{ + ( theWrappedObject->setInteractive(allowed)); +} + +void PythonQtWrapper_QGraphicsView::setMatrix(QGraphicsView* theWrappedObject, const QMatrix& matrix, bool combine) +{ + ( theWrappedObject->setMatrix(matrix, combine)); +} + +void PythonQtWrapper_QGraphicsView::setOptimizationFlag(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlag flag, bool enabled) +{ + ( theWrappedObject->setOptimizationFlag(flag, enabled)); +} + +void PythonQtWrapper_QGraphicsView::setOptimizationFlags(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlags flags) { - return ( theWrappedObject->mapToScene(path)); + ( theWrappedObject->setOptimizationFlags(flags)); } -QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPoint& point) const +void PythonQtWrapper_QGraphicsView::setRenderHint(QGraphicsView* theWrappedObject, QPainter::RenderHint hint, bool enabled) { - return ( theWrappedObject->mapToScene(point)); + ( theWrappedObject->setRenderHint(hint, enabled)); } -QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPolygon& polygon) const +void PythonQtWrapper_QGraphicsView::setRenderHints(QGraphicsView* theWrappedObject, QPainter::RenderHints hints) { - return ( theWrappedObject->mapToScene(polygon)); + ( theWrappedObject->setRenderHints(hints)); } -QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QRect& rect) const +void PythonQtWrapper_QGraphicsView::setResizeAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor) { - return ( theWrappedObject->mapToScene(rect)); + ( theWrappedObject->setResizeAnchor(anchor)); } -QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y) const +void PythonQtWrapper_QGraphicsView::setRubberBandSelectionMode(QGraphicsView* theWrappedObject, Qt::ItemSelectionMode mode) { - return ( theWrappedObject->mapToScene(x, y)); + ( theWrappedObject->setRubberBandSelectionMode(mode)); } -QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y, int w, int h) const +void PythonQtWrapper_QGraphicsView::setScene(QGraphicsView* theWrappedObject, QGraphicsScene* scene) { - return ( theWrappedObject->mapToScene(x, y, w, h)); + ( theWrappedObject->setScene(scene)); } -QMatrix PythonQtWrapper_QGraphicsView::matrix(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QGraphicsView::setSceneRect(QGraphicsView* theWrappedObject, const QRectF& rect) { - return ( theWrappedObject->matrix()); + ( theWrappedObject->setSceneRect(rect)); } -QGraphicsView::OptimizationFlags PythonQtWrapper_QGraphicsView::optimizationFlags(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QGraphicsView::setSceneRect(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) { - return ( theWrappedObject->optimizationFlags()); + ( theWrappedObject->setSceneRect(x, y, w, h)); } -void PythonQtWrapper_QGraphicsView::render(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& target, const QRect& source, Qt::AspectRatioMode aspectRatioMode) +void PythonQtWrapper_QGraphicsView::setTransform(QGraphicsView* theWrappedObject, const QTransform& matrix, bool combine) { - ( theWrappedObject->render(painter, target, source, aspectRatioMode)); + ( theWrappedObject->setTransform(matrix, combine)); } -QPainter::RenderHints PythonQtWrapper_QGraphicsView::renderHints(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QGraphicsView::setTransformationAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor) { - return ( theWrappedObject->renderHints()); + ( theWrappedObject->setTransformationAnchor(anchor)); } -void PythonQtWrapper_QGraphicsView::resetCachedContent(QGraphicsView* theWrappedObject) +void PythonQtWrapper_QGraphicsView::setViewportUpdateMode(QGraphicsView* theWrappedObject, QGraphicsView::ViewportUpdateMode mode) { - ( theWrappedObject->resetCachedContent()); + ( theWrappedObject->setViewportUpdateMode(mode)); } -void PythonQtWrapper_QGraphicsView::resetMatrix(QGraphicsView* theWrappedObject) +void PythonQtWrapper_QGraphicsView::shear(QGraphicsView* theWrappedObject, qreal sh, qreal sv) { - ( theWrappedObject->resetMatrix()); + ( theWrappedObject->shear(sh, sv)); } -void PythonQtWrapper_QGraphicsView::resetTransform(QGraphicsView* theWrappedObject) +QTransform PythonQtWrapper_QGraphicsView::transform(QGraphicsView* theWrappedObject) const { - ( theWrappedObject->resetTransform()); + return ( theWrappedObject->transform()); } -QGraphicsView::ViewportAnchor PythonQtWrapper_QGraphicsView::resizeAnchor(QGraphicsView* theWrappedObject) const +QGraphicsView::ViewportAnchor PythonQtWrapper_QGraphicsView::transformationAnchor(QGraphicsView* theWrappedObject) const { - return ( theWrappedObject->resizeAnchor()); + return ( theWrappedObject->transformationAnchor()); } -void PythonQtWrapper_QGraphicsView::rotate(QGraphicsView* theWrappedObject, qreal angle) +void PythonQtWrapper_QGraphicsView::translate(QGraphicsView* theWrappedObject, qreal dx, qreal dy) { - ( theWrappedObject->rotate(angle)); + ( theWrappedObject->translate(dx, dy)); } -QRect PythonQtWrapper_QGraphicsView::rubberBandRect(QGraphicsView* theWrappedObject) const +QTransform PythonQtWrapper_QGraphicsView::viewportTransform(QGraphicsView* theWrappedObject) const { - return ( theWrappedObject->rubberBandRect()); + return ( theWrappedObject->viewportTransform()); } -Qt::ItemSelectionMode PythonQtWrapper_QGraphicsView::rubberBandSelectionMode(QGraphicsView* theWrappedObject) const +QGraphicsView::ViewportUpdateMode PythonQtWrapper_QGraphicsView::viewportUpdateMode(QGraphicsView* theWrappedObject) const { - return ( theWrappedObject->rubberBandSelectionMode()); + return ( theWrappedObject->viewportUpdateMode()); } -void PythonQtWrapper_QGraphicsView::scale(QGraphicsView* theWrappedObject, qreal sx, qreal sy) + + +PythonQtShell_QGraphicsWidget::~PythonQtShell_QGraphicsWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsWidget::advance(int phase0) { - ( theWrappedObject->scale(sx, sy)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGraphicsScene* PythonQtWrapper_QGraphicsView::scene(QGraphicsView* theWrappedObject) const + QGraphicsWidget::advance(phase0); +} +QRectF PythonQtShell_QGraphicsWidget::boundingRect() const { - return ( theWrappedObject->scene()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsView::sceneRect(QGraphicsView* theWrappedObject) const + return QGraphicsWidget::boundingRect(); +} +void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) { - return ( theWrappedObject->sceneRect()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::setAlignment(QGraphicsView* theWrappedObject, Qt::Alignment alignment) + QGraphicsWidget::changeEvent(event0); +} +void PythonQtShell_QGraphicsWidget::childEvent(QChildEvent* event0) { - ( theWrappedObject->setAlignment(alignment)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::setBackgroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush) + QGraphicsWidget::childEvent(event0); +} +void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* event0) { - ( theWrappedObject->setBackgroundBrush(brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::setCacheMode(QGraphicsView* theWrappedObject, QGraphicsView::CacheMode mode) + QGraphicsWidget::closeEvent(event0); +} +bool PythonQtShell_QGraphicsWidget::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { - ( theWrappedObject->setCacheMode(mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::setDragMode(QGraphicsView* theWrappedObject, QGraphicsView::DragMode mode) + return QGraphicsWidget::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsWidget::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { - ( theWrappedObject->setDragMode(mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::setForegroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush) + return QGraphicsWidget::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsWidget::contains(const QPointF& point0) const { - ( theWrappedObject->setForegroundBrush(brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::setInteractive(QGraphicsView* theWrappedObject, bool allowed) -{ - ( theWrappedObject->setInteractive(allowed)); + return QGraphicsWidget::contains(point0); } - -void PythonQtWrapper_QGraphicsView::setMatrix(QGraphicsView* theWrappedObject, const QMatrix& matrix, bool combine) +void PythonQtShell_QGraphicsWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { - ( theWrappedObject->setMatrix(matrix, combine)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::setOptimizationFlag(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlag flag, bool enabled) -{ - ( theWrappedObject->setOptimizationFlag(flag, enabled)); + QGraphicsWidget::contextMenuEvent(event0); } - -void PythonQtWrapper_QGraphicsView::setOptimizationFlags(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlags flags) +void PythonQtShell_QGraphicsWidget::customEvent(QEvent* event0) { - ( theWrappedObject->setOptimizationFlags(flags)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::setRenderHint(QGraphicsView* theWrappedObject, QPainter::RenderHint hint, bool enabled) -{ - ( theWrappedObject->setRenderHint(hint, enabled)); + QGraphicsWidget::customEvent(event0); } - -void PythonQtWrapper_QGraphicsView::setRenderHints(QGraphicsView* theWrappedObject, QPainter::RenderHints hints) +void PythonQtShell_QGraphicsWidget::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setRenderHints(hints)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::setResizeAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor) -{ - ( theWrappedObject->setResizeAnchor(anchor)); + QGraphicsWidget::dragEnterEvent(event0); } - -void PythonQtWrapper_QGraphicsView::setRubberBandSelectionMode(QGraphicsView* theWrappedObject, Qt::ItemSelectionMode mode) +void PythonQtShell_QGraphicsWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setRubberBandSelectionMode(mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::setScene(QGraphicsView* theWrappedObject, QGraphicsScene* scene) -{ - ( theWrappedObject->setScene(scene)); + QGraphicsWidget::dragLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsView::setSceneRect(QGraphicsView* theWrappedObject, const QRectF& rect) +void PythonQtShell_QGraphicsWidget::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setSceneRect(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::setSceneRect(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setSceneRect(x, y, w, h)); + QGraphicsWidget::dragMoveEvent(event0); } - -void PythonQtWrapper_QGraphicsView::setTransform(QGraphicsView* theWrappedObject, const QTransform& matrix, bool combine) +void PythonQtShell_QGraphicsWidget::dropEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setTransform(matrix, combine)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::setTransformationAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor) -{ - ( theWrappedObject->setTransformationAnchor(anchor)); + QGraphicsWidget::dropEvent(event0); } - -void PythonQtWrapper_QGraphicsView::setViewportUpdateMode(QGraphicsView* theWrappedObject, QGraphicsView::ViewportUpdateMode mode) +bool PythonQtShell_QGraphicsWidget::event(QEvent* event0) { - ( theWrappedObject->setViewportUpdateMode(mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::shear(QGraphicsView* theWrappedObject, qreal sh, qreal sv) -{ - ( theWrappedObject->shear(sh, sv)); + return QGraphicsWidget::event(event0); } - -QTransform PythonQtWrapper_QGraphicsView::transform(QGraphicsView* theWrappedObject) const +bool PythonQtShell_QGraphicsWidget::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->transform()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QGraphicsView::ViewportAnchor PythonQtWrapper_QGraphicsView::transformationAnchor(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->transformationAnchor()); + return QGraphicsWidget::eventFilter(watched0, event1); } - -void PythonQtWrapper_QGraphicsView::translate(QGraphicsView* theWrappedObject, qreal dx, qreal dy) +QVariant PythonQtShell_QGraphicsWidget::extension(const QVariant& variant0) const { - ( theWrappedObject->translate(dx, dy)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QTransform PythonQtWrapper_QGraphicsView::viewportTransform(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->viewportTransform()); + return QGraphicsWidget::extension(variant0); } - -QGraphicsView::ViewportUpdateMode PythonQtWrapper_QGraphicsView::viewportUpdateMode(QGraphicsView* theWrappedObject) const +void PythonQtShell_QGraphicsWidget::focusInEvent(QFocusEvent* event0) { - return ( theWrappedObject->viewportUpdateMode()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsWidget::~PythonQtShell_QGraphicsWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsWidget::focusInEvent(event0); } -QRectF PythonQtShell_QGraphicsWidget::boundingRect() const +bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8760,21 +11238,65 @@ if (_wrapper) { } } } - return QGraphicsWidget::boundingRect(); + return QGraphicsWidget::focusNextPrevChild(next0); } -void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) +void PythonQtShell_QGraphicsWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getContentsMargins"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::getContentsMargins(left0, top1, right2, bottom3); +} +void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8782,21 +11304,21 @@ if (_wrapper) { } } } - QGraphicsWidget::changeEvent(event0); + QGraphicsWidget::grabKeyboardEvent(event0); } -void PythonQtShell_QGraphicsWidget::childEvent(QChildEvent* event0) +void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8804,21 +11326,21 @@ if (_wrapper) { } } } - QGraphicsWidget::childEvent(event0); + QGraphicsWidget::grabMouseEvent(event0); } -void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* event0) +void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8826,21 +11348,21 @@ if (_wrapper) { } } } - QGraphicsWidget::closeEvent(event0); + QGraphicsWidget::hideEvent(event0); } -void PythonQtShell_QGraphicsWidget::customEvent(QEvent* event0) +void PythonQtShell_QGraphicsWidget::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8848,87 +11370,65 @@ if (_wrapper) { } } } - QGraphicsWidget::customEvent(event0); + QGraphicsWidget::hoverEnterEvent(event0); } -bool PythonQtShell_QGraphicsWidget::event(QEvent* event0) +void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsWidget::event(event0); + QGraphicsWidget::hoverLeaveEvent(event0); } -bool PythonQtShell_QGraphicsWidget::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsWidget::eventFilter(watched0, event1); + QGraphicsWidget::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QStyleOption*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8936,32 +11436,54 @@ if (_wrapper) { } } } - QGraphicsWidget::focusInEvent(event0); + QGraphicsWidget::initStyleOption(option0); } -bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) +void PythonQtShell_QGraphicsWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsWidget::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8969,43 +11491,90 @@ if (_wrapper) { } } } - return QGraphicsWidget::focusNextPrevChild(next0); + return QGraphicsWidget::inputMethodQuery(query0); } -void PythonQtShell_QGraphicsWidget::focusOutEvent(QFocusEvent* event0) +bool PythonQtShell_QGraphicsWidget::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsWidget::focusOutEvent(event0); + return QGraphicsWidget::isObscuredBy(item0); } -void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +QVariant PythonQtShell_QGraphicsWidget::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWidget::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsWidget::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9013,21 +11582,21 @@ if (_wrapper) { } } } - QGraphicsWidget::getContentsMargins(left0, top1, right2, bottom3); + QGraphicsWidget::keyPressEvent(event0); } -void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event0) +void PythonQtShell_QGraphicsWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("grabKeyboardEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9035,21 +11604,21 @@ if (_wrapper) { } } } - QGraphicsWidget::grabKeyboardEvent(event0); + QGraphicsWidget::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) +void PythonQtShell_QGraphicsWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("grabMouseEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9057,21 +11626,21 @@ if (_wrapper) { } } } - QGraphicsWidget::grabMouseEvent(event0); + QGraphicsWidget::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) +void PythonQtShell_QGraphicsWidget::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9079,21 +11648,21 @@ if (_wrapper) { } } } - QGraphicsWidget::hideEvent(event0); + QGraphicsWidget::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsWidget::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9101,21 +11670,21 @@ if (_wrapper) { } } } - QGraphicsWidget::hoverLeaveEvent(event0); + QGraphicsWidget::mousePressEvent(event0); } -void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9123,21 +11692,21 @@ if (_wrapper) { } } } - QGraphicsWidget::hoverMoveEvent(event0); + QGraphicsWidget::mouseReleaseEvent(event0); } -void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) const +void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initStyleOption"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QStyleOption*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&option0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9145,65 +11714,40 @@ if (_wrapper) { } } } - QGraphicsWidget::initStyleOption(option0); + QGraphicsWidget::moveEvent(event0); } -QVariant PythonQtShell_QGraphicsWidget::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +QPainterPath PythonQtShell_QGraphicsWidget::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsWidget::itemChange(change0, value1); -} -void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsWidget::moveEvent(event0); + return QGraphicsWidget::opaqueArea(); } void PythonQtShell_QGraphicsWidget::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { @@ -9215,9 +11759,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9237,9 +11781,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9259,9 +11803,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9281,20 +11825,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&propertyName0, (void*)&value1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&propertyName0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9314,9 +11858,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9336,20 +11880,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9359,6 +11903,61 @@ if (_wrapper) { } return QGraphicsWidget::sceneEvent(event0); } +bool PythonQtShell_QGraphicsWidget::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWidget::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsWidget::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::setExtension(extension0, variant1); +} void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect0) { if (_wrapper) { @@ -9369,9 +11968,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9391,20 +11990,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9424,9 +12023,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9446,20 +12045,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSizeF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9469,6 +12068,39 @@ if (_wrapper) { } return QGraphicsWidget::sizeHint(which0, constraint1); } +bool PythonQtShell_QGraphicsWidget::supportsExtension(QGraphicsItem::Extension extension0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWidget::supportsExtension(extension0); +} void PythonQtShell_QGraphicsWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { @@ -9479,9 +12111,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9501,20 +12133,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9534,9 +12166,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9556,9 +12188,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9578,9 +12210,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9590,6 +12222,28 @@ if (_wrapper) { } QGraphicsWidget::updateGeometry(); } +void PythonQtShell_QGraphicsWidget::wheelEvent(QGraphicsSceneWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::wheelEvent(event0); +} bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e0) { if (_wrapper) { @@ -9600,20 +12254,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9633,20 +12287,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::WindowFrameSection returnValue; - void* args[2] = {NULL, (void*)&pos0}; + Qt::WindowFrameSection returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); } else { returnValue = *((Qt::WindowFrameSection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9698,11 +12352,6 @@ bool PythonQtWrapper_QGraphicsWidget::autoFillBackground(QGraphicsWidget* theWr return ( theWrappedObject->autoFillBackground()); } -QRectF PythonQtWrapper_QGraphicsWidget::boundingRect(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - void PythonQtWrapper_QGraphicsWidget::changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event) { ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_changeEvent(event)); @@ -9713,21 +12362,11 @@ void PythonQtWrapper_QGraphicsWidget::closeEvent(QGraphicsWidget* theWrappedObje ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_closeEvent(event)); } -void PythonQtWrapper_QGraphicsWidget::focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusInEvent(event)); -} - bool PythonQtWrapper_QGraphicsWidget::focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next) { return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); } -void PythonQtWrapper_QGraphicsWidget::focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusOutEvent(event)); -} - Qt::FocusPolicy PythonQtWrapper_QGraphicsWidget::focusPolicy(QGraphicsWidget* theWrappedObject) const { return ( theWrappedObject->focusPolicy()); @@ -9768,16 +12407,6 @@ void PythonQtWrapper_QGraphicsWidget::hideEvent(QGraphicsWidget* theWrappedObjec ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hideEvent(event)); } -void PythonQtWrapper_QGraphicsWidget::hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hoverLeaveEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hoverMoveEvent(event)); -} - void PythonQtWrapper_QGraphicsWidget::initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const { ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_initStyleOption(option)); @@ -9798,11 +12427,6 @@ bool PythonQtWrapper_QGraphicsWidget::isActiveWindow(QGraphicsWidget* theWrappe return ( theWrappedObject->isActiveWindow()); } -QVariant PythonQtWrapper_QGraphicsWidget::itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_itemChange(change, value)); -} - QGraphicsLayout* PythonQtWrapper_QGraphicsWidget::layout(QGraphicsWidget* theWrappedObject) const { return ( theWrappedObject->layout()); @@ -9818,11 +12442,6 @@ void PythonQtWrapper_QGraphicsWidget::moveEvent(QGraphicsWidget* theWrappedObjec ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_moveEvent(event)); } -void PythonQtWrapper_QGraphicsWidget::paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - void PythonQtWrapper_QGraphicsWidget::paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { ( theWrappedObject->paintWindowFrame(painter, option, widget)); @@ -9873,11 +12492,6 @@ void PythonQtWrapper_QGraphicsWidget::resizeEvent(QGraphicsWidget* theWrappedObj ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_resizeEvent(event)); } -bool PythonQtWrapper_QGraphicsWidget::sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_sceneEvent(event)); -} - void PythonQtWrapper_QGraphicsWidget::setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on) { ( theWrappedObject->setAttribute(attribute, on)); @@ -9958,11 +12572,6 @@ void PythonQtWrapper_QGraphicsWidget::setWindowTitle(QGraphicsWidget* theWrapped ( theWrappedObject->setWindowTitle(title)); } -QPainterPath PythonQtWrapper_QGraphicsWidget::shape(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - void PythonQtWrapper_QGraphicsWidget::showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event) { ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_showEvent(event)); @@ -9983,11 +12592,6 @@ bool PythonQtWrapper_QGraphicsWidget::testAttribute(QGraphicsWidget* theWrapped return ( theWrappedObject->testAttribute(attribute)); } -int PythonQtWrapper_QGraphicsWidget::type(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - void PythonQtWrapper_QGraphicsWidget::ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event) { ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_ungrabKeyboardEvent(event)); @@ -10059,9 +12663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10081,9 +12685,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10103,20 +12707,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10136,20 +12740,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10169,9 +12773,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10191,20 +12795,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10224,20 +12828,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10257,20 +12861,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10290,20 +12894,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10323,20 +12927,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10356,20 +12960,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10389,20 +12993,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10422,9 +13026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10444,20 +13048,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10477,20 +13081,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10510,20 +13114,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10543,20 +13147,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10576,20 +13180,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10609,20 +13213,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10642,9 +13246,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10664,20 +13268,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10687,6 +13291,39 @@ if (_wrapper) { } return QGridLayout::sizeHint(); } +QSpacerItem* PythonQtShell_QGridLayout::spacerItem() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("spacerItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::spacerItem(); +} QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index0) { if (_wrapper) { @@ -10697,20 +13334,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10730,9 +13367,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10742,6 +13379,39 @@ if (_wrapper) { } QGridLayout::timerEvent(event0); } +QWidget* PythonQtShell_QGridLayout::widget() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("widget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::widget(); +} QGridLayout* PythonQtWrapper_QGridLayout::new_QGridLayout() { return new PythonQtShell_QGridLayout(); } @@ -10808,16 +13478,6 @@ int PythonQtWrapper_QGridLayout::columnStretch(QGridLayout* theWrappedObject, i return ( theWrappedObject->columnStretch(column)); } -bool PythonQtWrapper_QGridLayout::hasHeightForWidth(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -int PythonQtWrapper_QGridLayout::heightForWidth(QGridLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->heightForWidth(arg__1)); -} - int PythonQtWrapper_QGridLayout::horizontalSpacing(QGridLayout* theWrappedObject) const { return ( theWrappedObject->horizontalSpacing()); @@ -10828,11 +13488,6 @@ QLayoutItem* PythonQtWrapper_QGridLayout::itemAtPosition(QGridLayout* theWrappe return ( theWrappedObject->itemAtPosition(row, column)); } -int PythonQtWrapper_QGridLayout::minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->minimumHeightForWidth(arg__1)); -} - Qt::Corner PythonQtWrapper_QGridLayout::originCorner(QGridLayout* theWrappedObject) const { return ( theWrappedObject->originCorner()); @@ -10898,11 +13553,6 @@ void PythonQtWrapper_QGridLayout::setVerticalSpacing(QGridLayout* theWrappedObje ( theWrappedObject->setVerticalSpacing(spacing)); } -QSize PythonQtWrapper_QGridLayout::sizeHint(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - int PythonQtWrapper_QGridLayout::spacing(QGridLayout* theWrappedObject) const { return ( theWrappedObject->spacing()); @@ -10929,9 +13579,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10951,9 +13601,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10973,9 +13623,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10995,9 +13645,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11017,9 +13667,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11039,9 +13689,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11061,20 +13711,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11094,9 +13744,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11116,9 +13766,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11138,9 +13788,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11160,9 +13810,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11182,9 +13832,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11204,20 +13854,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11237,20 +13887,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11270,9 +13920,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11292,20 +13942,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11325,9 +13975,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11347,20 +13997,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11380,20 +14030,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11413,9 +14063,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11435,9 +14085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11457,9 +14107,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11479,20 +14129,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11512,9 +14162,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11534,9 +14184,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11556,9 +14206,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11578,20 +14228,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11611,20 +14261,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11644,9 +14294,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11666,9 +14316,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11688,9 +14338,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11710,9 +14360,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11732,9 +14382,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11754,20 +14404,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11787,20 +14437,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11820,9 +14470,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11842,20 +14492,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11875,9 +14525,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11897,9 +14547,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11919,20 +14569,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11952,9 +14602,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11974,20 +14624,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12007,9 +14657,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12029,9 +14679,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12051,9 +14701,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12397,9 +15047,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12419,9 +15069,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12441,20 +15091,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12474,20 +15124,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12507,9 +15157,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12529,20 +15179,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12562,20 +15212,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12595,20 +15245,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12628,20 +15278,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12661,20 +15311,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12694,20 +15344,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12727,20 +15377,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12760,9 +15410,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12782,20 +15432,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12815,20 +15465,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12848,20 +15498,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12881,20 +15531,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12914,20 +15564,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12947,20 +15597,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12980,9 +15630,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13002,20 +15652,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13025,6 +15675,39 @@ if (_wrapper) { } return QHBoxLayout::sizeHint(); } +QSpacerItem* PythonQtShell_QHBoxLayout::spacerItem() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("spacerItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::spacerItem(); +} QLayoutItem* PythonQtShell_QHBoxLayout::takeAt(int arg__1) { if (_wrapper) { @@ -13035,20 +15718,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13068,9 +15751,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13080,6 +15763,39 @@ if (_wrapper) { } QHBoxLayout::timerEvent(event0); } +QWidget* PythonQtShell_QHBoxLayout::widget() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("widget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::widget(); +} QHBoxLayout* PythonQtWrapper_QHBoxLayout::new_QHBoxLayout() { return new PythonQtShell_QHBoxLayout(); } @@ -13117,9 +15833,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13139,9 +15855,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13161,9 +15877,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13183,9 +15899,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13205,9 +15921,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13227,9 +15943,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13249,9 +15965,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13271,9 +15987,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&old1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&old1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13293,9 +16009,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13315,9 +16031,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13337,20 +16053,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13370,9 +16086,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13392,9 +16108,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13414,9 +16130,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13436,9 +16152,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13458,9 +16174,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13480,20 +16196,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13513,9 +16229,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13535,9 +16251,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13557,20 +16273,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13590,20 +16306,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13623,9 +16339,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13645,20 +16361,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13678,9 +16394,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13700,20 +16416,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13733,20 +16449,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13766,9 +16482,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13788,20 +16504,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13821,9 +16537,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13843,9 +16559,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13865,20 +16581,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13898,9 +16614,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13920,9 +16636,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13942,20 +16658,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13975,20 +16691,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14008,9 +16724,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14030,9 +16746,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14052,9 +16768,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14074,9 +16790,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14096,20 +16812,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14129,20 +16845,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14162,9 +16878,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14184,9 +16900,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14206,9 +16922,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14228,9 +16944,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14250,20 +16966,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14283,9 +16999,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14305,20 +17021,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14338,20 +17054,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14371,9 +17087,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14393,9 +17109,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&logicalIndex2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&logicalIndex2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14415,20 +17131,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14448,9 +17164,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14470,9 +17186,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14492,9 +17208,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14514,9 +17230,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14536,9 +17252,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14558,9 +17274,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14580,20 +17296,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&logicalIndex0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&logicalIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sectionSizeFromContents", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14613,9 +17329,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14635,20 +17351,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14668,9 +17384,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14690,20 +17406,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14723,9 +17439,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14745,9 +17461,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14767,9 +17483,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&flags1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&flags1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14789,9 +17505,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14811,9 +17527,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&v0}; + void* args[2] = {nullptr, (void*)&v0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14833,9 +17549,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14855,20 +17571,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14888,9 +17604,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14910,20 +17626,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14943,20 +17659,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&column0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14976,20 +17692,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&row0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15009,9 +17725,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15031,9 +17747,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15053,9 +17769,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15075,9 +17791,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15097,9 +17813,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15119,9 +17835,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15141,20 +17857,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15174,9 +17890,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15196,9 +17912,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15218,20 +17934,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15251,20 +17967,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15284,20 +18000,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15317,20 +18033,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15350,20 +18066,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15383,9 +18099,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui3.h b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui3.h index 0d5025c14..72b8d5bf9 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui3.h +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui3.h @@ -71,6 +71,7 @@ #include #include #include +#include #include #include #include @@ -83,48 +84,48 @@ class PythonQtShell_QGraphicsPixmapItem : public QGraphicsPixmapItem { public: - PythonQtShell_QGraphicsPixmapItem(QGraphicsItem* parent = nullptr):QGraphicsPixmapItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = nullptr):QGraphicsPixmapItem(pixmap, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsPixmapItem(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsPixmapItem(QGraphicsItem* parent = nullptr):QGraphicsPixmapItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = nullptr):QGraphicsPixmapItem(pixmap, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsPixmapItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsPixmapItem : public QGraphicsPixmapItem @@ -155,7 +156,7 @@ enum enum_1{ public slots: QGraphicsPixmapItem* new_QGraphicsPixmapItem(QGraphicsItem* parent = nullptr); QGraphicsPixmapItem* new_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = nullptr); -void delete_QGraphicsPixmapItem(QGraphicsPixmapItem* obj) { delete obj; } +void delete_QGraphicsPixmapItem(QGraphicsPixmapItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsPixmapItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_boundingRect());} bool py_q_contains(QGraphicsPixmapItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_contains(point));} QVariant py_q_extension(QGraphicsPixmapItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_extension(variant));} @@ -184,23 +185,48 @@ void delete_QGraphicsPixmapItem(QGraphicsPixmapItem* obj) { delete obj; } class PythonQtShell_QGraphicsPolygonItem : public QGraphicsPolygonItem { public: - PythonQtShell_QGraphicsPolygonItem(QGraphicsItem* parent = nullptr):QGraphicsPolygonItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent = nullptr):QGraphicsPolygonItem(polygon, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsPolygonItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsPolygonItem(QGraphicsItem* parent = nullptr):QGraphicsPolygonItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent = nullptr):QGraphicsPolygonItem(polygon, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsPolygonItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsPolygonItem : public QGraphicsPolygonItem @@ -229,28 +255,20 @@ enum enum_1{ public slots: QGraphicsPolygonItem* new_QGraphicsPolygonItem(QGraphicsItem* parent = nullptr); QGraphicsPolygonItem* new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent = nullptr); -void delete_QGraphicsPolygonItem(QGraphicsPolygonItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsPolygonItem* theWrappedObject) const; +void delete_QGraphicsPolygonItem(QGraphicsPolygonItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const; bool py_q_contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsPolygonItem* theWrappedObject, const QVariant& variant) const; QVariant py_q_extension(QGraphicsPolygonItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_extension(variant));} Qt::FillRule fillRule(QGraphicsPolygonItem* theWrappedObject) const; bool py_q_isObscuredBy(QGraphicsPolygonItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_isObscuredBy(item));} QPainterPath py_q_opaqueArea(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsPolygonItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsPolygonItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_paint(painter, option, widget));} QPolygonF polygon(QGraphicsPolygonItem* theWrappedObject) const; - void setExtension(QGraphicsPolygonItem* theWrappedObject, int extension, const QVariant& variant); void py_q_setExtension(QGraphicsPolygonItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_setExtension(extension, variant));} void setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule); void setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon); - QPainterPath shape(QGraphicsPolygonItem* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsPolygonItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsPolygonItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_supportsExtension(extension));} - int type(QGraphicsPolygonItem* theWrappedObject) const; int py_q_type(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_type());} }; @@ -261,65 +279,75 @@ void delete_QGraphicsPolygonItem(QGraphicsPolygonItem* obj) { delete obj; } class PythonQtShell_QGraphicsProxyWidget : public QGraphicsProxyWidget { public: - PythonQtShell_QGraphicsProxyWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()):QGraphicsProxyWidget(parent, wFlags),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsProxyWidget(); - -virtual QRectF boundingRect() const; -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void grabKeyboardEvent(QEvent* event); -virtual void grabMouseEvent(QEvent* event); -virtual void hideEvent(QHideEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void initStyleOption(QStyleOption* option) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual void moveEvent(QGraphicsSceneMoveEvent* event); -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void polishEvent(); -virtual QVariant propertyChange(const QString& propertyName, const QVariant& value); -virtual void resizeEvent(QGraphicsSceneResizeEvent* event); -virtual bool sceneEvent(QEvent* event); -virtual void setGeometry(const QRectF& rect); -virtual QPainterPath shape() const; -virtual void showEvent(QShowEvent* event); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void timerEvent(QTimerEvent* event); -virtual int type() const; -virtual void ungrabKeyboardEvent(QEvent* event); -virtual void ungrabMouseEvent(QEvent* event); -virtual void updateGeometry(); -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); -virtual bool windowFrameEvent(QEvent* e); -virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsProxyWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()):QGraphicsProxyWidget(parent, wFlags),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsProxyWidget() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void grabKeyboardEvent(QEvent* event) override; +void grabMouseEvent(QEvent* event) override; +void hideEvent(QHideEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void initStyleOption(QStyleOption* option) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +void moveEvent(QGraphicsSceneMoveEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override; +void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +void polishEvent() override; +QVariant propertyChange(const QString& propertyName, const QVariant& value) override; +void resizeEvent(QGraphicsSceneResizeEvent* event) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +void setGeometry(const QRectF& rect) override; +QPainterPath shape() const override; +void showEvent(QShowEvent* event) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void ungrabKeyboardEvent(QEvent* event) override; +void ungrabMouseEvent(QEvent* event) override; +void updateGeometry() override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; +bool windowFrameEvent(QEvent* e) override; +Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsProxyWidget : public QGraphicsProxyWidget @@ -396,17 +424,12 @@ enum enum_1{ Type = QGraphicsProxyWidget::Type}; public slots: QGraphicsProxyWidget* new_QGraphicsProxyWidget(PythonQtNewOwnerOfThis parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()); -void delete_QGraphicsProxyWidget(QGraphicsProxyWidget* obj) { delete obj; } - void contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event); +void delete_QGraphicsProxyWidget(QGraphicsProxyWidget* obj) { delete obj; } void py_q_contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_contextMenuEvent(event));} QGraphicsProxyWidget* createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child); - void dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragEnterEvent(event));} - void dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragLeaveEvent(event));} - void dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragMoveEvent(event));} - void dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dropEvent(event));} bool py_q_event(QGraphicsProxyWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_event(event));} bool py_q_eventFilter(QGraphicsProxyWidget* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_eventFilter(object, event));} @@ -415,26 +438,17 @@ void delete_QGraphicsProxyWidget(QGraphicsProxyWidget* obj) { delete obj; } void py_q_focusOutEvent(QGraphicsProxyWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_focusOutEvent(event));} void py_q_grabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_grabMouseEvent(event));} void py_q_hideEvent(QGraphicsProxyWidget* theWrappedObject, QHideEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hideEvent(event));} - void hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverEnterEvent(event));} void py_q_hoverLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverLeaveEvent(event));} void py_q_hoverMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverMoveEvent(event));} - void inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event); void py_q_inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_inputMethodEvent(event));} - QVariant inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const; QVariant py_q_inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_inputMethodQuery(query));} QVariant py_q_itemChange(QGraphicsProxyWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_itemChange(change, value));} - void keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event); void py_q_keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_keyPressEvent(event));} - void keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event); void py_q_keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_keyReleaseEvent(event));} - void mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} - void mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseMoveEvent(event));} - void mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mousePressEvent(event));} - void mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseReleaseEvent(event));} void py_q_paint(QGraphicsProxyWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_paint(painter, option, widget));} void py_q_resizeEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneResizeEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_resizeEvent(event));} @@ -445,7 +459,6 @@ void delete_QGraphicsProxyWidget(QGraphicsProxyWidget* obj) { delete obj; } QRectF subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const; int py_q_type(QGraphicsProxyWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_type());} void py_q_ungrabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_ungrabMouseEvent(event));} - void wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event); void py_q_wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_wheelEvent(event));} QWidget* widget(QGraphicsProxyWidget* theWrappedObject) const; }; @@ -457,24 +470,49 @@ void delete_QGraphicsProxyWidget(QGraphicsProxyWidget* obj) { delete obj; } class PythonQtShell_QGraphicsRectItem : public QGraphicsRectItem { public: - PythonQtShell_QGraphicsRectItem(QGraphicsItem* parent = nullptr):QGraphicsRectItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = nullptr):QGraphicsRectItem(rect, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr):QGraphicsRectItem(x, y, w, h, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsRectItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsRectItem(QGraphicsItem* parent = nullptr):QGraphicsRectItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = nullptr):QGraphicsRectItem(rect, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr):QGraphicsRectItem(x, y, w, h, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsRectItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsRectItem : public QGraphicsRectItem @@ -504,27 +542,19 @@ public slots: QGraphicsRectItem* new_QGraphicsRectItem(QGraphicsItem* parent = nullptr); QGraphicsRectItem* new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = nullptr); QGraphicsRectItem* new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr); -void delete_QGraphicsRectItem(QGraphicsRectItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsRectItem* theWrappedObject) const; +void delete_QGraphicsRectItem(QGraphicsRectItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const; bool py_q_contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsRectItem* theWrappedObject, const QVariant& variant) const; QVariant py_q_extension(QGraphicsRectItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_extension(variant));} bool py_q_isObscuredBy(QGraphicsRectItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_isObscuredBy(item));} QPainterPath py_q_opaqueArea(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsRectItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsRectItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_paint(painter, option, widget));} QRectF rect(QGraphicsRectItem* theWrappedObject) const; - void setExtension(QGraphicsRectItem* theWrappedObject, int extension, const QVariant& variant); void py_q_setExtension(QGraphicsRectItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_setExtension(extension, variant));} void setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect); void setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - QPainterPath shape(QGraphicsRectItem* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsRectItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsRectItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_supportsExtension(extension));} - int type(QGraphicsRectItem* theWrappedObject) const; int py_q_type(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_type());} }; @@ -535,20 +565,20 @@ void delete_QGraphicsRectItem(QGraphicsRectItem* obj) { delete obj; } class PythonQtShell_QGraphicsRotation : public QGraphicsRotation { public: - PythonQtShell_QGraphicsRotation(QObject* parent = nullptr):QGraphicsRotation(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsRotation(QObject* parent = nullptr):QGraphicsRotation(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsRotation(); + ~PythonQtShell_QGraphicsRotation() override; -virtual void applyTo(QMatrix4x4* matrix) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void applyTo(QMatrix4x4* matrix) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsRotation : public QGraphicsRotation @@ -561,7 +591,7 @@ class PythonQtWrapper_QGraphicsRotation : public QObject public: public slots: QGraphicsRotation* new_QGraphicsRotation(QObject* parent = nullptr); -void delete_QGraphicsRotation(QGraphicsRotation* obj) { delete obj; } +void delete_QGraphicsRotation(QGraphicsRotation* obj) { delete obj; } qreal angle(QGraphicsRotation* theWrappedObject) const; void py_q_applyTo(QGraphicsRotation* theWrappedObject, QMatrix4x4* matrix) const{ (((PythonQtPublicPromoter_QGraphicsRotation*)theWrappedObject)->py_q_applyTo(matrix));} QVector3D axis(QGraphicsRotation* theWrappedObject) const; @@ -579,20 +609,20 @@ void delete_QGraphicsRotation(QGraphicsRotation* obj) { delete obj; } class PythonQtShell_QGraphicsScale : public QGraphicsScale { public: - PythonQtShell_QGraphicsScale(QObject* parent = nullptr):QGraphicsScale(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsScale(QObject* parent = nullptr):QGraphicsScale(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsScale(); + ~PythonQtShell_QGraphicsScale() override; -virtual void applyTo(QMatrix4x4* matrix) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void applyTo(QMatrix4x4* matrix) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsScale : public QGraphicsScale @@ -605,7 +635,7 @@ class PythonQtWrapper_QGraphicsScale : public QObject public: public slots: QGraphicsScale* new_QGraphicsScale(QObject* parent = nullptr); -void delete_QGraphicsScale(QGraphicsScale* obj) { delete obj; } +void delete_QGraphicsScale(QGraphicsScale* obj) { delete obj; } void py_q_applyTo(QGraphicsScale* theWrappedObject, QMatrix4x4* matrix) const{ (((PythonQtPublicPromoter_QGraphicsScale*)theWrappedObject)->py_q_applyTo(matrix));} QVector3D origin(QGraphicsScale* theWrappedObject) const; void setOrigin(QGraphicsScale* theWrappedObject, const QVector3D& point); @@ -624,41 +654,41 @@ void delete_QGraphicsScale(QGraphicsScale* obj) { delete obj; } class PythonQtShell_QGraphicsScene : public QGraphicsScene { public: - PythonQtShell_QGraphicsScene(QObject* parent = nullptr):QGraphicsScene(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsScene(const QRectF& sceneRect, QObject* parent = nullptr):QGraphicsScene(sceneRect, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent = nullptr):QGraphicsScene(x, y, width, height, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsScene(); - -virtual void childEvent(QChildEvent* event); -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void drawBackground(QPainter* painter, const QRectF& rect); -virtual void drawForeground(QPainter* painter, const QRectF& rect); -virtual void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = nullptr); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void helpEvent(QGraphicsSceneHelpEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsScene(QObject* parent = nullptr):QGraphicsScene(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsScene(const QRectF& sceneRect, QObject* parent = nullptr):QGraphicsScene(sceneRect, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent = nullptr):QGraphicsScene(x, y, width, height, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsScene() override; + +void childEvent(QChildEvent* event) override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void drawBackground(QPainter* painter, const QRectF& rect) override; +void drawForeground(QPainter* painter, const QRectF& rect) override; +void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = nullptr) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void helpEvent(QGraphicsSceneHelpEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsScene : public QGraphicsScene @@ -723,7 +753,7 @@ public slots: QGraphicsScene* new_QGraphicsScene(QObject* parent = nullptr); QGraphicsScene* new_QGraphicsScene(const QRectF& sceneRect, QObject* parent = nullptr); QGraphicsScene* new_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent = nullptr); -void delete_QGraphicsScene(QGraphicsScene* obj) { delete obj; } +void delete_QGraphicsScene(QGraphicsScene* obj) { delete obj; } QGraphicsItem* activePanel(QGraphicsScene* theWrappedObject) const; QGraphicsWidget* activeWindow(QGraphicsScene* theWrappedObject) const; QGraphicsEllipseItem* addEllipse(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen = QPen(), const QBrush& brush = QBrush()); @@ -852,7 +882,7 @@ enum Reason{ Mouse = QGraphicsSceneContextMenuEvent::Mouse, Keyboard = QGraphicsSceneContextMenuEvent::Keyboard, Other = QGraphicsSceneContextMenuEvent::Other}; public slots: QGraphicsSceneContextMenuEvent* new_QGraphicsSceneContextMenuEvent(QEvent::Type type = QEvent::None); -void delete_QGraphicsSceneContextMenuEvent(QGraphicsSceneContextMenuEvent* obj) { delete obj; } +void delete_QGraphicsSceneContextMenuEvent(QGraphicsSceneContextMenuEvent* obj) { delete obj; } Qt::KeyboardModifiers modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const; QPointF pos(QGraphicsSceneContextMenuEvent* theWrappedObject) const; QGraphicsSceneContextMenuEvent::Reason reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const; @@ -874,7 +904,7 @@ class PythonQtWrapper_QGraphicsSceneDragDropEvent : public QObject public: public slots: QGraphicsSceneDragDropEvent* new_QGraphicsSceneDragDropEvent(QEvent::Type type = QEvent::None); -void delete_QGraphicsSceneDragDropEvent(QGraphicsSceneDragDropEvent* obj) { delete obj; } +void delete_QGraphicsSceneDragDropEvent(QGraphicsSceneDragDropEvent* obj) { delete obj; } void acceptProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject); Qt::MouseButtons buttons(QGraphicsSceneDragDropEvent* theWrappedObject) const; Qt::DropAction dropAction(QGraphicsSceneDragDropEvent* theWrappedObject) const; @@ -905,7 +935,7 @@ class PythonQtWrapper_QGraphicsSceneEvent : public QObject public: public slots: QGraphicsSceneEvent* new_QGraphicsSceneEvent(QEvent::Type type); -void delete_QGraphicsSceneEvent(QGraphicsSceneEvent* obj) { delete obj; } +void delete_QGraphicsSceneEvent(QGraphicsSceneEvent* obj) { delete obj; } QWidget* widget(QGraphicsSceneEvent* theWrappedObject) const; }; @@ -918,7 +948,7 @@ class PythonQtWrapper_QGraphicsSceneHelpEvent : public QObject public: public slots: QGraphicsSceneHelpEvent* new_QGraphicsSceneHelpEvent(QEvent::Type type = QEvent::None); -void delete_QGraphicsSceneHelpEvent(QGraphicsSceneHelpEvent* obj) { delete obj; } +void delete_QGraphicsSceneHelpEvent(QGraphicsSceneHelpEvent* obj) { delete obj; } QPointF scenePos(QGraphicsSceneHelpEvent* theWrappedObject) const; QPoint screenPos(QGraphicsSceneHelpEvent* theWrappedObject) const; void setScenePos(QGraphicsSceneHelpEvent* theWrappedObject, const QPointF& pos); @@ -934,7 +964,7 @@ class PythonQtWrapper_QGraphicsSceneHoverEvent : public QObject public: public slots: QGraphicsSceneHoverEvent* new_QGraphicsSceneHoverEvent(QEvent::Type type = QEvent::None); -void delete_QGraphicsSceneHoverEvent(QGraphicsSceneHoverEvent* obj) { delete obj; } +void delete_QGraphicsSceneHoverEvent(QGraphicsSceneHoverEvent* obj) { delete obj; } QPointF lastPos(QGraphicsSceneHoverEvent* theWrappedObject) const; QPointF lastScenePos(QGraphicsSceneHoverEvent* theWrappedObject) const; QPoint lastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject) const; @@ -960,7 +990,7 @@ class PythonQtWrapper_QGraphicsSceneMouseEvent : public QObject public: public slots: QGraphicsSceneMouseEvent* new_QGraphicsSceneMouseEvent(QEvent::Type type = QEvent::None); -void delete_QGraphicsSceneMouseEvent(QGraphicsSceneMouseEvent* obj) { delete obj; } +void delete_QGraphicsSceneMouseEvent(QGraphicsSceneMouseEvent* obj) { delete obj; } Qt::MouseButton button(QGraphicsSceneMouseEvent* theWrappedObject) const; QPointF buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; QPointF buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; @@ -1000,7 +1030,7 @@ class PythonQtWrapper_QGraphicsSceneMoveEvent : public QObject public: public slots: QGraphicsSceneMoveEvent* new_QGraphicsSceneMoveEvent(); -void delete_QGraphicsSceneMoveEvent(QGraphicsSceneMoveEvent* obj) { delete obj; } +void delete_QGraphicsSceneMoveEvent(QGraphicsSceneMoveEvent* obj) { delete obj; } QPointF newPos(QGraphicsSceneMoveEvent* theWrappedObject) const; QPointF oldPos(QGraphicsSceneMoveEvent* theWrappedObject) const; void setNewPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos); @@ -1016,7 +1046,7 @@ class PythonQtWrapper_QGraphicsSceneResizeEvent : public QObject public: public slots: QGraphicsSceneResizeEvent* new_QGraphicsSceneResizeEvent(); -void delete_QGraphicsSceneResizeEvent(QGraphicsSceneResizeEvent* obj) { delete obj; } +void delete_QGraphicsSceneResizeEvent(QGraphicsSceneResizeEvent* obj) { delete obj; } QSizeF newSize(QGraphicsSceneResizeEvent* theWrappedObject) const; QSizeF oldSize(QGraphicsSceneResizeEvent* theWrappedObject) const; void setNewSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size); @@ -1032,7 +1062,7 @@ class PythonQtWrapper_QGraphicsSceneWheelEvent : public QObject public: public slots: QGraphicsSceneWheelEvent* new_QGraphicsSceneWheelEvent(QEvent::Type type = QEvent::None); -void delete_QGraphicsSceneWheelEvent(QGraphicsSceneWheelEvent* obj) { delete obj; } +void delete_QGraphicsSceneWheelEvent(QGraphicsSceneWheelEvent* obj) { delete obj; } Qt::MouseButtons buttons(QGraphicsSceneWheelEvent* theWrappedObject) const; int delta(QGraphicsSceneWheelEvent* theWrappedObject) const; Qt::KeyboardModifiers modifiers(QGraphicsSceneWheelEvent* theWrappedObject) const; @@ -1056,23 +1086,48 @@ void delete_QGraphicsSceneWheelEvent(QGraphicsSceneWheelEvent* obj) { delete obj class PythonQtShell_QGraphicsSimpleTextItem : public QGraphicsSimpleTextItem { public: - PythonQtShell_QGraphicsSimpleTextItem(QGraphicsItem* parent = nullptr):QGraphicsSimpleTextItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = nullptr):QGraphicsSimpleTextItem(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsSimpleTextItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsSimpleTextItem(QGraphicsItem* parent = nullptr):QGraphicsSimpleTextItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = nullptr):QGraphicsSimpleTextItem(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsSimpleTextItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsSimpleTextItem : public QGraphicsSimpleTextItem @@ -1101,28 +1156,20 @@ enum enum_1{ public slots: QGraphicsSimpleTextItem* new_QGraphicsSimpleTextItem(QGraphicsItem* parent = nullptr); QGraphicsSimpleTextItem* new_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = nullptr); -void delete_QGraphicsSimpleTextItem(QGraphicsSimpleTextItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const; +void delete_QGraphicsSimpleTextItem(QGraphicsSimpleTextItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const; bool py_q_contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsSimpleTextItem* theWrappedObject, const QVariant& variant) const; QVariant py_q_extension(QGraphicsSimpleTextItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_extension(variant));} QFont font(QGraphicsSimpleTextItem* theWrappedObject) const; bool py_q_isObscuredBy(QGraphicsSimpleTextItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_isObscuredBy(item));} QPainterPath py_q_opaqueArea(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsSimpleTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); void py_q_paint(QGraphicsSimpleTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_paint(painter, option, widget));} - void setExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension, const QVariant& variant); void py_q_setExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_setExtension(extension, variant));} void setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font); void setText(QGraphicsSimpleTextItem* theWrappedObject, const QString& text); - QPainterPath shape(QGraphicsSimpleTextItem* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_supportsExtension(extension));} QString text(QGraphicsSimpleTextItem* theWrappedObject) const; - int type(QGraphicsSimpleTextItem* theWrappedObject) const; int py_q_type(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_type());} }; @@ -1133,49 +1180,55 @@ void delete_QGraphicsSimpleTextItem(QGraphicsSimpleTextItem* obj) { delete obj; class PythonQtShell_QGraphicsTextItem : public QGraphicsTextItem { public: - PythonQtShell_QGraphicsTextItem(QGraphicsItem* parent = nullptr):QGraphicsTextItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = nullptr):QGraphicsTextItem(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsTextItem(); - -virtual QRectF boundingRect() const; -virtual void childEvent(QChildEvent* event); -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual bool event(QEvent* ev); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual bool sceneEvent(QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual void timerEvent(QTimerEvent* event); -virtual int type() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsTextItem(QGraphicsItem* parent = nullptr):QGraphicsTextItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = nullptr):QGraphicsTextItem(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsTextItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void childEvent(QChildEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* ev) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsTextItem : public QGraphicsTextItem @@ -1242,65 +1295,39 @@ enum enum_1{ public slots: QGraphicsTextItem* new_QGraphicsTextItem(QGraphicsItem* parent = nullptr); QGraphicsTextItem* new_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = nullptr); -void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } +void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } void adjustSize(QGraphicsTextItem* theWrappedObject); - QRectF boundingRect(QGraphicsTextItem* theWrappedObject) const; QRectF py_q_boundingRect(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const; bool py_q_contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_contains(point));} - void contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event); void py_q_contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_contextMenuEvent(event));} QColor defaultTextColor(QGraphicsTextItem* theWrappedObject) const; QTextDocument* document(QGraphicsTextItem* theWrappedObject) const; - void dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragEnterEvent(event));} - void dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragLeaveEvent(event));} - void dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragMoveEvent(event));} - void dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dropEvent(event));} - QVariant extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const; QVariant py_q_extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_extension(variant));} - void focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event); void py_q_focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_focusInEvent(event));} - void focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event); void py_q_focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_focusOutEvent(event));} QFont font(QGraphicsTextItem* theWrappedObject) const; - void hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverEnterEvent(event));} - void hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverLeaveEvent(event));} - void hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverMoveEvent(event));} - void inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event); void py_q_inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_inputMethodEvent(event));} - QVariant inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const; QVariant py_q_inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_inputMethodQuery(query));} - bool isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const; bool py_q_isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_isObscuredBy(item));} - void keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event); void py_q_keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_keyPressEvent(event));} - void keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event); void py_q_keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_keyReleaseEvent(event));} - void mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} - void mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseMoveEvent(event));} - void mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mousePressEvent(event));} - void mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseReleaseEvent(event));} - QPainterPath opaqueArea(QGraphicsTextItem* theWrappedObject) const; QPainterPath py_q_opaqueArea(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_opaqueArea());} bool openExternalLinks(QGraphicsTextItem* theWrappedObject) const; - void paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); void py_q_paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_paint(painter, option, widget));} - bool sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event); bool py_q_sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_sceneEvent(event));} void setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c); void setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document); - void setExtension(QGraphicsTextItem* theWrappedObject, int extension, const QVariant& variant); void py_q_setExtension(QGraphicsTextItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_setExtension(extension, variant));} void setFont(QGraphicsTextItem* theWrappedObject, const QFont& font); void setHtml(QGraphicsTextItem* theWrappedObject, const QString& html); @@ -1310,9 +1337,7 @@ void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } void setTextCursor(QGraphicsTextItem* theWrappedObject, const QTextCursor& cursor); void setTextInteractionFlags(QGraphicsTextItem* theWrappedObject, Qt::TextInteractionFlags flags); void setTextWidth(QGraphicsTextItem* theWrappedObject, qreal width); - QPainterPath shape(QGraphicsTextItem* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsTextItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsTextItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_supportsExtension(extension));} bool tabChangesFocus(QGraphicsTextItem* theWrappedObject) const; QTextCursor textCursor(QGraphicsTextItem* theWrappedObject) const; @@ -1320,7 +1345,6 @@ void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } qreal textWidth(QGraphicsTextItem* theWrappedObject) const; QString toHtml(QGraphicsTextItem* theWrappedObject) const; QString toPlainText(QGraphicsTextItem* theWrappedObject) const; - int type(QGraphicsTextItem* theWrappedObject) const; int py_q_type(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_type());} }; @@ -1331,20 +1355,20 @@ void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } class PythonQtShell_QGraphicsTransform : public QGraphicsTransform { public: - PythonQtShell_QGraphicsTransform(QObject* parent = nullptr):QGraphicsTransform(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsTransform(QObject* parent = nullptr):QGraphicsTransform(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsTransform(); + ~PythonQtShell_QGraphicsTransform() override; -virtual void applyTo(QMatrix4x4* matrix) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void applyTo(QMatrix4x4* matrix) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsTransform : public QGraphicsTransform @@ -1358,7 +1382,7 @@ class PythonQtWrapper_QGraphicsTransform : public QObject public: public slots: QGraphicsTransform* new_QGraphicsTransform(QObject* parent = nullptr); -void delete_QGraphicsTransform(QGraphicsTransform* obj) { delete obj; } +void delete_QGraphicsTransform(QGraphicsTransform* obj) { delete obj; } void applyTo(QGraphicsTransform* theWrappedObject, QMatrix4x4* matrix) const; void py_q_applyTo(QGraphicsTransform* theWrappedObject, QMatrix4x4* matrix) const{ (((PythonQtPublicPromoter_QGraphicsTransform*)theWrappedObject)->py_q_applyTo(matrix));} }; @@ -1370,67 +1394,67 @@ void delete_QGraphicsTransform(QGraphicsTransform* obj) { delete obj; } class PythonQtShell_QGraphicsView : public QGraphicsView { public: - PythonQtShell_QGraphicsView(QGraphicsScene* scene, QWidget* parent = nullptr):QGraphicsView(scene, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsView(QWidget* parent = nullptr):QGraphicsView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void drawBackground(QPainter* painter, const QRectF& rect); -virtual void drawForeground(QPainter* painter, const QRectF& rect); -virtual void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* widget); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsView(QGraphicsScene* scene, QWidget* parent = nullptr):QGraphicsView(scene, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsView(QWidget* parent = nullptr):QGraphicsView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void drawBackground(QPainter* painter, const QRectF& rect) override; +void drawForeground(QPainter* painter, const QRectF& rect) override; +void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* widget) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsView : public QGraphicsView @@ -1505,7 +1529,7 @@ Q_DECLARE_FLAGS(OptimizationFlags, OptimizationFlag) public slots: QGraphicsView* new_QGraphicsView(QGraphicsScene* scene, QWidget* parent = nullptr); QGraphicsView* new_QGraphicsView(QWidget* parent = nullptr); -void delete_QGraphicsView(QGraphicsView* obj) { delete obj; } +void delete_QGraphicsView(QGraphicsView* obj) { delete obj; } Qt::Alignment alignment(QGraphicsView* theWrappedObject) const; QBrush backgroundBrush(QGraphicsView* theWrappedObject) const; QGraphicsView::CacheMode cacheMode(QGraphicsView* theWrappedObject) const; @@ -1622,50 +1646,75 @@ void delete_QGraphicsView(QGraphicsView* obj) { delete obj; } class PythonQtShell_QGraphicsWidget : public QGraphicsWidget { public: - PythonQtShell_QGraphicsWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()):QGraphicsWidget(parent, wFlags),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsWidget(); - -virtual QRectF boundingRect() const; -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void grabKeyboardEvent(QEvent* event); -virtual void grabMouseEvent(QEvent* event); -virtual void hideEvent(QHideEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void initStyleOption(QStyleOption* option) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void moveEvent(QGraphicsSceneMoveEvent* event); -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void polishEvent(); -virtual QVariant propertyChange(const QString& propertyName, const QVariant& value); -virtual void resizeEvent(QGraphicsSceneResizeEvent* event); -virtual bool sceneEvent(QEvent* event); -virtual void setGeometry(const QRectF& rect); -virtual QPainterPath shape() const; -virtual void showEvent(QShowEvent* event); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void timerEvent(QTimerEvent* event); -virtual int type() const; -virtual void ungrabKeyboardEvent(QEvent* event); -virtual void ungrabMouseEvent(QEvent* event); -virtual void updateGeometry(); -virtual bool windowFrameEvent(QEvent* e); -virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()):QGraphicsWidget(parent, wFlags),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsWidget() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void grabKeyboardEvent(QEvent* event) override; +void grabMouseEvent(QEvent* event) override; +void hideEvent(QHideEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void initStyleOption(QStyleOption* option) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +void moveEvent(QGraphicsSceneMoveEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +void polishEvent() override; +QVariant propertyChange(const QString& propertyName, const QVariant& value) override; +void resizeEvent(QGraphicsSceneResizeEvent* event) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +void setGeometry(const QRectF& rect) override; +QPainterPath shape() const override; +void showEvent(QShowEvent* event) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void ungrabKeyboardEvent(QEvent* event) override; +void ungrabMouseEvent(QEvent* event) override; +void updateGeometry() override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; +bool windowFrameEvent(QEvent* e) override; +Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsWidget : public QGraphicsWidget @@ -1737,24 +1786,21 @@ enum enum_1{ Type = QGraphicsWidget::Type}; public slots: QGraphicsWidget* new_QGraphicsWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()); -void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } +void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } QList actions(QGraphicsWidget* theWrappedObject) const; void addAction(QGraphicsWidget* theWrappedObject, QAction* action); void addActions(QGraphicsWidget* theWrappedObject, QList actions); void adjustSize(QGraphicsWidget* theWrappedObject); bool autoFillBackground(QGraphicsWidget* theWrappedObject) const; - QRectF boundingRect(QGraphicsWidget* theWrappedObject) const; QRectF py_q_boundingRect(QGraphicsWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_boundingRect());} void changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event); void py_q_changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_changeEvent(event));} void closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event); void py_q_closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_closeEvent(event));} bool py_q_event(QGraphicsWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_event(event));} - void focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event); void py_q_focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_focusInEvent(event));} bool focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next); bool py_q_focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_focusNextPrevChild(next));} - void focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event); void py_q_focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_focusOutEvent(event));} Qt::FocusPolicy focusPolicy(QGraphicsWidget* theWrappedObject) const; QGraphicsWidget* focusWidget(QGraphicsWidget* theWrappedObject) const; @@ -1768,22 +1814,18 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } int grabShortcut(QGraphicsWidget* theWrappedObject, const QKeySequence& sequence, Qt::ShortcutContext context = Qt::WindowShortcut); void hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event); void py_q_hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_hideEvent(event));} - void hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_hoverLeaveEvent(event));} - void hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_hoverMoveEvent(event));} void initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const; void py_q_initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const{ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_initStyleOption(option));} void insertAction(QGraphicsWidget* theWrappedObject, QAction* before, QAction* action); void insertActions(QGraphicsWidget* theWrappedObject, QAction* before, QList actions); bool isActiveWindow(QGraphicsWidget* theWrappedObject) const; - QVariant itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); QVariant py_q_itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_itemChange(change, value));} QGraphicsLayout* layout(QGraphicsWidget* theWrappedObject) const; Qt::LayoutDirection layoutDirection(QGraphicsWidget* theWrappedObject) const; void moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event); void py_q_moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_moveEvent(event));} - void paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_paint(painter, option, widget));} void paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_paintWindowFrame(painter, option, widget));} @@ -1799,7 +1841,6 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } void resize(QGraphicsWidget* theWrappedObject, qreal w, qreal h); void resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event); void py_q_resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_resizeEvent(event));} - bool sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event); bool py_q_sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_sceneEvent(event));} void setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on = true); void setAutoFillBackground(QGraphicsWidget* theWrappedObject, bool enabled); @@ -1818,7 +1859,6 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } void setWindowFlags(QGraphicsWidget* theWrappedObject, Qt::WindowFlags wFlags); void setWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); void setWindowTitle(QGraphicsWidget* theWrappedObject, const QString& title); - QPainterPath shape(QGraphicsWidget* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_shape());} void showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event); void py_q_showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_showEvent(event));} @@ -1826,7 +1866,6 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } QSizeF py_q_sizeHint(QGraphicsWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_sizeHint(which, constraint));} QStyle* style(QGraphicsWidget* theWrappedObject) const; bool testAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute) const; - int type(QGraphicsWidget* theWrappedObject) const; int py_q_type(QGraphicsWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_type());} void ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event); void py_q_ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_ungrabKeyboardEvent(event));} @@ -1853,38 +1892,40 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } class PythonQtShell_QGridLayout : public QGridLayout { public: - PythonQtShell_QGridLayout():QGridLayout(),_wrapper(NULL) {}; - PythonQtShell_QGridLayout(QWidget* parent):QGridLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGridLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual int count() const; -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual int indexOf(QWidget* arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayoutItem* itemAt(int index) const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QLayoutItem* takeAt(int index); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGridLayout():QGridLayout(),_wrapper(nullptr) {}; + PythonQtShell_QGridLayout(QWidget* parent):QGridLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGridLayout() override; + +void addItem(QLayoutItem* arg__1) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int index) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int index) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGridLayout : public QGridLayout @@ -1911,7 +1952,7 @@ class PythonQtWrapper_QGridLayout : public QObject public slots: QGridLayout* new_QGridLayout(); QGridLayout* new_QGridLayout(QWidget* parent); -void delete_QGridLayout(QGridLayout* obj) { delete obj; } +void delete_QGridLayout(QGridLayout* obj) { delete obj; } void py_q_addItem(QGridLayout* theWrappedObject, QLayoutItem* arg__1){ (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_addItem(arg__1));} void addItem(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan = 1, int columnSpan = 1, Qt::Alignment arg__6 = Qt::Alignment()); void addLayout(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4 = Qt::Alignment()); @@ -1924,16 +1965,13 @@ void delete_QGridLayout(QGridLayout* obj) { delete obj; } int columnStretch(QGridLayout* theWrappedObject, int column) const; int py_q_count(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_count());} Qt::Orientations py_q_expandingDirections(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_expandingDirections());} - bool hasHeightForWidth(QGridLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QGridLayout* theWrappedObject, int arg__1) const; int py_q_heightForWidth(QGridLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_heightForWidth(arg__1));} int horizontalSpacing(QGridLayout* theWrappedObject) const; void py_q_invalidate(QGridLayout* theWrappedObject){ (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_invalidate());} QLayoutItem* py_q_itemAt(QGridLayout* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_itemAt(index));} QLayoutItem* itemAtPosition(QGridLayout* theWrappedObject, int row, int column) const; QSize py_q_maximumSize(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_maximumSize());} - int minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const; int py_q_minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_minimumHeightForWidth(arg__1));} QSize py_q_minimumSize(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_minimumSize());} Qt::Corner originCorner(QGridLayout* theWrappedObject) const; @@ -1950,7 +1988,6 @@ void delete_QGridLayout(QGridLayout* obj) { delete obj; } void setRowStretch(QGridLayout* theWrappedObject, int row, int stretch); void setSpacing(QGridLayout* theWrappedObject, int spacing); void setVerticalSpacing(QGridLayout* theWrappedObject, int spacing); - QSize sizeHint(QGridLayout* theWrappedObject) const; QSize py_q_sizeHint(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_sizeHint());} int spacing(QGridLayout* theWrappedObject) const; QLayoutItem* py_q_takeAt(QGridLayout* theWrappedObject, int index){ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_takeAt(index));} @@ -1965,60 +2002,60 @@ void delete_QGridLayout(QGridLayout* obj) { delete obj; } class PythonQtShell_QGroupBox : public QGroupBox { public: - PythonQtShell_QGroupBox(QWidget* parent = nullptr):QGroupBox(parent),_wrapper(NULL) {}; - PythonQtShell_QGroupBox(const QString& title, QWidget* parent = nullptr):QGroupBox(title, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGroupBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGroupBox(QWidget* parent = nullptr):QGroupBox(parent),_wrapper(nullptr) {}; + PythonQtShell_QGroupBox(const QString& title, QWidget* parent = nullptr):QGroupBox(title, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGroupBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGroupBox : public QGroupBox @@ -2051,7 +2088,7 @@ class PythonQtWrapper_QGroupBox : public QObject public slots: QGroupBox* new_QGroupBox(QWidget* parent = nullptr); QGroupBox* new_QGroupBox(const QString& title, QWidget* parent = nullptr); -void delete_QGroupBox(QGroupBox* obj) { delete obj; } +void delete_QGroupBox(QGroupBox* obj) { delete obj; } Qt::Alignment alignment(QGroupBox* theWrappedObject) const; void py_q_changeEvent(QGroupBox* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_changeEvent(event));} void py_q_childEvent(QGroupBox* theWrappedObject, QChildEvent* event){ (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_childEvent(event));} @@ -2090,7 +2127,7 @@ class PythonQtWrapper_QGuiApplication : public QObject { Q_OBJECT public: public slots: -void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } +void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } QList static_QGuiApplication_allWindows(); QString static_QGuiApplication_applicationDisplayName(); Qt::ApplicationState static_QGuiApplication_applicationState(); @@ -2150,38 +2187,40 @@ void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } class PythonQtShell_QHBoxLayout : public QHBoxLayout { public: - PythonQtShell_QHBoxLayout():QHBoxLayout(),_wrapper(NULL) {}; - PythonQtShell_QHBoxLayout(QWidget* parent):QHBoxLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QHBoxLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual int count() const; -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual int indexOf(QWidget* arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayoutItem* itemAt(int arg__1) const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QLayoutItem* takeAt(int arg__1); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QHBoxLayout():QHBoxLayout(),_wrapper(nullptr) {}; + PythonQtShell_QHBoxLayout(QWidget* parent):QHBoxLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QHBoxLayout() override; + +void addItem(QLayoutItem* arg__1) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int arg__1) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int arg__1) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QHBoxLayout : public QObject @@ -2190,7 +2229,7 @@ class PythonQtWrapper_QHBoxLayout : public QObject public slots: QHBoxLayout* new_QHBoxLayout(); QHBoxLayout* new_QHBoxLayout(QWidget* parent); -void delete_QHBoxLayout(QHBoxLayout* obj) { delete obj; } +void delete_QHBoxLayout(QHBoxLayout* obj) { delete obj; } bool __nonzero__(QHBoxLayout* obj) { return !obj->isEmpty(); } }; @@ -2201,103 +2240,103 @@ void delete_QHBoxLayout(QHBoxLayout* obj) { delete obj; } class PythonQtShell_QHeaderView : public QHeaderView { public: - PythonQtShell_QHeaderView(Qt::Orientation orientation, QWidget* parent = nullptr):QHeaderView(orientation, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QHeaderView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& old); -virtual void customEvent(QEvent* event); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* e); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction arg__1, Qt::KeyboardModifiers arg__2); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); -virtual QSize sectionSizeFromContents(int logicalIndex) const; -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags flags); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool v); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* e); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QHeaderView(Qt::Orientation orientation, QWidget* parent = nullptr):QHeaderView(orientation, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QHeaderView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& old) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* e) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction arg__1, Qt::KeyboardModifiers arg__2) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +void paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) override; +QSize sectionSizeFromContents(int logicalIndex) const override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags flags) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool v) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* e) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QHeaderView : public QHeaderView @@ -2368,7 +2407,7 @@ class PythonQtWrapper_QHeaderView : public QObject public: public slots: QHeaderView* new_QHeaderView(Qt::Orientation orientation, QWidget* parent = nullptr); -void delete_QHeaderView(QHeaderView* obj) { delete obj; } +void delete_QHeaderView(QHeaderView* obj) { delete obj; } bool cascadingSectionResizes(QHeaderView* theWrappedObject) const; int count(QHeaderView* theWrappedObject) const; void py_q_currentChanged(QHeaderView* theWrappedObject, const QModelIndex& current, const QModelIndex& old){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_currentChanged(current, old));} @@ -2473,7 +2512,7 @@ class PythonQtWrapper_QHelpEvent : public QObject public: public slots: QHelpEvent* new_QHelpEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos); -void delete_QHelpEvent(QHelpEvent* obj) { delete obj; } +void delete_QHelpEvent(QHelpEvent* obj) { delete obj; } const QPoint* globalPos(QHelpEvent* theWrappedObject) const; int globalX(QHelpEvent* theWrappedObject) const; int globalY(QHelpEvent* theWrappedObject) const; @@ -2491,7 +2530,7 @@ class PythonQtWrapper_QHideEvent : public QObject public: public slots: QHideEvent* new_QHideEvent(); -void delete_QHideEvent(QHideEvent* obj) { delete obj; } +void delete_QHideEvent(QHideEvent* obj) { delete obj; } }; @@ -2501,12 +2540,12 @@ void delete_QHideEvent(QHideEvent* obj) { delete obj; } class PythonQtShell_QHoverEvent : public QHoverEvent { public: - PythonQtShell_QHoverEvent(QEvent::Type type, const QPointF& pos, const QPointF& oldPos, Qt::KeyboardModifiers modifiers = Qt::NoModifier):QHoverEvent(type, pos, oldPos, modifiers),_wrapper(NULL) {}; + PythonQtShell_QHoverEvent(QEvent::Type type, const QPointF& pos, const QPointF& oldPos, Qt::KeyboardModifiers modifiers = Qt::NoModifier):QHoverEvent(type, pos, oldPos, modifiers),_wrapper(nullptr) {}; - ~PythonQtShell_QHoverEvent(); + ~PythonQtShell_QHoverEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QHoverEvent : public QObject @@ -2514,7 +2553,7 @@ class PythonQtWrapper_QHoverEvent : public QObject public: public slots: QHoverEvent* new_QHoverEvent(QEvent::Type type, const QPointF& pos, const QPointF& oldPos, Qt::KeyboardModifiers modifiers = Qt::NoModifier); -void delete_QHoverEvent(QHoverEvent* obj) { delete obj; } +void delete_QHoverEvent(QHoverEvent* obj) { delete obj; } QPoint oldPos(QHoverEvent* theWrappedObject) const; const QPointF* oldPosF(QHoverEvent* theWrappedObject) const; QPoint pos(QHoverEvent* theWrappedObject) const; @@ -2530,7 +2569,7 @@ class PythonQtWrapper_QIconDragEvent : public QObject public: public slots: QIconDragEvent* new_QIconDragEvent(); -void delete_QIconDragEvent(QIconDragEvent* obj) { delete obj; } +void delete_QIconDragEvent(QIconDragEvent* obj) { delete 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..872fe7c30 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 @@ -76,6 +76,7 @@ #include #include #include +#include #include #include #include @@ -96,20 +97,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QSize returnValue; - void* args[4] = {NULL, (void*)&size0, (void*)&mode1, (void*)&state2}; + QSize returnValue{}; + void* args[4] = {nullptr, (void*)&size0, (void*)&mode1, (void*)&state2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("actualSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -129,9 +130,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&fileName0, (void*)&size1, (void*)&mode2, (void*)&state3}; + void* args[5] = {nullptr, (void*)&fileName0, (void*)&size1, (void*)&mode2, (void*)&state3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -151,9 +152,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QPixmap&" , "QIcon::Mode" , "QIcon::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&pixmap0, (void*)&mode1, (void*)&state2}; + void* args[4] = {nullptr, (void*)&pixmap0, (void*)&mode1, (void*)&state2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -173,20 +174,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "QIcon::Mode" , "QIcon::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QList returnValue; - void* args[3] = {NULL, (void*)&mode0, (void*)&state1}; + QList returnValue{}; + void* args[3] = {nullptr, (void*)&mode0, (void*)&state1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableSizes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -206,20 +207,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QIconEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QIconEngine* returnValue; - void* args[1] = {NULL}; + QIconEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); } else { returnValue = *((QIconEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -227,7 +228,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QString PythonQtShell_QIconEngine::iconName() const { @@ -239,20 +240,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("iconName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -272,20 +273,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("key", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -305,9 +306,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "QIcon::Mode" , "QIcon::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&mode2, (void*)&state3}; + void* args[5] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&mode2, (void*)&state3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -327,20 +328,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPixmap" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&size0, (void*)&mode1, (void*)&state2}; + QPixmap returnValue{}; + void* args[4] = {nullptr, (void*)&size0, (void*)&mode1, (void*)&state2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pixmap", methodInfo, result); } else { returnValue = *((QPixmap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -360,20 +361,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&in0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -393,9 +394,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "void*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&id0, (void*)&data1}; + void* args[3] = {nullptr, (void*)&id0, (void*)&data1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -415,20 +416,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&out0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("write", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -532,20 +533,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -565,20 +566,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("currentImageNumber", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -598,20 +599,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("currentImageRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -631,20 +632,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("imageCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -664,20 +665,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&imageNumber0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&imageNumber0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("jumpToImage", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -697,20 +698,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("jumpToNextImage", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -730,20 +731,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("loopCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -763,20 +764,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextImageDelay", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -796,20 +797,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "QImageIOHandler::ImageOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&option0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("option", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -829,20 +830,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QImage*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&image0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&image0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -862,9 +863,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QImageIOHandler::ImageOption" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -884,20 +885,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QImageIOHandler::ImageOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&option0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsOption", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -917,20 +918,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QImage&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&image0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&image0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("write", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1045,20 +1046,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QImageIOPlugin::Capabilities" , "QIODevice*" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QImageIOPlugin::Capabilities returnValue; - void* args[3] = {NULL, (void*)&device0, (void*)&format1}; + QImageIOPlugin::Capabilities returnValue{}; + void* args[3] = {nullptr, (void*)&device0, (void*)&format1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("capabilities", methodInfo, result); } else { returnValue = *((QImageIOPlugin::Capabilities*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1078,9 +1079,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1100,20 +1101,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QImageIOHandler*" , "QIODevice*" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QImageIOHandler* returnValue; - void* args[3] = {NULL, (void*)&device0, (void*)&format1}; + QImageIOHandler* returnValue{}; + void* args[3] = {nullptr, (void*)&device0, (void*)&format1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((QImageIOHandler**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1121,7 +1122,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QImageIOPlugin::customEvent(QEvent* event0) { @@ -1133,9 +1134,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1155,20 +1156,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1188,20 +1189,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1221,9 +1222,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1694,9 +1695,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1716,9 +1717,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1738,9 +1739,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1760,9 +1761,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1782,9 +1783,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1804,9 +1805,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1826,9 +1827,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1848,20 +1849,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1881,9 +1882,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1903,9 +1904,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1925,9 +1926,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1947,9 +1948,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1969,9 +1970,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1991,9 +1992,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2013,20 +2014,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2046,20 +2047,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2079,20 +2080,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2112,9 +2113,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2134,20 +2135,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2167,9 +2168,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2189,20 +2190,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2222,20 +2223,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2255,9 +2256,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2277,9 +2278,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2299,9 +2300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2321,20 +2322,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2354,9 +2355,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2376,9 +2377,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2398,9 +2399,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2420,20 +2421,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2453,20 +2454,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2486,9 +2487,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2508,9 +2509,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2530,9 +2531,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2552,9 +2553,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2574,9 +2575,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2596,20 +2597,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2629,20 +2630,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2662,9 +2663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2684,20 +2685,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2717,9 +2718,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2739,9 +2740,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2761,9 +2762,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2783,20 +2784,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2816,9 +2817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2838,20 +2839,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2871,9 +2872,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2893,9 +2894,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2915,9 +2916,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3376,9 +3377,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3398,9 +3399,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3420,20 +3421,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3453,20 +3454,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3486,9 +3487,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3508,9 +3509,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&bottom0, (void*)&top1}; + void* args[3] = {nullptr, (void*)&bottom0, (void*)&top1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3530,9 +3531,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3552,20 +3553,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3637,9 +3638,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3659,20 +3660,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QWidget* returnValue; - void* args[4] = {NULL, (void*)&parent0, (void*)&option1, (void*)&index2}; + QWidget* returnValue{}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3692,9 +3693,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3714,9 +3715,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3736,9 +3737,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "Qt::CheckState"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&state3}; + void* args[5] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&state3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3758,9 +3759,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "const QPixmap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&pixmap3}; + void* args[5] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&pixmap3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3780,9 +3781,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&text3}; + void* args[5] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&text3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3802,9 +3803,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&rect2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&rect2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3824,20 +3825,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3857,20 +3858,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3890,20 +3891,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3923,20 +3924,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3956,9 +3957,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3978,20 +3979,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVector"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVector returnValue; - void* args[1] = {NULL}; + QVector returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); } else { returnValue = *((QVector*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4011,9 +4012,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4033,9 +4034,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&model1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&editor0, (void*)&model1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4055,20 +4056,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSize returnValue; - void* args[3] = {NULL, (void*)&option0, (void*)&index1}; + QSize returnValue{}; + void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4088,9 +4089,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4110,9 +4111,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&editor0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4225,20 +4226,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QWidget*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QWidget* returnValue; - void* args[2] = {NULL, (void*)&parent0}; + QWidget* returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4246,7 +4247,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const { @@ -4258,20 +4259,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QByteArray"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QByteArray returnValue; - void* args[1] = {NULL}; + QByteArray returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); } else { returnValue = *((QByteArray*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4311,20 +4312,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QWidget*" , "int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QWidget* returnValue; - void* args[3] = {NULL, (void*)&userType0, (void*)&parent1}; + QWidget* returnValue{}; + void* args[3] = {nullptr, (void*)&userType0, (void*)&parent1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4344,20 +4345,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QByteArray" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QByteArray returnValue; - void* args[2] = {NULL, (void*)&userType0}; + QByteArray returnValue{}; + void* args[2] = {nullptr, (void*)&userType0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); } else { returnValue = *((QByteArray*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4447,9 +4448,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4469,9 +4470,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4491,9 +4492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4513,9 +4514,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4535,20 +4536,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4568,20 +4569,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4601,9 +4602,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4623,9 +4624,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selection0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&selection0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4645,9 +4646,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4667,9 +4668,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4689,9 +4690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5007,9 +5008,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5029,9 +5030,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5051,20 +5052,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5084,20 +5085,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5117,20 +5118,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5150,9 +5151,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5172,9 +5173,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5241,9 +5242,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5263,9 +5264,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5285,9 +5286,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5307,9 +5308,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5329,9 +5330,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5351,9 +5352,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5373,20 +5374,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5406,9 +5407,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5428,9 +5429,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5450,9 +5451,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5472,9 +5473,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5494,9 +5495,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5516,20 +5517,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5549,20 +5550,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5582,9 +5583,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5604,20 +5605,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5637,9 +5638,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5659,20 +5660,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5692,20 +5693,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5725,9 +5726,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5747,9 +5748,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5769,9 +5770,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5791,20 +5792,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5824,9 +5825,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5846,9 +5847,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5868,9 +5869,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5890,20 +5891,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5923,20 +5924,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5956,9 +5957,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5978,9 +5979,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6000,9 +6001,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6022,9 +6023,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6044,9 +6045,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6066,20 +6067,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6099,20 +6100,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6132,9 +6133,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6154,20 +6155,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6187,9 +6188,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6209,9 +6210,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6231,20 +6232,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6264,9 +6265,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6286,20 +6287,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6319,9 +6320,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6341,9 +6342,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6363,9 +6364,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6417,9 +6418,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6439,9 +6440,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6461,9 +6462,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6483,9 +6484,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6505,9 +6506,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6527,9 +6528,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6549,20 +6550,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6582,9 +6583,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6604,9 +6605,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6626,9 +6627,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6648,9 +6649,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6670,9 +6671,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6692,20 +6693,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6725,20 +6726,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6758,9 +6759,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6780,20 +6781,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6813,9 +6814,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6835,20 +6836,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6868,20 +6869,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6901,9 +6902,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6923,9 +6924,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6945,9 +6946,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6967,20 +6968,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7000,9 +7001,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7022,9 +7023,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7044,9 +7045,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7066,20 +7067,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7099,20 +7100,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7132,9 +7133,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7154,9 +7155,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7176,9 +7177,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7198,9 +7199,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7220,9 +7221,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7242,20 +7243,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7275,20 +7276,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7308,9 +7309,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7330,20 +7331,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7363,9 +7364,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7385,9 +7386,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7407,20 +7408,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7440,9 +7441,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7462,20 +7463,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7495,9 +7496,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7517,9 +7518,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7539,9 +7540,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7643,9 +7644,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7665,9 +7666,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7687,9 +7688,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7709,9 +7710,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7731,9 +7732,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7753,9 +7754,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7775,20 +7776,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7808,9 +7809,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7830,9 +7831,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7852,9 +7853,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7874,9 +7875,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7896,9 +7897,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7918,20 +7919,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7951,20 +7952,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7984,9 +7985,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8006,20 +8007,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8039,9 +8040,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8061,20 +8062,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8094,20 +8095,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8127,9 +8128,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8149,9 +8150,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8171,9 +8172,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8193,20 +8194,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8226,9 +8227,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8248,9 +8249,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8270,9 +8271,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8292,20 +8293,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8325,20 +8326,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8358,9 +8359,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8380,9 +8381,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8402,9 +8403,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8424,9 +8425,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8446,9 +8447,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8468,20 +8469,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8501,20 +8502,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8534,9 +8535,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8556,20 +8557,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8589,9 +8590,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8611,9 +8612,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8633,20 +8634,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8666,9 +8667,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8688,20 +8689,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8721,9 +8722,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8743,9 +8744,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8765,9 +8766,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8949,9 +8950,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8971,9 +8972,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8993,20 +8994,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9026,20 +9027,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9059,9 +9060,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9081,20 +9082,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9114,20 +9115,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9147,20 +9148,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9180,20 +9181,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9213,20 +9214,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9246,20 +9247,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9279,20 +9280,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9312,9 +9313,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9334,20 +9335,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9367,20 +9368,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9388,7 +9389,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QLayout* PythonQtShell_QLayout::layout() { @@ -9400,20 +9401,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9433,20 +9434,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9466,20 +9467,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9499,20 +9500,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9532,9 +9533,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9554,20 +9555,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9587,20 +9588,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSpacerItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue; - void* args[1] = {NULL}; + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9620,20 +9621,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9641,7 +9642,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QLayout::timerEvent(QTimerEvent* event0) { @@ -9653,9 +9654,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9675,20 +9676,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue; - void* args[1] = {NULL}; + QWidget* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9920,20 +9921,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9953,20 +9954,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9986,20 +9987,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10019,20 +10020,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10052,20 +10053,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10085,9 +10086,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10107,20 +10108,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10140,20 +10141,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10173,20 +10174,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10206,20 +10207,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10239,20 +10240,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10272,9 +10273,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10294,20 +10295,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10327,20 +10328,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSpacerItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue; - void* args[1] = {NULL}; + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10360,20 +10361,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue; - void* args[1] = {NULL}; + QWidget* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10488,9 +10489,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10510,9 +10511,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10532,9 +10533,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10554,9 +10555,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10576,9 +10577,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10598,9 +10599,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10620,20 +10621,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10653,9 +10654,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10675,9 +10676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10697,9 +10698,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10719,9 +10720,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10741,9 +10742,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10763,20 +10764,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10796,20 +10797,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10829,9 +10830,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10851,20 +10852,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10884,9 +10885,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10906,20 +10907,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10939,20 +10940,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10972,9 +10973,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10994,9 +10995,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11016,9 +11017,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11038,20 +11039,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11071,9 +11072,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11093,9 +11094,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11115,9 +11116,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11137,20 +11138,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11170,20 +11171,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11203,9 +11204,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11225,9 +11226,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11247,9 +11248,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11269,9 +11270,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11291,9 +11292,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11313,20 +11314,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11346,20 +11347,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11379,9 +11380,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11401,20 +11402,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11434,9 +11435,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11456,9 +11457,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11478,20 +11479,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11511,9 +11512,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11533,20 +11534,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11566,9 +11567,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11588,9 +11589,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11610,9 +11611,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12013,9 +12014,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12035,9 +12036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12057,9 +12058,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12079,9 +12080,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12101,9 +12102,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12123,9 +12124,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12145,9 +12146,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12167,9 +12168,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12189,9 +12190,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12211,9 +12212,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12233,20 +12234,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12266,9 +12267,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12288,9 +12289,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12310,9 +12311,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12332,9 +12333,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12354,9 +12355,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12376,20 +12377,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12409,9 +12410,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12431,9 +12432,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12453,20 +12454,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12486,20 +12487,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12519,9 +12520,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12541,20 +12542,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12574,9 +12575,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12596,20 +12597,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12629,20 +12630,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12662,9 +12663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12684,20 +12685,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12717,9 +12718,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12739,9 +12740,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12761,20 +12762,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12794,9 +12795,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12816,9 +12817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12838,20 +12839,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12871,20 +12872,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12904,9 +12905,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12926,9 +12927,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12948,9 +12949,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12970,9 +12971,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12992,20 +12993,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13025,20 +13026,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13058,9 +13059,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13080,9 +13081,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13102,9 +13103,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13124,9 +13125,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13146,20 +13147,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13179,9 +13180,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13201,20 +13202,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13234,20 +13235,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13267,9 +13268,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13289,20 +13290,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13322,9 +13323,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13344,9 +13345,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13366,9 +13367,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13388,9 +13389,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13410,9 +13411,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13432,9 +13433,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13454,9 +13455,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13476,20 +13477,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13509,9 +13510,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13531,20 +13532,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13564,9 +13565,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13586,9 +13587,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13608,9 +13609,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13630,9 +13631,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13652,9 +13653,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13674,9 +13675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13696,20 +13697,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13729,9 +13730,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13751,20 +13752,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13784,20 +13785,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&column0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13817,20 +13818,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&row0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13850,9 +13851,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13872,9 +13873,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13894,9 +13895,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13916,9 +13917,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13938,9 +13939,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13960,9 +13961,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13982,20 +13983,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14015,9 +14016,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14037,9 +14038,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14059,20 +14060,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14092,20 +14093,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14125,20 +14126,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14158,20 +14159,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14191,20 +14192,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14224,9 +14225,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14434,9 +14435,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14456,9 +14457,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14478,9 +14479,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14500,9 +14501,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14522,9 +14523,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14544,9 +14545,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14566,9 +14567,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14588,9 +14589,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14610,9 +14611,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14632,9 +14633,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14654,20 +14655,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14687,9 +14688,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14709,9 +14710,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14731,9 +14732,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14753,9 +14754,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14775,9 +14776,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14797,20 +14798,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "const QMimeData*" , "Qt::DropAction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&data1, (void*)&action2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&data1, (void*)&action2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14830,20 +14831,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14863,9 +14864,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14885,9 +14886,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14907,20 +14908,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14940,20 +14941,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14973,9 +14974,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14995,20 +14996,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15028,9 +15029,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15050,20 +15051,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15083,20 +15084,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15116,9 +15117,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15138,20 +15139,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15171,9 +15172,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15193,9 +15194,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15215,20 +15216,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15248,9 +15249,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15270,9 +15271,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15292,20 +15293,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15325,20 +15326,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15358,9 +15359,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15380,9 +15381,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15402,9 +15403,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15424,9 +15425,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15446,20 +15447,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15479,20 +15480,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&items0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&items0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15512,20 +15513,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15545,20 +15546,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15578,9 +15579,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15600,9 +15601,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15622,9 +15623,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15644,9 +15645,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15666,20 +15667,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15699,9 +15700,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15721,20 +15722,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15754,20 +15755,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15787,9 +15788,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15809,20 +15810,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15842,9 +15843,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15864,9 +15865,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15886,9 +15887,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15908,9 +15909,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15930,9 +15931,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15952,9 +15953,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15974,9 +15975,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15996,20 +15997,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16029,9 +16030,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16051,20 +16052,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16084,9 +16085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16106,9 +16107,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16128,9 +16129,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16150,9 +16151,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16172,9 +16173,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16194,20 +16195,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16227,9 +16228,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16249,20 +16250,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16282,20 +16283,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&column0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16315,20 +16316,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&row0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16348,9 +16349,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16370,20 +16371,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16403,9 +16404,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16425,9 +16426,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16447,9 +16448,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16469,9 +16470,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16491,9 +16492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16513,20 +16514,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16546,9 +16547,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16568,9 +16569,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16590,20 +16591,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16623,20 +16624,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16656,20 +16657,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16689,20 +16690,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16722,20 +16723,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16755,9 +16756,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16995,20 +16996,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QListWidgetItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QListWidgetItem* returnValue; - void* args[1] = {NULL}; + QListWidgetItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); } else { returnValue = *((QListWidgetItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17028,20 +17029,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&role0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&role0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17061,9 +17062,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in0}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17083,9 +17084,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&role0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&role0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17105,9 +17106,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out0}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui4.h b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui4.h index 68fe9084d..8a1f5eb58 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui4.h +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui4.h @@ -75,6 +75,7 @@ #include #include #include +#include #include #include #include @@ -86,25 +87,25 @@ class PythonQtShell_QIconEngine : public QIconEngine { public: - PythonQtShell_QIconEngine():QIconEngine(),_wrapper(NULL) {}; - PythonQtShell_QIconEngine(const QIconEngine& other):QIconEngine(other),_wrapper(NULL) {}; + PythonQtShell_QIconEngine():QIconEngine(),_wrapper(nullptr) {}; + PythonQtShell_QIconEngine(const QIconEngine& other):QIconEngine(other),_wrapper(nullptr) {}; - ~PythonQtShell_QIconEngine(); + ~PythonQtShell_QIconEngine() override; -virtual QSize actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state); -virtual void addFile(const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state); -virtual void addPixmap(const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state); -virtual QList availableSizes(QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; -virtual QIconEngine* clone() const; -virtual QString iconName() const; -virtual QString key() const; -virtual void paint(QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state); -virtual QPixmap pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state); -virtual bool read(QDataStream& in); -virtual void virtual_hook(int id, void* data); -virtual bool write(QDataStream& out) const; +QSize actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state) override; +void addFile(const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) override; +void addPixmap(const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) override; +QList availableSizes(QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const override; +QIconEngine* clone() const override; +QString iconName() const override; +QString key() const override; +void paint(QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state) override; +QPixmap pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state) override; +bool read(QDataStream& in) override; +void virtual_hook(int id, void* data) override; +bool write(QDataStream& out) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QIconEngine : public QIconEngine @@ -132,7 +133,7 @@ enum IconEngineHook{ public slots: QIconEngine* new_QIconEngine(); QIconEngine* new_QIconEngine(const QIconEngine& other); -void delete_QIconEngine(QIconEngine* obj) { delete obj; } +void delete_QIconEngine(QIconEngine* obj) { delete obj; } QSize actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state); QSize py_q_actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state){ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_actualSize(size, mode, state));} void addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state); @@ -169,25 +170,25 @@ void delete_QIconEngine(QIconEngine* obj) { delete obj; } class PythonQtShell_QImageIOHandler : public QImageIOHandler { public: - PythonQtShell_QImageIOHandler():QImageIOHandler(),_wrapper(NULL) {}; + PythonQtShell_QImageIOHandler():QImageIOHandler(),_wrapper(nullptr) {}; - ~PythonQtShell_QImageIOHandler(); + ~PythonQtShell_QImageIOHandler() override; -virtual bool canRead() const; -virtual int currentImageNumber() const; -virtual QRect currentImageRect() const; -virtual int imageCount() const; -virtual bool jumpToImage(int imageNumber); -virtual bool jumpToNextImage(); -virtual int loopCount() const; -virtual int nextImageDelay() const; -virtual QVariant option(QImageIOHandler::ImageOption option) const; -virtual bool read(QImage* image); -virtual void setOption(QImageIOHandler::ImageOption option, const QVariant& value); -virtual bool supportsOption(QImageIOHandler::ImageOption option) const; -virtual bool write(const QImage& image); +bool canRead() const override; +int currentImageNumber() const override; +QRect currentImageRect() const override; +int imageCount() const override; +bool jumpToImage(int imageNumber) override; +bool jumpToNextImage() override; +int loopCount() const override; +int nextImageDelay() const override; +QVariant option(QImageIOHandler::ImageOption option) const override; +bool read(QImage* image) override; +void setOption(QImageIOHandler::ImageOption option, const QVariant& value) override; +bool supportsOption(QImageIOHandler::ImageOption option) const override; +bool write(const QImage& image) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QImageIOHandler : public QImageIOHandler @@ -217,7 +218,7 @@ enum Transformation{ TransformationNone = QImageIOHandler::TransformationNone, TransformationMirror = QImageIOHandler::TransformationMirror, TransformationFlip = QImageIOHandler::TransformationFlip, TransformationRotate180 = QImageIOHandler::TransformationRotate180, TransformationRotate90 = QImageIOHandler::TransformationRotate90, TransformationMirrorAndRotate90 = QImageIOHandler::TransformationMirrorAndRotate90, TransformationFlipAndRotate90 = QImageIOHandler::TransformationFlipAndRotate90, TransformationRotate270 = QImageIOHandler::TransformationRotate270}; public slots: QImageIOHandler* new_QImageIOHandler(); -void delete_QImageIOHandler(QImageIOHandler* obj) { delete obj; } +void delete_QImageIOHandler(QImageIOHandler* obj) { delete obj; } bool canRead(QImageIOHandler* theWrappedObject) const; bool py_q_canRead(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_canRead());} int currentImageNumber(QImageIOHandler* theWrappedObject) const; @@ -257,21 +258,21 @@ void delete_QImageIOHandler(QImageIOHandler* obj) { delete obj; } class PythonQtShell_QImageIOPlugin : public QImageIOPlugin { public: - PythonQtShell_QImageIOPlugin(QObject* parent = nullptr):QImageIOPlugin(parent),_wrapper(NULL) {}; + PythonQtShell_QImageIOPlugin(QObject* parent = nullptr):QImageIOPlugin(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QImageIOPlugin(); + ~PythonQtShell_QImageIOPlugin() override; -virtual QImageIOPlugin::Capabilities capabilities(QIODevice* device, const QByteArray& format) const; -virtual void childEvent(QChildEvent* event); -virtual QImageIOHandler* create(QIODevice* device, const QByteArray& format = QByteArray()) const; -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +QImageIOPlugin::Capabilities capabilities(QIODevice* device, const QByteArray& format) const override; +void childEvent(QChildEvent* event) override; +QImageIOHandler* create(QIODevice* device, const QByteArray& format = QByteArray()) const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QImageIOPlugin : public QImageIOPlugin @@ -290,7 +291,7 @@ enum Capability{ Q_DECLARE_FLAGS(Capabilities, Capability) public slots: QImageIOPlugin* new_QImageIOPlugin(QObject* parent = nullptr); -void delete_QImageIOPlugin(QImageIOPlugin* obj) { delete obj; } +void delete_QImageIOPlugin(QImageIOPlugin* obj) { delete obj; } QImageIOPlugin::Capabilities capabilities(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const; QImageIOPlugin::Capabilities py_q_capabilities(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const{ return (((PythonQtPublicPromoter_QImageIOPlugin*)theWrappedObject)->py_q_capabilities(device, format));} QImageIOHandler* create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format = QByteArray()) const; @@ -311,7 +312,7 @@ public slots: QImageReader* new_QImageReader(); QImageReader* new_QImageReader(QIODevice* device, const QByteArray& format = QByteArray()); QImageReader* new_QImageReader(const QString& fileName, const QByteArray& format = QByteArray()); -void delete_QImageReader(QImageReader* obj) { delete obj; } +void delete_QImageReader(QImageReader* obj) { delete obj; } bool autoDetectImageFormat(QImageReader* theWrappedObject) const; bool autoTransform(QImageReader* theWrappedObject) const; QColor backgroundColor(QImageReader* theWrappedObject) const; @@ -377,7 +378,7 @@ public slots: QImageWriter* new_QImageWriter(); QImageWriter* new_QImageWriter(QIODevice* device, const QByteArray& format); QImageWriter* new_QImageWriter(const QString& fileName, const QByteArray& format = QByteArray()); -void delete_QImageWriter(QImageWriter* obj) { delete obj; } +void delete_QImageWriter(QImageWriter* obj) { delete obj; } bool canWrite(QImageWriter* theWrappedObject) const; int compression(QImageWriter* theWrappedObject) const; QIODevice* device(QImageWriter* theWrappedObject) const; @@ -416,63 +417,63 @@ void delete_QImageWriter(QImageWriter* obj) { delete obj; } class PythonQtShell_QInputDialog : public QInputDialog { public: - PythonQtShell_QInputDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QInputDialog(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QInputDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QInputDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QInputDialog(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QInputDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QInputDialog : public QInputDialog @@ -495,7 +496,7 @@ enum InputMode{ Q_DECLARE_FLAGS(InputDialogOptions, InputDialogOption) public slots: QInputDialog* new_QInputDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QInputDialog(QInputDialog* obj) { delete obj; } +void delete_QInputDialog(QInputDialog* obj) { delete obj; } QString cancelButtonText(QInputDialog* theWrappedObject) const; QStringList comboBoxItems(QInputDialog* theWrappedObject) const; void py_q_done(QInputDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QInputDialog*)theWrappedObject)->py_q_done(result));} @@ -556,12 +557,12 @@ void delete_QInputDialog(QInputDialog* obj) { delete obj; } class PythonQtShell_QInputEvent : public QInputEvent { public: - PythonQtShell_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier):QInputEvent(type, modifiers),_wrapper(NULL) {}; + PythonQtShell_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier):QInputEvent(type, modifiers),_wrapper(nullptr) {}; - ~PythonQtShell_QInputEvent(); + ~PythonQtShell_QInputEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QInputEvent : public QObject @@ -569,7 +570,7 @@ class PythonQtWrapper_QInputEvent : public QObject public: public slots: QInputEvent* new_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier); -void delete_QInputEvent(QInputEvent* obj) { delete obj; } +void delete_QInputEvent(QInputEvent* obj) { delete obj; } Qt::KeyboardModifiers modifiers(QInputEvent* theWrappedObject) const; void setModifiers(QInputEvent* theWrappedObject, Qt::KeyboardModifiers amodifiers); void setTimestamp(QInputEvent* theWrappedObject, ulong atimestamp); @@ -614,7 +615,7 @@ public slots: QInputMethodEvent* new_QInputMethodEvent(); QInputMethodEvent* new_QInputMethodEvent(const QInputMethodEvent& other); QInputMethodEvent* new_QInputMethodEvent(const QString& preeditText, const QList& attributes); -void delete_QInputMethodEvent(QInputMethodEvent* obj) { delete obj; } +void delete_QInputMethodEvent(QInputMethodEvent* obj) { delete obj; } const QList* attributes(QInputMethodEvent* theWrappedObject) const; const QString* commitString(QInputMethodEvent* theWrappedObject) const; const QString* preeditString(QInputMethodEvent* theWrappedObject) const; @@ -630,13 +631,13 @@ void delete_QInputMethodEvent(QInputMethodEvent* obj) { delete obj; } class PythonQtShell_QInputMethodEvent__Attribute : public QInputMethodEvent::Attribute { public: - PythonQtShell_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l):QInputMethodEvent::Attribute(typ, s, l),_wrapper(NULL) {}; - PythonQtShell_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l, QVariant val):QInputMethodEvent::Attribute(typ, s, l, val),_wrapper(NULL) {}; + PythonQtShell_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l):QInputMethodEvent::Attribute(typ, s, l),_wrapper(nullptr) {}; + PythonQtShell_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l, QVariant val):QInputMethodEvent::Attribute(typ, s, l, val),_wrapper(nullptr) {}; ~PythonQtShell_QInputMethodEvent__Attribute(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QInputMethodEvent__Attribute : public QObject @@ -645,7 +646,7 @@ class PythonQtWrapper_QInputMethodEvent__Attribute : public QObject public slots: QInputMethodEvent::Attribute* new_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l); QInputMethodEvent::Attribute* new_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l, QVariant val); -void delete_QInputMethodEvent__Attribute(QInputMethodEvent::Attribute* obj) { delete obj; } +void delete_QInputMethodEvent__Attribute(QInputMethodEvent::Attribute* obj) { delete obj; } void py_set_length(QInputMethodEvent::Attribute* theWrappedObject, int length){ theWrappedObject->length = length; } int py_get_length(QInputMethodEvent::Attribute* theWrappedObject){ return theWrappedObject->length; } void py_set_start(QInputMethodEvent::Attribute* theWrappedObject, int start){ theWrappedObject->start = start; } @@ -665,7 +666,7 @@ class PythonQtWrapper_QInputMethodQueryEvent : public QObject public: public slots: QInputMethodQueryEvent* new_QInputMethodQueryEvent(Qt::InputMethodQueries queries); -void delete_QInputMethodQueryEvent(QInputMethodQueryEvent* obj) { delete obj; } +void delete_QInputMethodQueryEvent(QInputMethodQueryEvent* obj) { delete obj; } Qt::InputMethodQueries queries(QInputMethodQueryEvent* theWrappedObject) const; void setValue(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query, const QVariant& value); QVariant value(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query) const; @@ -678,23 +679,23 @@ void delete_QInputMethodQueryEvent(QInputMethodQueryEvent* obj) { delete obj; } class PythonQtShell_QIntValidator : public QIntValidator { public: - PythonQtShell_QIntValidator(QObject* parent = nullptr):QIntValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QIntValidator(int bottom, int top, QObject* parent = nullptr):QIntValidator(bottom, top, parent),_wrapper(NULL) {}; + PythonQtShell_QIntValidator(QObject* parent = nullptr):QIntValidator(parent),_wrapper(nullptr) {}; + PythonQtShell_QIntValidator(int bottom, int top, QObject* parent = nullptr):QIntValidator(bottom, top, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QIntValidator(); + ~PythonQtShell_QIntValidator() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fixup(QString& input) const; -virtual void setRange(int bottom, int top); -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& arg__1, int& arg__2) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& input) const override; +void setRange(int bottom, int top) override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& arg__1, int& arg__2) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QIntValidator : public QIntValidator @@ -710,7 +711,7 @@ class PythonQtWrapper_QIntValidator : public QObject public slots: QIntValidator* new_QIntValidator(QObject* parent = nullptr); QIntValidator* new_QIntValidator(int bottom, int top, QObject* parent = nullptr); -void delete_QIntValidator(QIntValidator* obj) { delete obj; } +void delete_QIntValidator(QIntValidator* obj) { delete obj; } int bottom(QIntValidator* theWrappedObject) const; void py_q_fixup(QIntValidator* theWrappedObject, QString& input) const{ (((PythonQtPublicPromoter_QIntValidator*)theWrappedObject)->py_q_fixup(input));} void setBottom(QIntValidator* theWrappedObject, int arg__1); @@ -728,33 +729,33 @@ void delete_QIntValidator(QIntValidator* obj) { delete obj; } class PythonQtShell_QItemDelegate : public QItemDelegate { public: - PythonQtShell_QItemDelegate(QObject* parent = nullptr):QItemDelegate(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QItemDelegate(); - -virtual void childEvent(QChildEvent* event); -virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void customEvent(QEvent* event); -virtual void destroyEditor(QWidget* editor, const QModelIndex& index) const; -virtual void drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const; -virtual void drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const; -virtual void drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const; -virtual void drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const; -virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual QVector paintingRoles() const; -virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; -virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; -virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QItemDelegate(QObject* parent = nullptr):QItemDelegate(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QItemDelegate() override; + +void childEvent(QChildEvent* event) override; +QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void customEvent(QEvent* event) override; +void destroyEditor(QWidget* editor, const QModelIndex& index) const override; +void drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const override; +void drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const override; +void drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const override; +void drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const override; +bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index) override; +void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +QVector paintingRoles() const override; +void setEditorData(QWidget* editor, const QModelIndex& index) const override; +void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const override; +QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void timerEvent(QTimerEvent* event) override; +void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QItemDelegate : public QItemDelegate @@ -790,7 +791,7 @@ class PythonQtWrapper_QItemDelegate : public QObject public: public slots: QItemDelegate* new_QItemDelegate(QObject* parent = nullptr); -void delete_QItemDelegate(QItemDelegate* obj) { delete obj; } +void delete_QItemDelegate(QItemDelegate* obj) { delete obj; } QWidget* py_q_createEditor(QItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_createEditor(parent, option, index));} QPixmap decoration(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QVariant& variant) const; QRect doCheck(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QRect& bounding, const QVariant& variant) const; @@ -826,14 +827,14 @@ void delete_QItemDelegate(QItemDelegate* obj) { delete obj; } class PythonQtShell_QItemEditorCreatorBase : public QItemEditorCreatorBase { public: - PythonQtShell_QItemEditorCreatorBase():QItemEditorCreatorBase(),_wrapper(NULL) {}; + PythonQtShell_QItemEditorCreatorBase():QItemEditorCreatorBase(),_wrapper(nullptr) {}; - ~PythonQtShell_QItemEditorCreatorBase(); + ~PythonQtShell_QItemEditorCreatorBase() override; -virtual QWidget* createWidget(QWidget* parent) const; -virtual QByteArray valuePropertyName() const; +QWidget* createWidget(QWidget* parent) const override; +QByteArray valuePropertyName() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QItemEditorCreatorBase : public QItemEditorCreatorBase @@ -847,7 +848,7 @@ class PythonQtWrapper_QItemEditorCreatorBase : public QObject public: public slots: QItemEditorCreatorBase* new_QItemEditorCreatorBase(); -void delete_QItemEditorCreatorBase(QItemEditorCreatorBase* obj) { delete obj; } +void delete_QItemEditorCreatorBase(QItemEditorCreatorBase* obj) { delete obj; } QWidget* createWidget(QItemEditorCreatorBase* theWrappedObject, QWidget* parent) const; QWidget* py_q_createWidget(QItemEditorCreatorBase* theWrappedObject, QWidget* parent) const{ return (((PythonQtPublicPromoter_QItemEditorCreatorBase*)theWrappedObject)->py_q_createWidget(parent));} QByteArray valuePropertyName(QItemEditorCreatorBase* theWrappedObject) const; @@ -861,14 +862,14 @@ void delete_QItemEditorCreatorBase(QItemEditorCreatorBase* obj) { delete obj; } class PythonQtShell_QItemEditorFactory : public QItemEditorFactory { public: - PythonQtShell_QItemEditorFactory():QItemEditorFactory(),_wrapper(NULL) {}; + PythonQtShell_QItemEditorFactory():QItemEditorFactory(),_wrapper(nullptr) {}; - ~PythonQtShell_QItemEditorFactory(); + ~PythonQtShell_QItemEditorFactory() override; -virtual QWidget* createEditor(int userType, QWidget* parent) const; -virtual QByteArray valuePropertyName(int userType) const; +QWidget* createEditor(int userType, QWidget* parent) const override; +QByteArray valuePropertyName(int userType) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QItemEditorFactory : public QItemEditorFactory @@ -882,7 +883,7 @@ class PythonQtWrapper_QItemEditorFactory : public QObject public: public slots: QItemEditorFactory* new_QItemEditorFactory(); -void delete_QItemEditorFactory(QItemEditorFactory* obj) { delete obj; } +void delete_QItemEditorFactory(QItemEditorFactory* obj) { delete obj; } QWidget* createEditor(QItemEditorFactory* theWrappedObject, int userType, QWidget* parent) const; QWidget* py_q_createEditor(QItemEditorFactory* theWrappedObject, int userType, QWidget* parent) const{ return (((PythonQtPublicPromoter_QItemEditorFactory*)theWrappedObject)->py_q_createEditor(userType, parent));} const QItemEditorFactory* static_QItemEditorFactory_defaultFactory(); @@ -906,7 +907,7 @@ QItemSelection* new_QItemSelection(const QItemSelection& other) { QItemSelection* a = new QItemSelection(); *((QItemSelection*)a) = other; return a; } -void delete_QItemSelection(QItemSelection* obj) { delete obj; } +void delete_QItemSelection(QItemSelection* obj) { delete obj; } bool contains(QItemSelection* theWrappedObject, const QModelIndex& index) const; QList indexes(QItemSelection* theWrappedObject) const; void merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command); @@ -921,26 +922,26 @@ void delete_QItemSelection(QItemSelection* obj) { delete obj; } class PythonQtShell_QItemSelectionModel : public QItemSelectionModel { public: - PythonQtShell_QItemSelectionModel(QAbstractItemModel* model = nullptr):QItemSelectionModel(model),_wrapper(NULL) {}; - PythonQtShell_QItemSelectionModel(QAbstractItemModel* model, QObject* parent):QItemSelectionModel(model, parent),_wrapper(NULL) {}; + PythonQtShell_QItemSelectionModel(QAbstractItemModel* model = nullptr):QItemSelectionModel(model),_wrapper(nullptr) {}; + PythonQtShell_QItemSelectionModel(QAbstractItemModel* model, QObject* parent):QItemSelectionModel(model, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QItemSelectionModel(); + ~PythonQtShell_QItemSelectionModel() override; -virtual void childEvent(QChildEvent* event); -virtual void clear(); -virtual void clearCurrentIndex(); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void reset(); -virtual void select(const QItemSelection& selection, QItemSelectionModel::SelectionFlags command); -virtual void select(const QModelIndex& index, QItemSelectionModel::SelectionFlags command); -virtual void setCurrentIndex(const QModelIndex& index, QItemSelectionModel::SelectionFlags command); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void clear() override; +void clearCurrentIndex() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void reset() override; +void select(const QItemSelection& selection, QItemSelectionModel::SelectionFlags command) override; +void select(const QModelIndex& index, QItemSelectionModel::SelectionFlags command) override; +void setCurrentIndex(const QModelIndex& index, QItemSelectionModel::SelectionFlags command) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QItemSelectionModel : public QItemSelectionModel @@ -965,7 +966,7 @@ Q_DECLARE_FLAGS(SelectionFlags, SelectionFlag) public slots: QItemSelectionModel* new_QItemSelectionModel(QAbstractItemModel* model = nullptr); QItemSelectionModel* new_QItemSelectionModel(QAbstractItemModel* model, QObject* parent); -void delete_QItemSelectionModel(QItemSelectionModel* obj) { delete obj; } +void delete_QItemSelectionModel(QItemSelectionModel* obj) { delete obj; } void py_q_clear(QItemSelectionModel* theWrappedObject){ (((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->py_q_clear());} void py_q_clearCurrentIndex(QItemSelectionModel* theWrappedObject){ (((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->py_q_clearCurrentIndex());} bool columnIntersectsSelection(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const; @@ -1001,7 +1002,7 @@ QItemSelectionRange* new_QItemSelectionRange(); QItemSelectionRange* new_QItemSelectionRange(const QItemSelectionRange& other); QItemSelectionRange* new_QItemSelectionRange(const QModelIndex& index); QItemSelectionRange* new_QItemSelectionRange(const QModelIndex& topL, const QModelIndex& bottomR); -void delete_QItemSelectionRange(QItemSelectionRange* obj) { delete obj; } +void delete_QItemSelectionRange(QItemSelectionRange* obj) { delete obj; } int bottom(QItemSelectionRange* theWrappedObject) const; const QPersistentModelIndex* bottomRight(QItemSelectionRange* theWrappedObject) const; bool contains(QItemSelectionRange* theWrappedObject, const QModelIndex& index) const; @@ -1035,13 +1036,13 @@ void delete_QItemSelectionRange(QItemSelectionRange* obj) { delete obj; } class PythonQtShell_QKeyEvent : public QKeyEvent { public: - PythonQtShell_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text = QString(), bool autorep = false, ushort count = 1):QKeyEvent(type, key, modifiers, text, autorep, count),_wrapper(NULL) {}; - PythonQtShell_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, const QString& text = QString(), bool autorep = false, ushort count = 1):QKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count),_wrapper(NULL) {}; + PythonQtShell_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text = QString(), bool autorep = false, ushort count = 1):QKeyEvent(type, key, modifiers, text, autorep, count),_wrapper(nullptr) {}; + PythonQtShell_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, const QString& text = QString(), bool autorep = false, ushort count = 1):QKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count),_wrapper(nullptr) {}; - ~PythonQtShell_QKeyEvent(); + ~PythonQtShell_QKeyEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QKeyEvent : public QObject @@ -1050,7 +1051,7 @@ class PythonQtWrapper_QKeyEvent : public QObject public slots: QKeyEvent* new_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text = QString(), bool autorep = false, ushort count = 1); QKeyEvent* new_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, const QString& text = QString(), bool autorep = false, ushort count = 1); -void delete_QKeyEvent(QKeyEvent* obj) { delete obj; } +void delete_QKeyEvent(QKeyEvent* obj) { delete obj; } int count(QKeyEvent* theWrappedObject) const; bool isAutoRepeat(QKeyEvent* theWrappedObject) const; int key(QKeyEvent* theWrappedObject) const; @@ -1069,22 +1070,22 @@ void delete_QKeyEvent(QKeyEvent* obj) { delete obj; } class PythonQtShell_QKeyEventTransition : public QKeyEventTransition { public: - PythonQtShell_QKeyEventTransition(QObject* object, QEvent::Type type, int key, QState* sourceState = nullptr):QKeyEventTransition(object, type, key, sourceState),_wrapper(NULL) {}; - PythonQtShell_QKeyEventTransition(QState* sourceState = nullptr):QKeyEventTransition(sourceState),_wrapper(NULL) {}; + PythonQtShell_QKeyEventTransition(QObject* object, QEvent::Type type, int key, QState* sourceState = nullptr):QKeyEventTransition(object, type, key, sourceState),_wrapper(nullptr) {}; + PythonQtShell_QKeyEventTransition(QState* sourceState = nullptr):QKeyEventTransition(sourceState),_wrapper(nullptr) {}; - ~PythonQtShell_QKeyEventTransition(); + ~PythonQtShell_QKeyEventTransition() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool eventTest(QEvent* event) override; +void onTransition(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QKeyEventTransition : public QKeyEventTransition @@ -1101,7 +1102,7 @@ class PythonQtWrapper_QKeyEventTransition : public QObject public slots: QKeyEventTransition* new_QKeyEventTransition(QObject* object, QEvent::Type type, int key, QState* sourceState = nullptr); QKeyEventTransition* new_QKeyEventTransition(QState* sourceState = nullptr); -void delete_QKeyEventTransition(QKeyEventTransition* obj) { delete obj; } +void delete_QKeyEventTransition(QKeyEventTransition* obj) { delete obj; } bool py_q_eventTest(QKeyEventTransition* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QKeyEventTransition*)theWrappedObject)->py_q_eventTest(event));} int key(QKeyEventTransition* theWrappedObject) const; Qt::KeyboardModifiers modifierMask(QKeyEventTransition* theWrappedObject) const; @@ -1117,60 +1118,60 @@ void delete_QKeyEventTransition(QKeyEventTransition* obj) { delete obj; } class PythonQtShell_QKeySequenceEdit : public QKeySequenceEdit { public: - PythonQtShell_QKeySequenceEdit(QWidget* parent = nullptr):QKeySequenceEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QKeySequenceEdit(const QKeySequence& keySequence, QWidget* parent = nullptr):QKeySequenceEdit(keySequence, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QKeySequenceEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QKeySequenceEdit(QWidget* parent = nullptr):QKeySequenceEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QKeySequenceEdit(const QKeySequence& keySequence, QWidget* parent = nullptr):QKeySequenceEdit(keySequence, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QKeySequenceEdit() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QKeySequenceEdit : public QKeySequenceEdit @@ -1191,7 +1192,7 @@ class PythonQtWrapper_QKeySequenceEdit : public QObject public slots: QKeySequenceEdit* new_QKeySequenceEdit(QWidget* parent = nullptr); QKeySequenceEdit* new_QKeySequenceEdit(const QKeySequence& keySequence, QWidget* parent = nullptr); -void delete_QKeySequenceEdit(QKeySequenceEdit* obj) { delete obj; } +void delete_QKeySequenceEdit(QKeySequenceEdit* obj) { delete obj; } bool py_q_event(QKeySequenceEdit* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QKeySequenceEdit*)theWrappedObject)->py_q_event(arg__1));} void py_q_keyPressEvent(QKeySequenceEdit* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QKeySequenceEdit*)theWrappedObject)->py_q_keyPressEvent(arg__1));} void py_q_keyReleaseEvent(QKeySequenceEdit* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QKeySequenceEdit*)theWrappedObject)->py_q_keyReleaseEvent(arg__1));} @@ -1206,60 +1207,60 @@ void delete_QKeySequenceEdit(QKeySequenceEdit* obj) { delete obj; } class PythonQtShell_QLCDNumber : public QLCDNumber { public: - PythonQtShell_QLCDNumber(QWidget* parent = nullptr):QLCDNumber(parent),_wrapper(NULL) {}; - PythonQtShell_QLCDNumber(uint numDigits, QWidget* parent = nullptr):QLCDNumber(numDigits, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLCDNumber(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QLCDNumber(QWidget* parent = nullptr):QLCDNumber(parent),_wrapper(nullptr) {}; + PythonQtShell_QLCDNumber(uint numDigits, QWidget* parent = nullptr):QLCDNumber(numDigits, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QLCDNumber() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLCDNumber : public QLCDNumber @@ -1277,7 +1278,7 @@ class PythonQtWrapper_QLCDNumber : public QObject public slots: QLCDNumber* new_QLCDNumber(QWidget* parent = nullptr); QLCDNumber* new_QLCDNumber(uint numDigits, QWidget* parent = nullptr); -void delete_QLCDNumber(QLCDNumber* obj) { delete obj; } +void delete_QLCDNumber(QLCDNumber* obj) { delete obj; } bool checkOverflow(QLCDNumber* theWrappedObject, double num) const; bool checkOverflow(QLCDNumber* theWrappedObject, int num) const; int digitCount(QLCDNumber* theWrappedObject) const; @@ -1301,60 +1302,60 @@ void delete_QLCDNumber(QLCDNumber* obj) { delete obj; } class PythonQtShell_QLabel : public QLabel { public: - PythonQtShell_QLabel(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QLabel(parent, f),_wrapper(NULL) {}; - PythonQtShell_QLabel(const QString& text, QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QLabel(text, parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QLabel(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* ev); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* ev); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* ev); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* ev); -virtual void mousePressEvent(QMouseEvent* ev); -virtual void mouseReleaseEvent(QMouseEvent* ev); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QLabel(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QLabel(parent, f),_wrapper(nullptr) {}; + PythonQtShell_QLabel(const QString& text, QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QLabel(text, parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QLabel() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* ev) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* ev) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* ev) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* ev) override; +void mousePressEvent(QMouseEvent* ev) override; +void mouseReleaseEvent(QMouseEvent* ev) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLabel : public QLabel @@ -1392,7 +1393,7 @@ class PythonQtWrapper_QLabel : public QObject public slots: QLabel* new_QLabel(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); QLabel* new_QLabel(const QString& text, QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QLabel(QLabel* obj) { delete obj; } +void delete_QLabel(QLabel* obj) { delete obj; } Qt::Alignment alignment(QLabel* theWrappedObject) const; QWidget* buddy(QLabel* theWrappedObject) const; void py_q_changeEvent(QLabel* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_changeEvent(arg__1));} @@ -1443,40 +1444,40 @@ void delete_QLabel(QLabel* obj) { delete obj; } class PythonQtShell_QLayout : public QLayout { public: - PythonQtShell_QLayout():QLayout(),_wrapper(NULL) {}; - PythonQtShell_QLayout(QWidget* parent):QLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual int count() const; -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual int indexOf(QWidget* arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayoutItem* itemAt(int index) const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QSpacerItem* spacerItem(); -virtual QLayoutItem* takeAt(int index); -virtual void timerEvent(QTimerEvent* event); -virtual QWidget* widget(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QLayout():QLayout(),_wrapper(nullptr) {}; + PythonQtShell_QLayout(QWidget* parent):QLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QLayout() override; + +void addItem(QLayoutItem* arg__1) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int index) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int index) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLayout : public QLayout @@ -1510,7 +1511,7 @@ class PythonQtWrapper_QLayout : public QObject public slots: QLayout* new_QLayout(); QLayout* new_QLayout(QWidget* parent); -void delete_QLayout(QLayout* obj) { delete obj; } +void delete_QLayout(QLayout* obj) { delete obj; } bool activate(QLayout* theWrappedObject); void addChildLayout(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP l); void addChildWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP w); @@ -1573,27 +1574,27 @@ void delete_QLayout(QLayout* obj) { delete obj; } class PythonQtShell_QLayoutItem : public QLayoutItem { public: - PythonQtShell_QLayoutItem(Qt::Alignment alignment = Qt::Alignment()):QLayoutItem(alignment),_wrapper(NULL) {}; + PythonQtShell_QLayoutItem(Qt::Alignment alignment = Qt::Alignment()):QLayoutItem(alignment),_wrapper(nullptr) {}; - ~PythonQtShell_QLayoutItem(); + ~PythonQtShell_QLayoutItem() override; -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QSpacerItem* spacerItem(); -virtual QWidget* widget(); +QSizePolicy::ControlTypes controlTypes() const override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QWidget* widget() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLayoutItem : public QLayoutItem @@ -1620,7 +1621,7 @@ class PythonQtWrapper_QLayoutItem : public QObject public: public slots: QLayoutItem* new_QLayoutItem(Qt::Alignment alignment = Qt::Alignment()); -void delete_QLayoutItem(QLayoutItem* obj) { delete obj; } +void delete_QLayoutItem(QLayoutItem* obj) { delete obj; } Qt::Alignment alignment(QLayoutItem* theWrappedObject) const; QSizePolicy::ControlTypes controlTypes(QLayoutItem* theWrappedObject) const; QSizePolicy::ControlTypes py_q_controlTypes(QLayoutItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_controlTypes());} @@ -1663,60 +1664,60 @@ void delete_QLayoutItem(QLayoutItem* obj) { delete obj; } class PythonQtShell_QLineEdit : public QLineEdit { public: - PythonQtShell_QLineEdit(QWidget* parent = nullptr):QLineEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QLineEdit(const QString& arg__1, QWidget* parent = nullptr):QLineEdit(arg__1, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLineEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QLineEdit(QWidget* parent = nullptr):QLineEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QLineEdit(const QString& arg__1, QWidget* parent = nullptr):QLineEdit(arg__1, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QLineEdit() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* arg__1) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* arg__1) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* arg__1) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLineEdit : public QLineEdit @@ -1765,7 +1766,7 @@ class PythonQtWrapper_QLineEdit : public QObject public slots: QLineEdit* new_QLineEdit(QWidget* parent = nullptr); QLineEdit* new_QLineEdit(const QString& arg__1, QWidget* parent = nullptr); -void delete_QLineEdit(QLineEdit* obj) { delete obj; } +void delete_QLineEdit(QLineEdit* obj) { delete obj; } void addAction(QLineEdit* theWrappedObject, QAction* action, QLineEdit::ActionPosition position); QAction* addAction(QLineEdit* theWrappedObject, const QIcon& icon, QLineEdit::ActionPosition position); Qt::Alignment alignment(QLineEdit* theWrappedObject) const; @@ -1864,7 +1865,7 @@ QLinearGradient* new_QLinearGradient(const QLinearGradient& other) { QLinearGradient* a = new QLinearGradient(); *((QLinearGradient*)a) = other; return a; } -void delete_QLinearGradient(QLinearGradient* obj) { delete obj; } +void delete_QLinearGradient(QLinearGradient* obj) { delete obj; } QPointF finalStop(QLinearGradient* theWrappedObject) const; void setFinalStop(QLinearGradient* theWrappedObject, const QPointF& stop); void setFinalStop(QLinearGradient* theWrappedObject, qreal x, qreal y); @@ -1880,101 +1881,101 @@ void delete_QLinearGradient(QLinearGradient* obj) { delete obj; } class PythonQtShell_QListView : public QListView { public: - PythonQtShell_QListView(QWidget* parent = nullptr):QListView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QListView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* event); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* e); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QListView(QWidget* parent = nullptr):QListView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QListView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* e) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* e) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QListView : public QListView @@ -2050,7 +2051,7 @@ class PythonQtWrapper_QListView : public QObject public: public slots: QListView* new_QListView(QWidget* parent = nullptr); -void delete_QListView(QListView* obj) { delete obj; } +void delete_QListView(QListView* obj) { delete obj; } int batchSize(QListView* theWrappedObject) const; void clearPropertyFlags(QListView* theWrappedObject); QSize contentsSize(QListView* theWrappedObject) const; @@ -2126,104 +2127,104 @@ void delete_QListView(QListView* obj) { delete obj; } class PythonQtShell_QListWidget : public QListWidget { public: - PythonQtShell_QListWidget(QWidget* parent = nullptr):QListWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QListWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* event); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* event); -virtual bool dropMimeData(int index, const QMimeData* data, Qt::DropAction action); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QMimeData* mimeData(const QList items) const; -virtual QStringList mimeTypes() const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* e); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual Qt::DropActions supportedDropActions() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QListWidget(QWidget* parent = nullptr):QListWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QListWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* event) override; +bool dropMimeData(int index, const QMimeData* data, Qt::DropAction action) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QMimeData* mimeData(const QList items) const override; +QStringList mimeTypes() const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* e) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* e) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +Qt::DropActions supportedDropActions() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QListWidget : public QListWidget @@ -2251,7 +2252,7 @@ class PythonQtWrapper_QListWidget : public QObject public: public slots: QListWidget* new_QListWidget(QWidget* parent = nullptr); -void delete_QListWidget(QListWidget* obj) { delete obj; } +void delete_QListWidget(QListWidget* obj) { delete obj; } void addItem(QListWidget* theWrappedObject, PythonQtPassOwnershipToCPP item); void addItem(QListWidget* theWrappedObject, const QString& label); void addItems(QListWidget* theWrappedObject, const QStringList& labels); @@ -2307,19 +2308,19 @@ void delete_QListWidget(QListWidget* obj) { delete obj; } class PythonQtShell_QListWidgetItem : public QListWidgetItem { public: - PythonQtShell_QListWidgetItem(QListWidget* view = nullptr, int type = Type):QListWidgetItem(view, type),_wrapper(NULL) {}; - PythonQtShell_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view = nullptr, int type = Type):QListWidgetItem(icon, text, view, type),_wrapper(NULL) {}; - PythonQtShell_QListWidgetItem(const QString& text, QListWidget* view = nullptr, int type = Type):QListWidgetItem(text, view, type),_wrapper(NULL) {}; + PythonQtShell_QListWidgetItem(QListWidget* view = nullptr, int type = Type):QListWidgetItem(view, type),_wrapper(nullptr) {}; + PythonQtShell_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view = nullptr, int type = Type):QListWidgetItem(icon, text, view, type),_wrapper(nullptr) {}; + PythonQtShell_QListWidgetItem(const QString& text, QListWidget* view = nullptr, int type = Type):QListWidgetItem(text, view, type),_wrapper(nullptr) {}; - ~PythonQtShell_QListWidgetItem(); + ~PythonQtShell_QListWidgetItem() override; -virtual QListWidgetItem* clone() const; -virtual QVariant data(int role) const; -virtual void read(QDataStream& in); -virtual void setData(int role, const QVariant& value); -virtual void write(QDataStream& out) const; +QListWidgetItem* clone() const override; +QVariant data(int role) const override; +void read(QDataStream& in) override; +void setData(int role, const QVariant& value) override; +void write(QDataStream& out) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QListWidgetItem : public QListWidgetItem @@ -2341,7 +2342,7 @@ public slots: QListWidgetItem* new_QListWidgetItem(PythonQtNewOwnerOfThis view = nullptr, int type = Type); QListWidgetItem* new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis view = nullptr, int type = Type); QListWidgetItem* new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis view = nullptr, int type = Type); -void delete_QListWidgetItem(QListWidgetItem* obj) { delete obj; } +void delete_QListWidgetItem(QListWidgetItem* obj) { delete obj; } QBrush background(QListWidgetItem* theWrappedObject) const; Qt::CheckState checkState(QListWidgetItem* theWrappedObject) const; QListWidgetItem* clone(QListWidgetItem* theWrappedObject) const; 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..d9884a2a0 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 @@ -81,6 +81,7 @@ #include #include #include +#include #include #include #include @@ -105,9 +106,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -127,9 +128,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -149,9 +150,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -171,9 +172,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -193,9 +194,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -215,20 +216,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMenu*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMenu* returnValue; - void* args[1] = {NULL}; + QMenu* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createPopupMenu", methodInfo, result); } else { returnValue = *((QMenu**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -248,9 +249,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -270,20 +271,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -303,9 +304,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -325,9 +326,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -347,9 +348,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -369,9 +370,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -391,9 +392,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -413,20 +414,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -446,20 +447,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -479,9 +480,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -501,20 +502,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -534,9 +535,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -556,20 +557,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -589,20 +590,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -622,9 +623,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -644,9 +645,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -666,9 +667,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -688,20 +689,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -721,9 +722,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -743,9 +744,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -765,9 +766,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -787,20 +788,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -820,20 +821,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -853,9 +854,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -875,9 +876,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -897,9 +898,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -919,9 +920,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -941,9 +942,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -963,20 +964,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -996,20 +997,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1029,9 +1030,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1051,20 +1052,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1084,9 +1085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1106,9 +1107,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1128,20 +1129,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1161,9 +1162,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1183,20 +1184,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1216,9 +1217,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1238,9 +1239,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1260,9 +1261,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1559,6 +1560,11 @@ int PythonQtWrapper_QMargins::left(QMargins* theWrappedObject) const return ( theWrappedObject->left()); } +bool PythonQtWrapper_QMargins::__ne__(QMargins* theWrappedObject, const QMargins& m2) +{ + return ( (*theWrappedObject)!= m2); +} + QMargins PythonQtWrapper_QMargins::__mul__(QMargins* theWrappedObject, int factor) { return ( (*theWrappedObject)* factor); @@ -2060,9 +2066,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2082,9 +2088,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2104,9 +2110,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&childEvent0}; + void* args[2] = {nullptr, (void*)&childEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2126,9 +2132,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2148,9 +2154,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2170,9 +2176,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2192,20 +2198,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2225,9 +2231,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2247,9 +2253,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2269,9 +2275,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2291,9 +2297,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2313,9 +2319,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2335,20 +2341,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2368,20 +2374,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2401,9 +2407,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2423,20 +2429,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2456,9 +2462,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2478,20 +2484,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2511,20 +2517,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2544,9 +2550,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2566,9 +2572,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2588,9 +2594,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2610,20 +2616,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2643,9 +2649,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2665,9 +2671,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2687,9 +2693,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2709,20 +2715,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2742,20 +2748,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2775,9 +2781,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2797,9 +2803,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2819,9 +2825,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2841,9 +2847,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2863,9 +2869,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2885,20 +2891,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2918,20 +2924,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2951,9 +2957,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&paintEvent0}; + void* args[2] = {nullptr, (void*)&paintEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2973,20 +2979,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3006,9 +3012,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&resizeEvent0}; + void* args[2] = {nullptr, (void*)&resizeEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3028,9 +3034,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3050,9 +3056,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3072,9 +3078,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3094,20 +3100,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3127,9 +3133,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&showEvent0}; + void* args[2] = {nullptr, (void*)&showEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3149,20 +3155,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3182,9 +3188,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3204,9 +3210,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&timerEvent0}; + void* args[2] = {nullptr, (void*)&timerEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3226,20 +3232,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3259,20 +3265,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3292,9 +3298,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3452,9 +3458,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3474,9 +3480,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&changeEvent0}; + void* args[2] = {nullptr, (void*)&changeEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3496,9 +3502,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&childEvent0}; + void* args[2] = {nullptr, (void*)&childEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3518,9 +3524,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&closeEvent0}; + void* args[2] = {nullptr, (void*)&closeEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3540,9 +3546,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&contextMenuEvent0}; + void* args[2] = {nullptr, (void*)&contextMenuEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3562,9 +3568,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3584,20 +3590,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3617,9 +3623,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3639,9 +3645,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3661,9 +3667,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3683,9 +3689,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3705,9 +3711,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3727,20 +3733,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3760,20 +3766,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3793,9 +3799,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&focusInEvent0}; + void* args[2] = {nullptr, (void*)&focusInEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3815,20 +3821,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3848,9 +3854,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&focusOutEvent0}; + void* args[2] = {nullptr, (void*)&focusOutEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3870,20 +3876,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3903,20 +3909,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3936,9 +3942,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&hideEvent0}; + void* args[2] = {nullptr, (void*)&hideEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3958,9 +3964,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3980,9 +3986,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4002,20 +4008,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4035,9 +4041,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&keyEvent0}; + void* args[2] = {nullptr, (void*)&keyEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4057,9 +4063,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4079,9 +4085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&leaveEvent0}; + void* args[2] = {nullptr, (void*)&leaveEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4101,20 +4107,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4134,20 +4140,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4167,9 +4173,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent0}; + void* args[2] = {nullptr, (void*)&mouseEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4189,9 +4195,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent0}; + void* args[2] = {nullptr, (void*)&mouseEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4211,9 +4217,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent0}; + void* args[2] = {nullptr, (void*)&mouseEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4233,9 +4239,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent0}; + void* args[2] = {nullptr, (void*)&mouseEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4255,9 +4261,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&moveEvent0}; + void* args[2] = {nullptr, (void*)&moveEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4277,20 +4283,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4310,20 +4316,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4343,9 +4349,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&paintEvent0}; + void* args[2] = {nullptr, (void*)&paintEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4365,20 +4371,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4398,9 +4404,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&resizeEvent0}; + void* args[2] = {nullptr, (void*)&resizeEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4420,9 +4426,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4442,20 +4448,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4475,9 +4481,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&showEvent0}; + void* args[2] = {nullptr, (void*)&showEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4497,20 +4503,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4530,9 +4536,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4552,9 +4558,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&timerEvent0}; + void* args[2] = {nullptr, (void*)&timerEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4574,9 +4580,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4699,9 +4705,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4721,9 +4727,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4743,9 +4749,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4765,9 +4771,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4787,9 +4793,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4809,9 +4815,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4831,20 +4837,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4864,9 +4870,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4886,9 +4892,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4908,9 +4914,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4930,9 +4936,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4952,9 +4958,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4974,20 +4980,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5007,20 +5013,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5040,9 +5046,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5062,20 +5068,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5095,9 +5101,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5117,20 +5123,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5150,20 +5156,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5183,9 +5189,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5205,9 +5211,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5227,9 +5233,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5249,20 +5255,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5282,9 +5288,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5304,9 +5310,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5326,9 +5332,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5348,20 +5354,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5381,20 +5387,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5414,9 +5420,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5436,9 +5442,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5458,9 +5464,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5480,9 +5486,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5502,9 +5508,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5524,20 +5530,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5557,20 +5563,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5590,9 +5596,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5612,20 +5618,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5645,9 +5651,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5667,9 +5673,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5689,20 +5695,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5722,9 +5728,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5744,20 +5750,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5777,9 +5783,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5799,9 +5805,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5821,9 +5827,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6090,9 +6096,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6112,9 +6118,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6134,9 +6140,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6156,9 +6162,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6178,9 +6184,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6200,9 +6206,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6222,20 +6228,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6255,9 +6261,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6277,9 +6283,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6299,9 +6305,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6321,9 +6327,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6343,9 +6349,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6365,20 +6371,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6398,20 +6404,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6431,9 +6437,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6453,20 +6459,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6486,9 +6492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6508,20 +6514,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6541,20 +6547,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6574,9 +6580,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6596,9 +6602,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6618,9 +6624,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6640,20 +6646,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6673,9 +6679,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6695,9 +6701,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6717,9 +6723,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6739,20 +6745,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6772,20 +6778,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6805,9 +6811,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6827,9 +6833,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6849,9 +6855,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6871,9 +6877,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6893,9 +6899,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6915,20 +6921,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6948,20 +6954,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6981,9 +6987,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7003,20 +7009,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7036,9 +7042,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7058,9 +7064,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7080,20 +7086,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7113,9 +7119,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7135,20 +7141,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7168,9 +7174,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7190,9 +7196,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7212,9 +7218,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7367,9 +7373,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7389,9 +7395,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7411,9 +7417,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7433,9 +7439,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7455,9 +7461,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7477,9 +7483,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7499,9 +7505,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7521,20 +7527,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7554,9 +7560,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7576,9 +7582,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7598,9 +7604,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7620,9 +7626,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7642,9 +7648,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7664,9 +7670,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7686,20 +7692,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7719,20 +7725,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7752,20 +7758,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7785,9 +7791,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7807,20 +7813,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7840,9 +7846,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7862,20 +7868,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7895,20 +7901,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7928,9 +7934,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7950,9 +7956,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7972,9 +7978,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7994,20 +8000,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8027,9 +8033,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8049,9 +8055,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8071,9 +8077,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8093,20 +8099,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8126,20 +8132,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8159,9 +8165,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8181,9 +8187,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8203,9 +8209,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8225,9 +8231,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8247,9 +8253,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8269,20 +8275,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8302,20 +8308,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8335,9 +8341,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8357,20 +8363,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8390,9 +8396,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8412,9 +8418,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8434,9 +8440,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8456,20 +8462,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8489,9 +8495,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8511,20 +8517,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8544,9 +8550,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8566,9 +8572,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8588,9 +8594,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8949,9 +8955,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8971,9 +8977,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8993,20 +8999,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9026,20 +9032,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9059,20 +9065,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9092,9 +9098,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9114,9 +9120,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9213,9 +9219,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9235,9 +9241,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9257,20 +9263,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9290,20 +9296,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9323,9 +9329,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9560,9 +9566,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9582,9 +9588,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9604,20 +9610,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9637,20 +9643,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9670,20 +9676,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSurfaceFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurfaceFormat returnValue; - void* args[1] = {NULL}; + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9703,20 +9709,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9736,20 +9742,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSurface::SurfaceType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurface::SurfaceType returnValue; - void* args[1] = {NULL}; + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); } else { returnValue = *((QSurface::SurfaceType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9769,9 +9775,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9967,9 +9973,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9989,9 +9995,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10011,20 +10017,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10044,20 +10050,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10077,9 +10083,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10523,20 +10529,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10556,9 +10562,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10578,9 +10584,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10600,20 +10606,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&metric0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10633,20 +10639,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10666,20 +10672,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10699,20 +10705,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10805,9 +10811,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10827,9 +10833,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10849,20 +10855,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10882,20 +10888,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10915,9 +10921,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11010,9 +11016,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11032,9 +11038,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11054,20 +11060,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11087,20 +11093,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11120,20 +11126,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("link", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11153,9 +11159,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12261,9 +12267,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12283,9 +12289,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12305,20 +12311,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12338,20 +12344,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12371,9 +12377,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12471,9 +12477,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12493,9 +12499,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12515,20 +12521,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12548,20 +12554,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12581,9 +12587,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12689,6 +12695,11 @@ bool PythonQtWrapper_QOpenGLVersionProfile::isValid(QOpenGLVersionProfile* theW return ( theWrappedObject->isValid()); } +bool PythonQtWrapper_QOpenGLVersionProfile::__ne__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::operator_assign(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) { return &( (*theWrappedObject)= rhs); @@ -12742,9 +12753,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12764,9 +12775,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12786,20 +12797,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12819,20 +12830,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12852,9 +12863,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12927,9 +12938,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12949,9 +12960,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12971,9 +12982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12993,9 +13004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13015,9 +13026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13037,9 +13048,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13059,20 +13070,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13092,9 +13103,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13114,9 +13125,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13136,9 +13147,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13158,9 +13169,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13180,9 +13191,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13202,20 +13213,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13235,20 +13246,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13268,9 +13279,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13290,20 +13301,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13323,9 +13334,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13345,20 +13356,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13378,20 +13389,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13411,9 +13422,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13433,9 +13444,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13455,9 +13466,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13477,9 +13488,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13499,20 +13510,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13532,9 +13543,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13554,9 +13565,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13576,9 +13587,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13598,20 +13609,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&metric0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13631,20 +13642,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13664,9 +13675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13686,9 +13697,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13708,9 +13719,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13730,9 +13741,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13752,9 +13763,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13774,20 +13785,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13807,20 +13818,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13840,9 +13851,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13862,9 +13873,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13884,20 +13895,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&p0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13917,9 +13928,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13939,9 +13950,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&w0, (void*)&h1}; + void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13961,9 +13972,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13983,20 +13994,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14016,9 +14027,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14038,20 +14049,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14071,9 +14082,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14093,9 +14104,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14115,9 +14126,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14235,9 +14246,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14257,9 +14268,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14269,6 +14280,39 @@ if (_wrapper) { } QOpenGLWindow::customEvent(event0); } +int PythonQtShell_QOpenGLWindow::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::devType(); +} bool PythonQtShell_QOpenGLWindow::event(QEvent* event0) { if (_wrapper) { @@ -14279,20 +14323,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14312,20 +14356,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14345,9 +14389,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QExposeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14367,9 +14411,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14389,20 +14433,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue; - void* args[1] = {NULL}; + QObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); } else { returnValue = *((QObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14422,9 +14466,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14444,20 +14488,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSurfaceFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurfaceFormat returnValue; - void* args[1] = {NULL}; + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14477,9 +14521,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14489,6 +14533,28 @@ if (_wrapper) { } QOpenGLWindow::hideEvent(arg__1); } +void PythonQtShell_QOpenGLWindow::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::initPainter(painter0); +} void PythonQtShell_QOpenGLWindow::initializeGL() { if (_wrapper) { @@ -14499,9 +14565,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14521,9 +14587,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14543,9 +14609,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14565,20 +14631,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&metric0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14598,9 +14664,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14620,9 +14686,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14642,9 +14708,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14664,9 +14730,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14686,9 +14752,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14708,20 +14774,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14741,9 +14807,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14763,9 +14829,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14785,9 +14851,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14807,9 +14873,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14829,20 +14895,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14862,9 +14928,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14884,9 +14950,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&w0, (void*)&h1}; + void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14896,6 +14962,39 @@ if (_wrapper) { } QOpenGLWindow::resizeGL(w0, h1); } +QPainter* PythonQtShell_QOpenGLWindow::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::sharedPainter(); +} void PythonQtShell_QOpenGLWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { @@ -14906,9 +15005,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14928,20 +15027,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14961,20 +15060,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSurface::SurfaceType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurface::SurfaceType returnValue; - void* args[1] = {NULL}; + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); } else { returnValue = *((QSurface::SurfaceType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14994,9 +15093,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15016,9 +15115,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15038,9 +15137,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTouchEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15060,9 +15159,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15143,11 +15242,6 @@ void PythonQtWrapper_QOpenGLWindow::paintUnderGL(QOpenGLWindow* theWrappedObject ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintUnderGL()); } -QPaintDevice* PythonQtWrapper_QOpenGLWindow::redirected(QOpenGLWindow* theWrappedObject, QPoint* arg__1) const -{ - return ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_redirected(arg__1)); -} - void PythonQtWrapper_QOpenGLWindow::resizeGL(QOpenGLWindow* theWrappedObject, int w, int h) { ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_resizeGL(w, h)); diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui5.h b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui5.h index 3d7d5f344..92af9f13b 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui5.h +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui5.h @@ -80,6 +80,7 @@ #include #include #include +#include #include #include #include @@ -95,60 +96,60 @@ class PythonQtShell_QMainWindow : public QMainWindow { public: - PythonQtShell_QMainWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QMainWindow(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QMainWindow(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual QMenu* createPopupMenu(); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMainWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QMainWindow(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QMainWindow() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +QMenu* createPopupMenu() override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMainWindow : public QMainWindow @@ -170,7 +171,7 @@ enum DockOption{ Q_DECLARE_FLAGS(DockOptions, DockOption) public slots: QMainWindow* new_QMainWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QMainWindow(QMainWindow* obj) { delete obj; } +void delete_QMainWindow(QMainWindow* obj) { delete obj; } void addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget); void addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget, Qt::Orientation orientation); void addToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar); @@ -239,10 +240,11 @@ QMargins* new_QMargins(const QMargins& other) { QMargins* a = new QMargins(); *((QMargins*)a) = other; return a; } -void delete_QMargins(QMargins* obj) { delete obj; } +void delete_QMargins(QMargins* obj) { delete obj; } int bottom(QMargins* theWrappedObject) const; bool isNull(QMargins* theWrappedObject) const; int left(QMargins* theWrappedObject) const; + bool __ne__(QMargins* theWrappedObject, const QMargins& m2); QMargins __mul__(QMargins* theWrappedObject, int factor); QMargins __mul__(QMargins* theWrappedObject, qreal factor); QMargins* __imul__(QMargins* theWrappedObject, int arg__1); @@ -291,7 +293,7 @@ QMatrix4x4* new_QMatrix4x4(const QMatrix4x4& other) { QMatrix4x4* a = new QMatrix4x4(); *((QMatrix4x4*)a) = other; return a; } -void delete_QMatrix4x4(QMatrix4x4* obj) { delete obj; } +void delete_QMatrix4x4(QMatrix4x4* obj) { delete obj; } QVector4D column(QMatrix4x4* theWrappedObject, int index) const; const float* constData(QMatrix4x4* theWrappedObject) const; void copyDataTo(QMatrix4x4* theWrappedObject, float* values) const; @@ -365,63 +367,63 @@ void delete_QMatrix4x4(QMatrix4x4* obj) { delete obj; } class PythonQtShell_QMdiArea : public QMdiArea { public: - PythonQtShell_QMdiArea(QWidget* parent = nullptr):QMdiArea(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMdiArea(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* childEvent); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* paintEvent); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* resizeEvent); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* showEvent); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* timerEvent); -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMdiArea(QWidget* parent = nullptr):QMdiArea(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMdiArea() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* childEvent) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* paintEvent) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* resizeEvent) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* showEvent) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* timerEvent) override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMdiArea : public QMdiArea @@ -460,7 +462,7 @@ enum AreaOption{ Q_DECLARE_FLAGS(AreaOptions, AreaOption) public slots: QMdiArea* new_QMdiArea(QWidget* parent = nullptr); -void delete_QMdiArea(QMdiArea* obj) { delete obj; } +void delete_QMdiArea(QMdiArea* obj) { delete obj; } QMdiArea::WindowOrder activationOrder(QMdiArea* theWrappedObject) const; QMdiSubWindow* activeSubWindow(QMdiArea* theWrappedObject) const; QMdiSubWindow* addSubWindow(QMdiArea* theWrappedObject, QWidget* widget, Qt::WindowFlags flags = Qt::WindowFlags()); @@ -505,59 +507,59 @@ void delete_QMdiArea(QMdiArea* obj) { delete obj; } class PythonQtShell_QMdiSubWindow : public QMdiSubWindow { public: - PythonQtShell_QMdiSubWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QMdiSubWindow(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QMdiSubWindow(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* changeEvent); -virtual void childEvent(QChildEvent* childEvent); -virtual void closeEvent(QCloseEvent* closeEvent); -virtual void contextMenuEvent(QContextMenuEvent* contextMenuEvent); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* focusInEvent); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* focusOutEvent); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* hideEvent); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* keyEvent); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* leaveEvent); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* mouseEvent); -virtual void mouseMoveEvent(QMouseEvent* mouseEvent); -virtual void mousePressEvent(QMouseEvent* mouseEvent); -virtual void mouseReleaseEvent(QMouseEvent* mouseEvent); -virtual void moveEvent(QMoveEvent* moveEvent); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* paintEvent); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* resizeEvent); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* showEvent); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* timerEvent); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMdiSubWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QMdiSubWindow(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QMdiSubWindow() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* changeEvent) override; +void childEvent(QChildEvent* childEvent) override; +void closeEvent(QCloseEvent* closeEvent) override; +void contextMenuEvent(QContextMenuEvent* contextMenuEvent) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* focusInEvent) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* focusOutEvent) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* hideEvent) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* keyEvent) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* leaveEvent) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* mouseEvent) override; +void mouseMoveEvent(QMouseEvent* mouseEvent) override; +void mousePressEvent(QMouseEvent* mouseEvent) override; +void mouseReleaseEvent(QMouseEvent* mouseEvent) override; +void moveEvent(QMoveEvent* moveEvent) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* paintEvent) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* resizeEvent) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* showEvent) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* timerEvent) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMdiSubWindow : public QMdiSubWindow @@ -616,7 +618,7 @@ enum SubWindowOption{ Q_DECLARE_FLAGS(SubWindowOptions, SubWindowOption) public slots: QMdiSubWindow* new_QMdiSubWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QMdiSubWindow(QMdiSubWindow* obj) { delete obj; } +void delete_QMdiSubWindow(QMdiSubWindow* obj) { delete obj; } void py_q_changeEvent(QMdiSubWindow* theWrappedObject, QEvent* changeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_changeEvent(changeEvent));} void py_q_childEvent(QMdiSubWindow* theWrappedObject, QChildEvent* childEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_childEvent(childEvent));} void py_q_closeEvent(QMdiSubWindow* theWrappedObject, QCloseEvent* closeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_closeEvent(closeEvent));} @@ -664,60 +666,60 @@ void delete_QMdiSubWindow(QMdiSubWindow* obj) { delete obj; } class PythonQtShell_QMenu : public QMenu { public: - PythonQtShell_QMenu(QWidget* parent = nullptr):QMenu(parent),_wrapper(NULL) {}; - PythonQtShell_QMenu(const QString& title, QWidget* parent = nullptr):QMenu(title, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMenu(); - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMenu(QWidget* parent = nullptr):QMenu(parent),_wrapper(nullptr) {}; + PythonQtShell_QMenu(const QString& title, QWidget* parent = nullptr):QMenu(title, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMenu() override; + +void actionEvent(QActionEvent* arg__1) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* arg__1) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMenu : public QMenu @@ -761,7 +763,7 @@ class PythonQtWrapper_QMenu : public QObject public slots: QMenu* new_QMenu(QWidget* parent = nullptr); QMenu* new_QMenu(const QString& title, QWidget* parent = nullptr); -void delete_QMenu(QMenu* obj) { delete obj; } +void delete_QMenu(QMenu* obj) { delete obj; } QAction* actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const; void py_q_actionEvent(QMenu* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_actionEvent(arg__1));} QRect actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const; @@ -848,59 +850,59 @@ void delete_QMenu(QMenu* obj) { delete obj; } class PythonQtShell_QMenuBar : public QMenuBar { public: - PythonQtShell_QMenuBar(QWidget* parent = nullptr):QMenuBar(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMenuBar(); - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMenuBar(QWidget* parent = nullptr):QMenuBar(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMenuBar() override; + +void actionEvent(QActionEvent* arg__1) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* arg__1) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* arg__1) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMenuBar : public QMenuBar @@ -945,7 +947,7 @@ class PythonQtWrapper_QMenuBar : public QObject public: public slots: QMenuBar* new_QMenuBar(QWidget* parent = nullptr); -void delete_QMenuBar(QMenuBar* obj) { delete obj; } +void delete_QMenuBar(QMenuBar* obj) { delete obj; } QAction* actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const; void py_q_actionEvent(QMenuBar* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_actionEvent(arg__1));} QRect actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const; @@ -1003,64 +1005,64 @@ void delete_QMenuBar(QMenuBar* obj) { delete obj; } class PythonQtShell_QMessageBox : public QMessageBox { public: - PythonQtShell_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint):QMessageBox(icon, title, text, buttons, parent, flags),_wrapper(NULL) {}; - PythonQtShell_QMessageBox(QWidget* parent = nullptr):QMessageBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMessageBox(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint):QMessageBox(icon, title, text, buttons, parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QMessageBox(QWidget* parent = nullptr):QMessageBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMessageBox() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int arg__1) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMessageBox : public QMessageBox @@ -1092,7 +1094,7 @@ Q_DECLARE_FLAGS(StandardButtons, StandardButton) public slots: QMessageBox* new_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint); QMessageBox* new_QMessageBox(QWidget* parent = nullptr); -void delete_QMessageBox(QMessageBox* obj) { delete obj; } +void delete_QMessageBox(QMessageBox* obj) { delete obj; } void static_QMessageBox_about(QWidget* parent, const QString& title, const QString& text); void static_QMessageBox_aboutQt(QWidget* parent, const QString& title = QString()); void addButton(QMessageBox* theWrappedObject, QAbstractButton* button, QMessageBox::ButtonRole role); @@ -1152,15 +1154,15 @@ void delete_QMessageBox(QMessageBox* obj) { delete obj; } class PythonQtShell_QMouseEvent : public QMouseEvent { public: - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, button, buttons, modifiers),_wrapper(NULL) {}; - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, screenPos, button, buttons, modifiers),_wrapper(NULL) {}; - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers),_wrapper(NULL) {}; - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source):QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers, source),_wrapper(NULL) {}; + PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, button, buttons, modifiers),_wrapper(nullptr) {}; + PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, screenPos, button, buttons, modifiers),_wrapper(nullptr) {}; + PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers),_wrapper(nullptr) {}; + PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source):QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers, source),_wrapper(nullptr) {}; - ~PythonQtShell_QMouseEvent(); + ~PythonQtShell_QMouseEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMouseEvent : public QObject @@ -1171,7 +1173,7 @@ QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::M QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source); -void delete_QMouseEvent(QMouseEvent* obj) { delete obj; } +void delete_QMouseEvent(QMouseEvent* obj) { delete obj; } Qt::MouseButton button(QMouseEvent* theWrappedObject) const; Qt::MouseButtons buttons(QMouseEvent* theWrappedObject) const; Qt::MouseEventFlags flags(QMouseEvent* theWrappedObject) const; @@ -1195,22 +1197,22 @@ void delete_QMouseEvent(QMouseEvent* obj) { delete obj; } class PythonQtShell_QMouseEventTransition : public QMouseEventTransition { public: - PythonQtShell_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState = nullptr):QMouseEventTransition(object, type, button, sourceState),_wrapper(NULL) {}; - PythonQtShell_QMouseEventTransition(QState* sourceState = nullptr):QMouseEventTransition(sourceState),_wrapper(NULL) {}; + PythonQtShell_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState = nullptr):QMouseEventTransition(object, type, button, sourceState),_wrapper(nullptr) {}; + PythonQtShell_QMouseEventTransition(QState* sourceState = nullptr):QMouseEventTransition(sourceState),_wrapper(nullptr) {}; - ~PythonQtShell_QMouseEventTransition(); + ~PythonQtShell_QMouseEventTransition() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool eventTest(QEvent* event) override; +void onTransition(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMouseEventTransition : public QMouseEventTransition @@ -1227,7 +1229,7 @@ class PythonQtWrapper_QMouseEventTransition : public QObject public slots: QMouseEventTransition* new_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState = nullptr); QMouseEventTransition* new_QMouseEventTransition(QState* sourceState = nullptr); -void delete_QMouseEventTransition(QMouseEventTransition* obj) { delete obj; } +void delete_QMouseEventTransition(QMouseEventTransition* obj) { delete obj; } Qt::MouseButton button(QMouseEventTransition* theWrappedObject) const; bool py_q_eventTest(QMouseEventTransition* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMouseEventTransition*)theWrappedObject)->py_q_eventTest(event));} QPainterPath hitTestPath(QMouseEventTransition* theWrappedObject) const; @@ -1245,12 +1247,12 @@ void delete_QMouseEventTransition(QMouseEventTransition* obj) { delete obj; } class PythonQtShell_QMoveEvent : public QMoveEvent { public: - PythonQtShell_QMoveEvent(const QPoint& pos, const QPoint& oldPos):QMoveEvent(pos, oldPos),_wrapper(NULL) {}; + PythonQtShell_QMoveEvent(const QPoint& pos, const QPoint& oldPos):QMoveEvent(pos, oldPos),_wrapper(nullptr) {}; - ~PythonQtShell_QMoveEvent(); + ~PythonQtShell_QMoveEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMoveEvent : public QObject @@ -1258,7 +1260,7 @@ class PythonQtWrapper_QMoveEvent : public QObject public: public slots: QMoveEvent* new_QMoveEvent(const QPoint& pos, const QPoint& oldPos); -void delete_QMoveEvent(QMoveEvent* obj) { delete obj; } +void delete_QMoveEvent(QMoveEvent* obj) { delete obj; } const QPoint* oldPos(QMoveEvent* theWrappedObject) const; const QPoint* pos(QMoveEvent* theWrappedObject) const; }; @@ -1270,21 +1272,21 @@ void delete_QMoveEvent(QMoveEvent* obj) { delete obj; } class PythonQtShell_QMovie : public QMovie { public: - PythonQtShell_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = nullptr):QMovie(device, format, parent),_wrapper(NULL) {}; - PythonQtShell_QMovie(QObject* parent = nullptr):QMovie(parent),_wrapper(NULL) {}; - PythonQtShell_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = nullptr):QMovie(fileName, format, parent),_wrapper(NULL) {}; + PythonQtShell_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = nullptr):QMovie(device, format, parent),_wrapper(nullptr) {}; + PythonQtShell_QMovie(QObject* parent = nullptr):QMovie(parent),_wrapper(nullptr) {}; + PythonQtShell_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = nullptr):QMovie(fileName, format, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMovie(); + ~PythonQtShell_QMovie() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMovie : public QObject @@ -1294,7 +1296,7 @@ public slots: QMovie* new_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = nullptr); QMovie* new_QMovie(QObject* parent = nullptr); QMovie* new_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = nullptr); -void delete_QMovie(QMovie* obj) { delete obj; } +void delete_QMovie(QMovie* obj) { delete obj; } QColor backgroundColor(QMovie* theWrappedObject) const; QMovie::CacheMode cacheMode(QMovie* theWrappedObject) const; int currentFrameNumber(QMovie* theWrappedObject) const; @@ -1331,13 +1333,13 @@ void delete_QMovie(QMovie* obj) { delete obj; } class PythonQtShell_QNativeGestureEvent : public QNativeGestureEvent { public: - PythonQtShell_QNativeGestureEvent(Qt::NativeGestureType type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument):QNativeGestureEvent(type, localPos, windowPos, screenPos, value, sequenceId, intArgument),_wrapper(NULL) {}; - PythonQtShell_QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice* dev, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument):QNativeGestureEvent(type, dev, localPos, windowPos, screenPos, value, sequenceId, intArgument),_wrapper(NULL) {}; + PythonQtShell_QNativeGestureEvent(Qt::NativeGestureType type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument):QNativeGestureEvent(type, localPos, windowPos, screenPos, value, sequenceId, intArgument),_wrapper(nullptr) {}; + PythonQtShell_QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice* dev, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument):QNativeGestureEvent(type, dev, localPos, windowPos, screenPos, value, sequenceId, intArgument),_wrapper(nullptr) {}; - ~PythonQtShell_QNativeGestureEvent(); + ~PythonQtShell_QNativeGestureEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QNativeGestureEvent : public QObject @@ -1346,7 +1348,7 @@ class PythonQtWrapper_QNativeGestureEvent : public QObject public slots: QNativeGestureEvent* new_QNativeGestureEvent(Qt::NativeGestureType type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument); QNativeGestureEvent* new_QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice* dev, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument); -void delete_QNativeGestureEvent(QNativeGestureEvent* obj) { delete obj; } +void delete_QNativeGestureEvent(QNativeGestureEvent* obj) { delete obj; } const QTouchDevice* device(QNativeGestureEvent* theWrappedObject) const; Qt::NativeGestureType gestureType(QNativeGestureEvent* theWrappedObject) const; const QPoint globalPos(QNativeGestureEvent* theWrappedObject) const; @@ -1364,23 +1366,23 @@ void delete_QNativeGestureEvent(QNativeGestureEvent* obj) { delete obj; } class PythonQtShell_QOffscreenSurface : public QOffscreenSurface { public: - PythonQtShell_QOffscreenSurface(QScreen* screen = nullptr):QOffscreenSurface(screen),_wrapper(NULL) {}; - PythonQtShell_QOffscreenSurface(QScreen* screen, QObject* parent):QOffscreenSurface(screen, parent),_wrapper(NULL) {}; + PythonQtShell_QOffscreenSurface(QScreen* screen = nullptr):QOffscreenSurface(screen),_wrapper(nullptr) {}; + PythonQtShell_QOffscreenSurface(QScreen* screen, QObject* parent):QOffscreenSurface(screen, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QOffscreenSurface(); + ~PythonQtShell_QOffscreenSurface() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QSurfaceFormat format() const; -virtual QSize size() const; -virtual QSurface::SurfaceType surfaceType() const; -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QSurfaceFormat format() const override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QOffscreenSurface : public QOffscreenSurface @@ -1396,7 +1398,7 @@ class PythonQtWrapper_QOffscreenSurface : public QObject public slots: QOffscreenSurface* new_QOffscreenSurface(QScreen* screen = nullptr); QOffscreenSurface* new_QOffscreenSurface(QScreen* screen, QObject* parent); -void delete_QOffscreenSurface(QOffscreenSurface* obj) { delete obj; } +void delete_QOffscreenSurface(QOffscreenSurface* obj) { delete obj; } void create(QOffscreenSurface* theWrappedObject); void destroy(QOffscreenSurface* theWrappedObject); QSurfaceFormat py_q_format(QOffscreenSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOffscreenSurface*)theWrappedObject)->py_q_format());} @@ -1432,7 +1434,7 @@ public slots: QOpenGLBuffer* new_QOpenGLBuffer(); QOpenGLBuffer* new_QOpenGLBuffer(QOpenGLBuffer::Type type); QOpenGLBuffer* new_QOpenGLBuffer(const QOpenGLBuffer& other); -void delete_QOpenGLBuffer(QOpenGLBuffer* obj) { delete obj; } +void delete_QOpenGLBuffer(QOpenGLBuffer* obj) { delete obj; } void allocate(QOpenGLBuffer* theWrappedObject, const void* data, int count); void allocate(QOpenGLBuffer* theWrappedObject, int count); bool bind(QOpenGLBuffer* theWrappedObject); @@ -1460,19 +1462,19 @@ void delete_QOpenGLBuffer(QOpenGLBuffer* obj) { delete obj; } class PythonQtShell_QOpenGLContext : public QOpenGLContext { public: - PythonQtShell_QOpenGLContext(QObject* parent = nullptr):QOpenGLContext(parent),_wrapper(NULL) {}; + PythonQtShell_QOpenGLContext(QObject* parent = nullptr):QOpenGLContext(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QOpenGLContext(); + ~PythonQtShell_QOpenGLContext() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOpenGLContext : public QObject @@ -1483,7 +1485,7 @@ enum OpenGLModuleType{ LibGL = QOpenGLContext::LibGL, LibGLES = QOpenGLContext::LibGLES}; public slots: QOpenGLContext* new_QOpenGLContext(QObject* parent = nullptr); -void delete_QOpenGLContext(QOpenGLContext* obj) { delete obj; } +void delete_QOpenGLContext(QOpenGLContext* obj) { delete obj; } bool static_QOpenGLContext_areSharing(QOpenGLContext* first, QOpenGLContext* second); bool create(QOpenGLContext* theWrappedObject); QOpenGLContext* static_QOpenGLContext_currentContext(); @@ -1522,7 +1524,7 @@ class PythonQtWrapper_QOpenGLContextGroup : public QObject { Q_OBJECT public: public slots: -void delete_QOpenGLContextGroup(QOpenGLContextGroup* obj) { delete obj; } +void delete_QOpenGLContextGroup(QOpenGLContextGroup* obj) { delete obj; } QOpenGLContextGroup* static_QOpenGLContextGroup_currentContextGroup(); QList shares(QOpenGLContextGroup* theWrappedObject) const; QString py_toString(QOpenGLContextGroup*); @@ -1535,17 +1537,17 @@ void delete_QOpenGLContextGroup(QOpenGLContextGroup* obj) { delete obj; } class PythonQtShell_QOpenGLFramebufferObject : public QOpenGLFramebufferObject { public: - PythonQtShell_QOpenGLFramebufferObject(const QSize& size, GLenum target = GL_TEXTURE_2D):QOpenGLFramebufferObject(size, target),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0):QOpenGLFramebufferObject(size, attachment, target, internalFormat),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format):QOpenGLFramebufferObject(size, format),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(int width, int height, GLenum target = GL_TEXTURE_2D):QOpenGLFramebufferObject(width, height, target),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0):QOpenGLFramebufferObject(width, height, attachment, target, internalFormat),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format):QOpenGLFramebufferObject(width, height, format),_wrapper(NULL) {}; + PythonQtShell_QOpenGLFramebufferObject(const QSize& size, GLenum target = GL_TEXTURE_2D):QOpenGLFramebufferObject(size, target),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0):QOpenGLFramebufferObject(size, attachment, target, internalFormat),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format):QOpenGLFramebufferObject(size, format),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(int width, int height, GLenum target = GL_TEXTURE_2D):QOpenGLFramebufferObject(width, height, target),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0):QOpenGLFramebufferObject(width, height, attachment, target, internalFormat),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format):QOpenGLFramebufferObject(width, height, format),_wrapper(nullptr) {}; - ~PythonQtShell_QOpenGLFramebufferObject(); + ~PythonQtShell_QOpenGLFramebufferObject() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOpenGLFramebufferObject : public QObject @@ -1563,7 +1565,7 @@ QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, GLenum target = GL_TEXTURE_2D); QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0); QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format); -void delete_QOpenGLFramebufferObject(QOpenGLFramebufferObject* obj) { delete obj; } +void delete_QOpenGLFramebufferObject(QOpenGLFramebufferObject* obj) { delete obj; } void addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, const QSize& size, GLenum internalFormat = 0); void addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, int width, int height, GLenum internalFormat = 0); QOpenGLFramebufferObject::Attachment attachment(QOpenGLFramebufferObject* theWrappedObject) const; @@ -1605,7 +1607,7 @@ class PythonQtWrapper_QOpenGLFramebufferObjectFormat : public QObject public slots: QOpenGLFramebufferObjectFormat* new_QOpenGLFramebufferObjectFormat(); QOpenGLFramebufferObjectFormat* new_QOpenGLFramebufferObjectFormat(const QOpenGLFramebufferObjectFormat& other); -void delete_QOpenGLFramebufferObjectFormat(QOpenGLFramebufferObjectFormat* obj) { delete obj; } +void delete_QOpenGLFramebufferObjectFormat(QOpenGLFramebufferObjectFormat* obj) { delete obj; } QOpenGLFramebufferObject::Attachment attachment(QOpenGLFramebufferObjectFormat* theWrappedObject) const; GLenum internalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject) const; bool mipmap(QOpenGLFramebufferObjectFormat* theWrappedObject) const; @@ -1628,21 +1630,21 @@ void delete_QOpenGLFramebufferObjectFormat(QOpenGLFramebufferObjectFormat* obj) class PythonQtShell_QOpenGLPaintDevice : public QOpenGLPaintDevice { public: - PythonQtShell_QOpenGLPaintDevice():QOpenGLPaintDevice(),_wrapper(NULL) {}; - PythonQtShell_QOpenGLPaintDevice(const QSize& size):QOpenGLPaintDevice(size),_wrapper(NULL) {}; - PythonQtShell_QOpenGLPaintDevice(int width, int height):QOpenGLPaintDevice(width, height),_wrapper(NULL) {}; + PythonQtShell_QOpenGLPaintDevice():QOpenGLPaintDevice(),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLPaintDevice(const QSize& size):QOpenGLPaintDevice(size),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLPaintDevice(int width, int height):QOpenGLPaintDevice(width, height),_wrapper(nullptr) {}; - ~PythonQtShell_QOpenGLPaintDevice(); + ~PythonQtShell_QOpenGLPaintDevice() override; -virtual int devType() const; -virtual void ensureActiveTarget(); -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; +int devType() const override; +void ensureActiveTarget() override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QOpenGLPaintDevice : public QOpenGLPaintDevice @@ -1661,7 +1663,7 @@ public slots: QOpenGLPaintDevice* new_QOpenGLPaintDevice(); QOpenGLPaintDevice* new_QOpenGLPaintDevice(const QSize& size); QOpenGLPaintDevice* new_QOpenGLPaintDevice(int width, int height); -void delete_QOpenGLPaintDevice(QOpenGLPaintDevice* obj) { delete obj; } +void delete_QOpenGLPaintDevice(QOpenGLPaintDevice* obj) { delete obj; } QOpenGLContext* context(QOpenGLPaintDevice* theWrappedObject) const; int py_q_devType(QOpenGLPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOpenGLPaintDevice*)theWrappedObject)->py_q_devType());} qreal dotsPerMeterX(QOpenGLPaintDevice* theWrappedObject) const; @@ -1686,19 +1688,19 @@ void delete_QOpenGLPaintDevice(QOpenGLPaintDevice* obj) { delete obj; } class PythonQtShell_QOpenGLShader : public QOpenGLShader { public: - PythonQtShell_QOpenGLShader(QOpenGLShader::ShaderType type, QObject* parent = nullptr):QOpenGLShader(type, parent),_wrapper(NULL) {}; + PythonQtShell_QOpenGLShader(QOpenGLShader::ShaderType type, QObject* parent = nullptr):QOpenGLShader(type, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QOpenGLShader(); + ~PythonQtShell_QOpenGLShader() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOpenGLShader : public QObject @@ -1711,7 +1713,7 @@ enum ShaderTypeBit{ Q_DECLARE_FLAGS(ShaderType, ShaderTypeBit) public slots: QOpenGLShader* new_QOpenGLShader(QOpenGLShader::ShaderType type, QObject* parent = nullptr); -void delete_QOpenGLShader(QOpenGLShader* obj) { delete obj; } +void delete_QOpenGLShader(QOpenGLShader* obj) { delete obj; } bool compileSourceCode(QOpenGLShader* theWrappedObject, const QByteArray& source); bool compileSourceCode(QOpenGLShader* theWrappedObject, const QString& source); bool compileSourceCode(QOpenGLShader* theWrappedObject, const char* source); @@ -1731,20 +1733,20 @@ void delete_QOpenGLShader(QOpenGLShader* obj) { delete obj; } class PythonQtShell_QOpenGLShaderProgram : public QOpenGLShaderProgram { public: - PythonQtShell_QOpenGLShaderProgram(QObject* parent = nullptr):QOpenGLShaderProgram(parent),_wrapper(NULL) {}; + PythonQtShell_QOpenGLShaderProgram(QObject* parent = nullptr):QOpenGLShaderProgram(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QOpenGLShaderProgram(); + ~PythonQtShell_QOpenGLShaderProgram() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool link(); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool link() override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QOpenGLShaderProgram : public QOpenGLShaderProgram @@ -1757,7 +1759,7 @@ class PythonQtWrapper_QOpenGLShaderProgram : public QObject public: public slots: QOpenGLShaderProgram* new_QOpenGLShaderProgram(QObject* parent = nullptr); -void delete_QOpenGLShaderProgram(QOpenGLShaderProgram* obj) { delete obj; } +void delete_QOpenGLShaderProgram(QOpenGLShaderProgram* obj) { delete obj; } bool addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source); bool addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source); bool addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source); @@ -1926,7 +1928,7 @@ Q_DECLARE_FLAGS(Features, Feature) public slots: QOpenGLTexture* new_QOpenGLTexture(QOpenGLTexture::Target target); QOpenGLTexture* new_QOpenGLTexture(const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps = QOpenGLTexture::GenerateMipMaps); -void delete_QOpenGLTexture(QOpenGLTexture* obj) { delete obj; } +void delete_QOpenGLTexture(QOpenGLTexture* obj) { delete obj; } void allocateStorage(QOpenGLTexture* theWrappedObject); void allocateStorage(QOpenGLTexture* theWrappedObject, QOpenGLTexture::PixelFormat pixelFormat, QOpenGLTexture::PixelType pixelType); void bind(QOpenGLTexture* theWrappedObject); @@ -2024,7 +2026,7 @@ enum Origin{ OriginBottomLeft = QOpenGLTextureBlitter::OriginBottomLeft, OriginTopLeft = QOpenGLTextureBlitter::OriginTopLeft}; public slots: QOpenGLTextureBlitter* new_QOpenGLTextureBlitter(); -void delete_QOpenGLTextureBlitter(QOpenGLTextureBlitter* obj) { delete obj; } +void delete_QOpenGLTextureBlitter(QOpenGLTextureBlitter* obj) { delete obj; } void bind(QOpenGLTextureBlitter* theWrappedObject, GLenum target = GL_TEXTURE_2D); void blit(QOpenGLTextureBlitter* theWrappedObject, GLuint texture, const QMatrix4x4& targetTransform, QOpenGLTextureBlitter::Origin sourceOrigin); bool create(QOpenGLTextureBlitter* theWrappedObject); @@ -2044,19 +2046,19 @@ void delete_QOpenGLTextureBlitter(QOpenGLTextureBlitter* obj) { delete obj; } class PythonQtShell_QOpenGLTimeMonitor : public QOpenGLTimeMonitor { public: - PythonQtShell_QOpenGLTimeMonitor(QObject* parent = nullptr):QOpenGLTimeMonitor(parent),_wrapper(NULL) {}; + PythonQtShell_QOpenGLTimeMonitor(QObject* parent = nullptr):QOpenGLTimeMonitor(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QOpenGLTimeMonitor(); + ~PythonQtShell_QOpenGLTimeMonitor() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOpenGLTimeMonitor : public QObject @@ -2064,7 +2066,7 @@ class PythonQtWrapper_QOpenGLTimeMonitor : public QObject public: public slots: QOpenGLTimeMonitor* new_QOpenGLTimeMonitor(QObject* parent = nullptr); -void delete_QOpenGLTimeMonitor(QOpenGLTimeMonitor* obj) { delete obj; } +void delete_QOpenGLTimeMonitor(QOpenGLTimeMonitor* obj) { delete obj; } bool create(QOpenGLTimeMonitor* theWrappedObject); void destroy(QOpenGLTimeMonitor* theWrappedObject); bool isCreated(QOpenGLTimeMonitor* theWrappedObject) const; @@ -2085,19 +2087,19 @@ void delete_QOpenGLTimeMonitor(QOpenGLTimeMonitor* obj) { delete obj; } class PythonQtShell_QOpenGLTimerQuery : public QOpenGLTimerQuery { public: - PythonQtShell_QOpenGLTimerQuery(QObject* parent = nullptr):QOpenGLTimerQuery(parent),_wrapper(NULL) {}; + PythonQtShell_QOpenGLTimerQuery(QObject* parent = nullptr):QOpenGLTimerQuery(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QOpenGLTimerQuery(); + ~PythonQtShell_QOpenGLTimerQuery() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOpenGLTimerQuery : public QObject @@ -2105,7 +2107,7 @@ class PythonQtWrapper_QOpenGLTimerQuery : public QObject public: public slots: QOpenGLTimerQuery* new_QOpenGLTimerQuery(QObject* parent = nullptr); -void delete_QOpenGLTimerQuery(QOpenGLTimerQuery* obj) { delete obj; } +void delete_QOpenGLTimerQuery(QOpenGLTimerQuery* obj) { delete obj; } void begin(QOpenGLTimerQuery* theWrappedObject); bool create(QOpenGLTimerQuery* theWrappedObject); void destroy(QOpenGLTimerQuery* theWrappedObject); @@ -2129,10 +2131,11 @@ public slots: QOpenGLVersionProfile* new_QOpenGLVersionProfile(); QOpenGLVersionProfile* new_QOpenGLVersionProfile(const QOpenGLVersionProfile& other); QOpenGLVersionProfile* new_QOpenGLVersionProfile(const QSurfaceFormat& format); -void delete_QOpenGLVersionProfile(QOpenGLVersionProfile* obj) { delete obj; } +void delete_QOpenGLVersionProfile(QOpenGLVersionProfile* obj) { delete obj; } bool hasProfiles(QOpenGLVersionProfile* theWrappedObject) const; bool isLegacyVersion(QOpenGLVersionProfile* theWrappedObject) const; bool isValid(QOpenGLVersionProfile* theWrappedObject) const; + bool __ne__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs); QOpenGLVersionProfile* operator_assign(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs); bool __eq__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs); QSurfaceFormat::OpenGLContextProfile profile(QOpenGLVersionProfile* theWrappedObject) const; @@ -2150,19 +2153,19 @@ void delete_QOpenGLVersionProfile(QOpenGLVersionProfile* obj) { delete obj; } class PythonQtShell_QOpenGLVertexArrayObject : public QOpenGLVertexArrayObject { public: - PythonQtShell_QOpenGLVertexArrayObject(QObject* parent = nullptr):QOpenGLVertexArrayObject(parent),_wrapper(NULL) {}; + PythonQtShell_QOpenGLVertexArrayObject(QObject* parent = nullptr):QOpenGLVertexArrayObject(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QOpenGLVertexArrayObject(); + ~PythonQtShell_QOpenGLVertexArrayObject() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOpenGLVertexArrayObject : public QObject @@ -2170,7 +2173,7 @@ class PythonQtWrapper_QOpenGLVertexArrayObject : public QObject public: public slots: QOpenGLVertexArrayObject* new_QOpenGLVertexArrayObject(QObject* parent = nullptr); -void delete_QOpenGLVertexArrayObject(QOpenGLVertexArrayObject* obj) { delete obj; } +void delete_QOpenGLVertexArrayObject(QOpenGLVertexArrayObject* obj) { delete obj; } void bind(QOpenGLVertexArrayObject* theWrappedObject); bool create(QOpenGLVertexArrayObject* theWrappedObject); void destroy(QOpenGLVertexArrayObject* theWrappedObject); @@ -2186,62 +2189,62 @@ void delete_QOpenGLVertexArrayObject(QOpenGLVertexArrayObject* obj) { delete obj class PythonQtShell_QOpenGLWidget : public QOpenGLWidget { public: - PythonQtShell_QOpenGLWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QOpenGLWidget(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QOpenGLWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void initializeGL(); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void paintGL(); -virtual QPaintDevice* redirected(QPoint* p) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void resizeGL(int w, int h); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QOpenGLWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QOpenGLWidget(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void initializeGL() override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +void paintGL() override; +QPaintDevice* redirected(QPoint* p) const override; +void resizeEvent(QResizeEvent* e) override; +void resizeGL(int w, int h) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QOpenGLWidget : public QOpenGLWidget @@ -2274,7 +2277,7 @@ enum UpdateBehavior{ NoPartialUpdate = QOpenGLWidget::NoPartialUpdate, PartialUpdate = QOpenGLWidget::PartialUpdate}; public slots: QOpenGLWidget* new_QOpenGLWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QOpenGLWidget(QOpenGLWidget* obj) { delete obj; } +void delete_QOpenGLWidget(QOpenGLWidget* obj) { delete obj; } QOpenGLContext* context(QOpenGLWidget* theWrappedObject) const; GLuint defaultFramebufferObject(QOpenGLWidget* theWrappedObject) const; void doneCurrent(QOpenGLWidget* theWrappedObject); @@ -2309,49 +2312,52 @@ void delete_QOpenGLWidget(QOpenGLWidget* obj) { delete obj; } class PythonQtShell_QOpenGLWindow : public QOpenGLWindow { public: - PythonQtShell_QOpenGLWindow(QOpenGLContext* shareContext, QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr):QOpenGLWindow(shareContext, updateBehavior, parent),_wrapper(NULL) {}; - PythonQtShell_QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr):QOpenGLWindow(updateBehavior, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QOpenGLWindow(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void exposeEvent(QExposeEvent* arg__1); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual QObject* focusObject() const; -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual QSurfaceFormat format() const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initializeGL(); -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void paintEvent(QPaintEvent* event); -virtual void paintGL(); -virtual void paintOverGL(); -virtual void paintUnderGL(); -virtual QPaintDevice* redirected(QPoint* arg__1) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void resizeGL(int w, int h); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize size() const; -virtual QSurface::SurfaceType surfaceType() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* event); -virtual void touchEvent(QTouchEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QOpenGLWindow(QOpenGLContext* shareContext, QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr):QOpenGLWindow(shareContext, updateBehavior, parent),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr):QOpenGLWindow(updateBehavior, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLWindow() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void exposeEvent(QExposeEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +QObject* focusObject() const override; +void focusOutEvent(QFocusEvent* arg__1) override; +QSurfaceFormat format() const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void initializeGL() override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void paintEvent(QPaintEvent* event) override; +void paintGL() override; +void paintOverGL() override; +void paintUnderGL() override; +QPaintDevice* redirected(QPoint* arg__1) const override; +void resizeEvent(QResizeEvent* event) override; +void resizeGL(int w, int h) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; +void tabletEvent(QTabletEvent* arg__1) override; +void timerEvent(QTimerEvent* event) override; +void touchEvent(QTouchEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QOpenGLWindow : public QOpenGLWindow @@ -2385,7 +2391,7 @@ enum UpdateBehavior{ public slots: QOpenGLWindow* new_QOpenGLWindow(QOpenGLContext* shareContext, QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr); QOpenGLWindow* new_QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr); -void delete_QOpenGLWindow(QOpenGLWindow* obj) { delete obj; } +void delete_QOpenGLWindow(QOpenGLWindow* obj) { delete obj; } QOpenGLContext* context(QOpenGLWindow* theWrappedObject) const; GLuint defaultFramebufferObject(QOpenGLWindow* theWrappedObject) const; void doneCurrent(QOpenGLWindow* theWrappedObject); @@ -2402,7 +2408,6 @@ void delete_QOpenGLWindow(QOpenGLWindow* obj) { delete obj; } void py_q_paintOverGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_paintOverGL());} void paintUnderGL(QOpenGLWindow* theWrappedObject); void py_q_paintUnderGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_paintUnderGL());} - QPaintDevice* redirected(QOpenGLWindow* theWrappedObject, QPoint* arg__1) const; QPaintDevice* py_q_redirected(QOpenGLWindow* theWrappedObject, QPoint* arg__1) const{ return (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_redirected(arg__1));} void py_q_resizeEvent(QOpenGLWindow* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_resizeEvent(event));} void resizeGL(QOpenGLWindow* theWrappedObject, int w, int h); 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..94ca61b58 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 @@ -75,6 +75,7 @@ #include #include #include +#include #include #include #include @@ -158,6 +159,11 @@ QPageLayout::Mode PythonQtWrapper_QPageLayout::mode(QPageLayout* theWrappedObje return ( theWrappedObject->mode()); } +bool PythonQtWrapper_QPageLayout::__ne__(QPageLayout* theWrappedObject, const QPageLayout& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + QPageLayout* PythonQtWrapper_QPageLayout::operator_assign(QPageLayout* theWrappedObject, const QPageLayout& other) { return &( (*theWrappedObject)= other); @@ -281,9 +287,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -303,9 +309,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -325,9 +331,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -347,9 +353,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -369,9 +375,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -391,9 +397,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -413,9 +419,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -435,20 +441,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -468,9 +474,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -490,9 +496,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -512,9 +518,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -534,9 +540,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -556,9 +562,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -578,9 +584,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -600,20 +606,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -633,20 +639,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -666,20 +672,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -699,9 +705,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -721,20 +727,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -754,9 +760,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -776,20 +782,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -809,20 +815,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -842,9 +848,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -864,9 +870,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -886,9 +892,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -908,20 +914,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -941,9 +947,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -963,9 +969,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -985,9 +991,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1007,20 +1013,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1040,20 +1046,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1073,9 +1079,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1095,9 +1101,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1117,9 +1123,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1139,9 +1145,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1161,9 +1167,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1183,20 +1189,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1216,20 +1222,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1249,9 +1255,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1271,20 +1277,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1304,9 +1310,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1326,9 +1332,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1348,9 +1354,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1370,20 +1376,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1403,9 +1409,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1425,20 +1431,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1458,9 +1464,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1480,9 +1486,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1502,9 +1508,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1637,6 +1643,11 @@ QString PythonQtWrapper_QPageSize::static_QPageSize_name(QPageSize::PageSizeId return (QPageSize::name(pageSizeId)); } +bool PythonQtWrapper_QPageSize::__ne__(QPageSize* theWrappedObject, const QPageSize& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + QPageSize* PythonQtWrapper_QPageSize::operator_assign(QPageSize* theWrappedObject, const QPageSize& other) { return &( (*theWrappedObject)= other); @@ -1730,20 +1741,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1763,9 +1774,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1785,20 +1796,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&metric0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1818,20 +1829,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1851,20 +1862,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1872,7 +1883,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QPaintDevice* PythonQtShell_QPagedPaintDevice::redirected(QPoint* offset0) const { @@ -1884,20 +1895,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1917,9 +1928,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&margins0}; + void* args[2] = {nullptr, (void*)&margins0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1939,9 +1950,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1961,9 +1972,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QSizeF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1983,20 +1994,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2106,20 +2117,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2139,9 +2150,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2161,20 +2172,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&metric0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2194,20 +2205,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2215,7 +2226,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QPaintDevice* PythonQtShell_QPaintDevice::redirected(QPoint* offset0) const { @@ -2227,20 +2238,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2260,20 +2271,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2420,20 +2431,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QPaintDevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&pdev0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pdev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("begin", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2453,20 +2464,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPoint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPoint returnValue; - void* args[1] = {NULL}; + QPoint returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("coordinateOffset", methodInfo, result); } else { returnValue = *((QPoint*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2486,9 +2497,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&r0}; + void* args[2] = {nullptr, (void*)&r0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2508,9 +2519,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&r0}; + void* args[2] = {nullptr, (void*)&r0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2530,9 +2541,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF&" , "const QImage&" , "const QRectF&" , "Qt::ImageConversionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&r0, (void*)&pm1, (void*)&sr2, (void*)&flags3}; + void* args[5] = {nullptr, (void*)&r0, (void*)&pm1, (void*)&sr2, (void*)&flags3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2552,9 +2563,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QLine*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&lines0, (void*)&lineCount1}; + void* args[3] = {nullptr, (void*)&lines0, (void*)&lineCount1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2574,9 +2585,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QLineF*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&lines0, (void*)&lineCount1}; + void* args[3] = {nullptr, (void*)&lines0, (void*)&lineCount1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2596,9 +2607,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QPainterPath&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&path0}; + void* args[2] = {nullptr, (void*)&path0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2618,9 +2629,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&r0, (void*)&pm1, (void*)&sr2}; + void* args[4] = {nullptr, (void*)&r0, (void*)&pm1, (void*)&sr2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2640,9 +2651,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QPoint*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&points0, (void*)&pointCount1}; + void* args[3] = {nullptr, (void*)&points0, (void*)&pointCount1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2662,9 +2673,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QPointF*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&points0, (void*)&pointCount1}; + void* args[3] = {nullptr, (void*)&points0, (void*)&pointCount1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2684,9 +2695,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QPoint*" , "int" , "QPaintEngine::PolygonDrawMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&points0, (void*)&pointCount1, (void*)&mode2}; + void* args[4] = {nullptr, (void*)&points0, (void*)&pointCount1, (void*)&mode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2706,9 +2717,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QPointF*" , "int" , "QPaintEngine::PolygonDrawMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&points0, (void*)&pointCount1, (void*)&mode2}; + void* args[4] = {nullptr, (void*)&points0, (void*)&pointCount1, (void*)&mode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2728,9 +2739,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rects0, (void*)&rectCount1}; + void* args[3] = {nullptr, (void*)&rects0, (void*)&rectCount1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2750,9 +2761,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rects0, (void*)&rectCount1}; + void* args[3] = {nullptr, (void*)&rects0, (void*)&rectCount1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2772,9 +2783,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QPointF&" , "const QTextItem&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&p0, (void*)&textItem1}; + void* args[3] = {nullptr, (void*)&p0, (void*)&textItem1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2794,9 +2805,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&r0, (void*)&pixmap1, (void*)&s2}; + void* args[4] = {nullptr, (void*)&r0, (void*)&pixmap1, (void*)&s2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2816,20 +2827,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("end", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2849,20 +2860,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine::Type"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine::Type returnValue; - void* args[1] = {NULL}; + QPaintEngine::Type returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((QPaintEngine::Type*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2882,9 +2893,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QPaintEngineState&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&state0}; + void* args[2] = {nullptr, (void*)&state0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4724,9 +4735,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4746,9 +4757,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4768,20 +4779,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4801,20 +4812,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4834,9 +4845,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4914,9 +4925,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4936,9 +4947,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4958,20 +4969,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4991,20 +5002,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5024,20 +5035,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5057,9 +5068,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5079,20 +5090,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&id0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&id0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5112,20 +5123,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5145,20 +5156,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5178,20 +5189,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5211,9 +5222,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&m0}; + void* args[2] = {nullptr, (void*)&m0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5233,9 +5244,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5255,9 +5266,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QSizeF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5277,20 +5288,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5310,9 +5321,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5399,20 +5410,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5432,9 +5443,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5454,20 +5465,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&m0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&m0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5487,20 +5498,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5520,20 +5531,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5553,20 +5564,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5665,9 +5676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5687,9 +5698,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5709,20 +5720,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5742,20 +5753,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5775,20 +5786,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&format0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("installIOHandler", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5808,20 +5819,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QPicture*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&format0, (void*)&filename1, (void*)&pic2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&format0, (void*)&filename1, (void*)&pic2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("loadPicture", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5841,20 +5852,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QPicture&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&format0, (void*)&filename1, (void*)&pic2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&format0, (void*)&filename1, (void*)&pic2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("savePicture", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5874,9 +5885,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6068,9 +6079,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6090,9 +6101,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6112,20 +6123,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6145,20 +6156,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6178,9 +6189,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6548,20 +6559,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&block0}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("blockBoundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6581,9 +6592,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6603,9 +6614,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6625,9 +6636,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&from0, (void*)&arg__2, (void*)&charsAdded2}; + void* args[4] = {nullptr, (void*)&from0, (void*)&arg__2, (void*)&charsAdded2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6647,20 +6658,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizeF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizeF returnValue; - void* args[1] = {NULL}; + QSizeF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("documentSize", methodInfo, result); } else { returnValue = *((QSizeF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6680,9 +6691,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QAbstractTextDocumentLayout::PaintContext&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6702,9 +6713,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&" , "QTextInlineObject" , "int" , "const QTextFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - void* args[6] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&object2, (void*)&posInDocument3, (void*)&format4}; + void* args[6] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&object2, (void*)&posInDocument3, (void*)&format4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6724,20 +6735,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6757,20 +6768,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6790,20 +6801,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF" , "QTextFrame*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("frameBoundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6823,20 +6834,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QPointF&" , "Qt::HitTestAccuracy"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + int returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitTest", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6856,20 +6867,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pageCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6889,9 +6900,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6911,9 +6922,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6933,9 +6944,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6998,9 +7009,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7020,20 +7031,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&source0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7053,9 +7064,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7075,9 +7086,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7097,9 +7108,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7119,9 +7130,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7141,20 +7152,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMimeData* returnValue; - void* args[1] = {NULL}; + QMimeData* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7174,9 +7185,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7196,20 +7207,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7229,9 +7240,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QTextCursor&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&cursor0}; + void* args[2] = {nullptr, (void*)&cursor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7251,9 +7262,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7273,9 +7284,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7295,9 +7306,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7317,9 +7328,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7339,9 +7350,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7361,20 +7372,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7394,20 +7405,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7427,9 +7438,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7449,20 +7460,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7482,9 +7493,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7504,20 +7515,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7537,20 +7548,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7570,9 +7581,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7592,9 +7603,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7614,9 +7625,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7636,20 +7647,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&property0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&property0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7669,9 +7680,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&source0}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7691,9 +7702,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7713,9 +7724,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7735,9 +7746,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7757,20 +7768,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&type0, (void*)&name1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7790,20 +7801,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7823,20 +7834,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7856,9 +7867,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7878,9 +7889,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7900,9 +7911,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7922,9 +7933,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7944,9 +7955,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7966,20 +7977,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7999,20 +8010,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8032,9 +8043,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8054,20 +8065,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8087,9 +8098,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8109,9 +8120,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8131,9 +8142,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8153,9 +8164,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8175,20 +8186,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8208,9 +8219,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8230,20 +8241,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8263,9 +8274,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8285,9 +8296,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8307,20 +8318,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8340,20 +8351,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8373,9 +8384,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9145,9 +9156,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9167,9 +9178,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9189,9 +9200,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9211,9 +9222,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9233,9 +9244,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9255,9 +9266,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9277,9 +9288,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9299,20 +9310,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9332,9 +9343,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9354,9 +9365,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9376,9 +9387,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9398,9 +9409,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9420,9 +9431,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9442,9 +9453,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9464,20 +9475,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9497,20 +9508,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9530,20 +9541,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9563,9 +9574,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9585,20 +9596,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9618,9 +9629,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9640,20 +9651,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9673,20 +9684,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9706,9 +9717,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9728,9 +9739,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9750,9 +9761,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9772,20 +9783,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9805,9 +9816,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9827,9 +9838,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9849,9 +9860,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9871,20 +9882,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9904,20 +9915,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9937,9 +9948,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9959,9 +9970,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9981,9 +9992,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10003,9 +10014,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10025,9 +10036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10047,20 +10058,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10080,20 +10091,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10113,9 +10124,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10135,20 +10146,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10168,9 +10179,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10190,9 +10201,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10212,9 +10223,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10234,20 +10245,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10267,9 +10278,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10289,20 +10300,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10322,9 +10333,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10344,9 +10355,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10366,9 +10377,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10440,20 +10451,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("abort", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10473,20 +10484,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10506,20 +10517,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10539,20 +10550,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPrinter::PrinterState"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPrinter::PrinterState returnValue; - void* args[1] = {NULL}; + QPrinter::PrinterState returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("printerState", methodInfo, result); } else { returnValue = *((QPrinter::PrinterState*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10572,20 +10583,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "QPrintEngine::PrintEnginePropertyKey"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&key0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10605,9 +10616,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPrintEngine::PrintEnginePropertyKey" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&key0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&key0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui6.h b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui6.h index b05b2005d..80fe4efb2 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui6.h +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui6.h @@ -79,6 +79,7 @@ #include #include #include +#include #include #include #include @@ -101,7 +102,7 @@ public slots: QPageLayout* new_QPageLayout(); QPageLayout* new_QPageLayout(const QPageLayout& other); QPageLayout* new_QPageLayout(const QPageSize& pageSize, QPageLayout::Orientation orientation, const QMarginsF& margins, QPageLayout::Unit units = QPageLayout::Point, const QMarginsF& minMargins = QMarginsF(0, 0, 0, 0)); -void delete_QPageLayout(QPageLayout* obj) { delete obj; } +void delete_QPageLayout(QPageLayout* obj) { delete obj; } QRectF fullRect(QPageLayout* theWrappedObject) const; QRectF fullRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const; QRect fullRectPixels(QPageLayout* theWrappedObject, int resolution) const; @@ -115,6 +116,7 @@ void delete_QPageLayout(QPageLayout* obj) { delete obj; } QMarginsF maximumMargins(QPageLayout* theWrappedObject) const; QMarginsF minimumMargins(QPageLayout* theWrappedObject) const; QPageLayout::Mode mode(QPageLayout* theWrappedObject) const; + bool __ne__(QPageLayout* theWrappedObject, const QPageLayout& rhs); QPageLayout* operator_assign(QPageLayout* theWrappedObject, const QPageLayout& other); bool __eq__(QPageLayout* theWrappedObject, const QPageLayout& rhs); QPageLayout::Orientation orientation(QPageLayout* theWrappedObject) const; @@ -146,64 +148,64 @@ void delete_QPageLayout(QPageLayout* obj) { delete obj; } class PythonQtShell_QPageSetupDialog : public QPageSetupDialog { public: - PythonQtShell_QPageSetupDialog(QPrinter* printer, QWidget* parent = nullptr):QPageSetupDialog(printer, parent),_wrapper(NULL) {}; - PythonQtShell_QPageSetupDialog(QWidget* parent = nullptr):QPageSetupDialog(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPageSetupDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPageSetupDialog(QPrinter* printer, QWidget* parent = nullptr):QPageSetupDialog(printer, parent),_wrapper(nullptr) {}; + PythonQtShell_QPageSetupDialog(QWidget* parent = nullptr):QPageSetupDialog(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPageSetupDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPageSetupDialog : public QPageSetupDialog @@ -218,7 +220,7 @@ class PythonQtWrapper_QPageSetupDialog : public QObject public slots: QPageSetupDialog* new_QPageSetupDialog(QPrinter* printer, QWidget* parent = nullptr); QPageSetupDialog* new_QPageSetupDialog(QWidget* parent = nullptr); -void delete_QPageSetupDialog(QPageSetupDialog* obj) { delete obj; } +void delete_QPageSetupDialog(QPageSetupDialog* obj) { delete obj; } void py_q_done(QPageSetupDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPageSetupDialog*)theWrappedObject)->py_q_done(result));} int py_q_exec(QPageSetupDialog* theWrappedObject){ return (((PythonQtPublicPromoter_QPageSetupDialog*)theWrappedObject)->py_q_exec());} void open(QPageSetupDialog* theWrappedObject, QObject* receiver, const char* member); @@ -245,7 +247,7 @@ QPageSize* new_QPageSize(QPageSize::PageSizeId pageSizeId); QPageSize* new_QPageSize(const QPageSize& other); QPageSize* new_QPageSize(const QSize& pointSize, const QString& name = QString(), QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); QPageSize* new_QPageSize(const QSizeF& size, QPageSize::Unit units, const QString& name = QString(), QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); -void delete_QPageSize(QPageSize* obj) { delete obj; } +void delete_QPageSize(QPageSize* obj) { delete obj; } QSizeF definitionSize(QPageSize* theWrappedObject) const; QSizeF static_QPageSize_definitionSize(QPageSize::PageSizeId pageSizeId); QPageSize::Unit definitionUnits(QPageSize* theWrappedObject) const; @@ -260,6 +262,7 @@ void delete_QPageSize(QPageSize* obj) { delete obj; } QString static_QPageSize_key(QPageSize::PageSizeId pageSizeId); QString name(QPageSize* theWrappedObject) const; QString static_QPageSize_name(QPageSize::PageSizeId pageSizeId); + bool __ne__(QPageSize* theWrappedObject, const QPageSize& rhs); QPageSize* operator_assign(QPageSize* theWrappedObject, const QPageSize& other); bool __eq__(QPageSize* theWrappedObject, const QPageSize& rhs); QRectF rect(QPageSize* theWrappedObject, QPageSize::Unit units) const; @@ -285,22 +288,22 @@ void delete_QPageSize(QPageSize* obj) { delete obj; } class PythonQtShell_QPagedPaintDevice : public QPagedPaintDevice { public: - PythonQtShell_QPagedPaintDevice():QPagedPaintDevice(),_wrapper(NULL) {}; - - ~PythonQtShell_QPagedPaintDevice(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual bool newPage(); -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void setMargins(const QPagedPaintDevice::Margins& margins); -virtual void setPageSize(QPagedPaintDevice::PageSize size); -virtual void setPageSizeMM(const QSizeF& size); -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPagedPaintDevice():QPagedPaintDevice(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPagedPaintDevice() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +bool newPage() override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +void setMargins(const QPagedPaintDevice::Margins& margins) override; +void setPageSize(QPagedPaintDevice::PageSize size) override; +void setPageSizeMM(const QSizeF& size) override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPagedPaintDevice : public QPagedPaintDevice @@ -322,7 +325,7 @@ enum PdfVersion{ PdfVersion_1_4 = QPagedPaintDevice::PdfVersion_1_4, PdfVersion_A1b = QPagedPaintDevice::PdfVersion_A1b}; public slots: QPagedPaintDevice* new_QPagedPaintDevice(); -void delete_QPagedPaintDevice(QPagedPaintDevice* obj) { delete obj; } +void delete_QPagedPaintDevice(QPagedPaintDevice* obj) { delete obj; } QPageLayout* devicePageLayout(QPagedPaintDevice* theWrappedObject); QPagedPaintDevice::Margins margins(QPagedPaintDevice* theWrappedObject) const; bool newPage(QPagedPaintDevice* theWrappedObject); @@ -350,12 +353,12 @@ void delete_QPagedPaintDevice(QPagedPaintDevice* obj) { delete obj; } class PythonQtShell_QPagedPaintDevice__Margins : public QPagedPaintDevice::Margins { public: - PythonQtShell_QPagedPaintDevice__Margins():QPagedPaintDevice::Margins(),_wrapper(NULL) {}; + PythonQtShell_QPagedPaintDevice__Margins():QPagedPaintDevice::Margins(),_wrapper(nullptr) {}; ~PythonQtShell_QPagedPaintDevice__Margins(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPagedPaintDevice__Margins : public QObject @@ -367,7 +370,7 @@ QPagedPaintDevice::Margins* new_QPagedPaintDevice__Margins(const QPagedPaintDevi PythonQtShell_QPagedPaintDevice__Margins* a = new PythonQtShell_QPagedPaintDevice__Margins(); *((QPagedPaintDevice::Margins*)a) = other; return a; } -void delete_QPagedPaintDevice__Margins(QPagedPaintDevice::Margins* obj) { delete obj; } +void delete_QPagedPaintDevice__Margins(QPagedPaintDevice::Margins* obj) { delete obj; } void py_set_bottom(QPagedPaintDevice::Margins* theWrappedObject, qreal bottom){ theWrappedObject->bottom = bottom; } qreal py_get_bottom(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->bottom; } void py_set_left(QPagedPaintDevice::Margins* theWrappedObject, qreal left){ theWrappedObject->left = left; } @@ -385,18 +388,18 @@ qreal py_get_top(QPagedPaintDevice::Margins* theWrappedObject){ return theWrapp class PythonQtShell_QPaintDevice : public QPaintDevice { public: - PythonQtShell_QPaintDevice():QPaintDevice(),_wrapper(NULL) {}; + PythonQtShell_QPaintDevice():QPaintDevice(),_wrapper(nullptr) {}; - ~PythonQtShell_QPaintDevice(); + ~PythonQtShell_QPaintDevice() override; -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPaintDevice : public QPaintDevice @@ -421,7 +424,7 @@ enum PaintDeviceMetric{ PdmWidth = QPaintDevice::PdmWidth, PdmHeight = QPaintDevice::PdmHeight, PdmWidthMM = QPaintDevice::PdmWidthMM, PdmHeightMM = QPaintDevice::PdmHeightMM, PdmNumColors = QPaintDevice::PdmNumColors, PdmDepth = QPaintDevice::PdmDepth, PdmDpiX = QPaintDevice::PdmDpiX, PdmDpiY = QPaintDevice::PdmDpiY, PdmPhysicalDpiX = QPaintDevice::PdmPhysicalDpiX, PdmPhysicalDpiY = QPaintDevice::PdmPhysicalDpiY, PdmDevicePixelRatio = QPaintDevice::PdmDevicePixelRatio, PdmDevicePixelRatioScaled = QPaintDevice::PdmDevicePixelRatioScaled}; public slots: QPaintDevice* new_QPaintDevice(); -void delete_QPaintDevice(QPaintDevice* obj) { delete obj; } +void delete_QPaintDevice(QPaintDevice* obj) { delete obj; } int colorCount(QPaintDevice* theWrappedObject) const; int depth(QPaintDevice* theWrappedObject) const; int devType(QPaintDevice* theWrappedObject) const; @@ -470,7 +473,7 @@ class PythonQtWrapper_QPaintDeviceWindow : public QObject { Q_OBJECT public: public slots: -void delete_QPaintDeviceWindow(QPaintDeviceWindow* obj) { delete obj; } +void delete_QPaintDeviceWindow(QPaintDeviceWindow* obj) { delete obj; } bool py_q_event(QPaintDeviceWindow* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_event(event));} void py_q_exposeEvent(QPaintDeviceWindow* theWrappedObject, QExposeEvent* arg__1){ (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_exposeEvent(arg__1));} int py_q_metric(QPaintDeviceWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_metric(metric));} @@ -487,32 +490,32 @@ void delete_QPaintDeviceWindow(QPaintDeviceWindow* obj) { delete obj; } class PythonQtShell_QPaintEngine : public QPaintEngine { public: - PythonQtShell_QPaintEngine(QPaintEngine::PaintEngineFeatures features = QPaintEngine::PaintEngineFeatures()):QPaintEngine(features),_wrapper(NULL) {}; - - ~PythonQtShell_QPaintEngine(); - -virtual bool begin(QPaintDevice* pdev); -virtual QPoint coordinateOffset() const; -virtual void drawEllipse(const QRect& r); -virtual void drawEllipse(const QRectF& r); -virtual void drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); -virtual void drawLines(const QLine* lines, int lineCount); -virtual void drawLines(const QLineF* lines, int lineCount); -virtual void drawPath(const QPainterPath& path); -virtual void drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr); -virtual void drawPoints(const QPoint* points, int pointCount); -virtual void drawPoints(const QPointF* points, int pointCount); -virtual void drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode); -virtual void drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode); -virtual void drawRects(const QRect* rects, int rectCount); -virtual void drawRects(const QRectF* rects, int rectCount); -virtual void drawTextItem(const QPointF& p, const QTextItem& textItem); -virtual void drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s); -virtual bool end(); -virtual QPaintEngine::Type type() const; -virtual void updateState(const QPaintEngineState& state); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPaintEngine(QPaintEngine::PaintEngineFeatures features = QPaintEngine::PaintEngineFeatures()):QPaintEngine(features),_wrapper(nullptr) {}; + + ~PythonQtShell_QPaintEngine() override; + +bool begin(QPaintDevice* pdev) override; +QPoint coordinateOffset() const override; +void drawEllipse(const QRect& r) override; +void drawEllipse(const QRectF& r) override; +void drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor) override; +void drawLines(const QLine* lines, int lineCount) override; +void drawLines(const QLineF* lines, int lineCount) override; +void drawPath(const QPainterPath& path) override; +void drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr) override; +void drawPoints(const QPoint* points, int pointCount) override; +void drawPoints(const QPointF* points, int pointCount) override; +void drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) override; +void drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) override; +void drawRects(const QRect* rects, int rectCount) override; +void drawRects(const QRectF* rects, int rectCount) override; +void drawTextItem(const QPointF& p, const QTextItem& textItem) override; +void drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s) override; +bool end() override; +QPaintEngine::Type type() const override; +void updateState(const QPaintEngineState& state) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPaintEngine : public QPaintEngine @@ -556,7 +559,7 @@ Q_DECLARE_FLAGS(DirtyFlags, DirtyFlag) Q_DECLARE_FLAGS(PaintEngineFeatures, PaintEngineFeature) public slots: QPaintEngine* new_QPaintEngine(QPaintEngine::PaintEngineFeatures features = QPaintEngine::PaintEngineFeatures()); -void delete_QPaintEngine(QPaintEngine* obj) { delete obj; } +void delete_QPaintEngine(QPaintEngine* obj) { delete obj; } bool begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev); bool py_q_begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev){ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_begin(pdev));} void clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); @@ -620,12 +623,12 @@ void delete_QPaintEngine(QPaintEngine* obj) { delete obj; } class PythonQtShell_QPaintEngineState : public QPaintEngineState { public: - PythonQtShell_QPaintEngineState():QPaintEngineState(),_wrapper(NULL) {}; + PythonQtShell_QPaintEngineState():QPaintEngineState(),_wrapper(nullptr) {}; ~PythonQtShell_QPaintEngineState(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPaintEngineState : public QObject @@ -633,7 +636,7 @@ class PythonQtWrapper_QPaintEngineState : public QObject public: public slots: QPaintEngineState* new_QPaintEngineState(); -void delete_QPaintEngineState(QPaintEngineState* obj) { delete obj; } +void delete_QPaintEngineState(QPaintEngineState* obj) { delete obj; } QBrush backgroundBrush(QPaintEngineState* theWrappedObject) const; Qt::BGMode backgroundMode(QPaintEngineState* theWrappedObject) const; QBrush brush(QPaintEngineState* theWrappedObject) const; @@ -662,13 +665,13 @@ void delete_QPaintEngineState(QPaintEngineState* obj) { delete obj; } class PythonQtShell_QPaintEvent : public QPaintEvent { public: - PythonQtShell_QPaintEvent(const QRect& paintRect):QPaintEvent(paintRect),_wrapper(NULL) {}; - PythonQtShell_QPaintEvent(const QRegion& paintRegion):QPaintEvent(paintRegion),_wrapper(NULL) {}; + PythonQtShell_QPaintEvent(const QRect& paintRect):QPaintEvent(paintRect),_wrapper(nullptr) {}; + PythonQtShell_QPaintEvent(const QRegion& paintRegion):QPaintEvent(paintRegion),_wrapper(nullptr) {}; - ~PythonQtShell_QPaintEvent(); + ~PythonQtShell_QPaintEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPaintEvent : public QObject @@ -677,7 +680,7 @@ class PythonQtWrapper_QPaintEvent : public QObject public slots: QPaintEvent* new_QPaintEvent(const QRect& paintRect); QPaintEvent* new_QPaintEvent(const QRegion& paintRegion); -void delete_QPaintEvent(QPaintEvent* obj) { delete obj; } +void delete_QPaintEvent(QPaintEvent* obj) { delete obj; } const QRect* rect(QPaintEvent* theWrappedObject) const; const QRegion* region(QPaintEvent* theWrappedObject) const; }; @@ -702,7 +705,7 @@ Q_DECLARE_FLAGS(RenderHints, RenderHint) public slots: QPainter* new_QPainter(); QPainter* new_QPainter(QPaintDevice* arg__1); -void delete_QPainter(QPainter* obj) { delete obj; } +void delete_QPainter(QPainter* obj) { delete obj; } const QBrush* background(QPainter* theWrappedObject) const; Qt::BGMode backgroundMode(QPainter* theWrappedObject) const; bool begin(QPainter* theWrappedObject, QPaintDevice* arg__1); @@ -906,7 +909,7 @@ public slots: QPainterPath* new_QPainterPath(); QPainterPath* new_QPainterPath(const QPainterPath& other); QPainterPath* new_QPainterPath(const QPointF& startPoint); -void delete_QPainterPath(QPainterPath* obj) { delete obj; } +void delete_QPainterPath(QPainterPath* obj) { delete obj; } void addEllipse(QPainterPath* theWrappedObject, const QPointF& center, qreal rx, qreal ry); void addEllipse(QPainterPath* theWrappedObject, const QRectF& rect); void addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h); @@ -1001,7 +1004,7 @@ class PythonQtWrapper_QPainterPathStroker : public QObject public slots: QPainterPathStroker* new_QPainterPathStroker(); QPainterPathStroker* new_QPainterPathStroker(const QPen& pen); -void delete_QPainterPathStroker(QPainterPathStroker* obj) { delete obj; } +void delete_QPainterPathStroker(QPainterPathStroker* obj) { delete obj; } Qt::PenCapStyle capStyle(QPainterPathStroker* theWrappedObject) const; QPainterPath createStroke(QPainterPathStroker* theWrappedObject, const QPainterPath& path) const; qreal curveThreshold(QPainterPathStroker* theWrappedObject) const; @@ -1027,12 +1030,12 @@ void delete_QPainterPathStroker(QPainterPathStroker* obj) { delete obj; } class PythonQtShell_QPainterPath__Element : public QPainterPath::Element { public: - PythonQtShell_QPainterPath__Element():QPainterPath::Element(),_wrapper(NULL) {}; + PythonQtShell_QPainterPath__Element():QPainterPath::Element(),_wrapper(nullptr) {}; ~PythonQtShell_QPainterPath__Element(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPainterPath__Element : public QObject @@ -1044,7 +1047,7 @@ QPainterPath::Element* new_QPainterPath__Element(const QPainterPath::Element& ot PythonQtShell_QPainterPath__Element* a = new PythonQtShell_QPainterPath__Element(); *((QPainterPath::Element*)a) = other; return a; } -void delete_QPainterPath__Element(QPainterPath::Element* obj) { delete obj; } +void delete_QPainterPath__Element(QPainterPath::Element* obj) { delete obj; } bool isCurveTo(QPainterPath::Element* theWrappedObject) const; bool isLineTo(QPainterPath::Element* theWrappedObject) const; bool isMoveTo(QPainterPath::Element* theWrappedObject) const; @@ -1066,12 +1069,12 @@ qreal py_get_y(QPainterPath::Element* theWrappedObject){ return theWrappedObjec class PythonQtShell_QPainter__PixmapFragment : public QPainter::PixmapFragment { public: - PythonQtShell_QPainter__PixmapFragment():QPainter::PixmapFragment(),_wrapper(NULL) {}; + PythonQtShell_QPainter__PixmapFragment():QPainter::PixmapFragment(),_wrapper(nullptr) {}; ~PythonQtShell_QPainter__PixmapFragment(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPainter__PixmapFragment : public QObject @@ -1083,7 +1086,7 @@ QPainter::PixmapFragment* new_QPainter__PixmapFragment(const QPainter::PixmapFra PythonQtShell_QPainter__PixmapFragment* a = new PythonQtShell_QPainter__PixmapFragment(); *((QPainter::PixmapFragment*)a) = other; return a; } -void delete_QPainter__PixmapFragment(QPainter::PixmapFragment* obj) { delete obj; } +void delete_QPainter__PixmapFragment(QPainter::PixmapFragment* obj) { delete obj; } QPainter::PixmapFragment static_QPainter__PixmapFragment_create(const QPointF& pos, const QRectF& sourceRect, qreal scaleX = 1, qreal scaleY = 1, qreal rotation = 0, qreal opacity = 1); void py_set_height(QPainter::PixmapFragment* theWrappedObject, qreal height){ theWrappedObject->height = height; } qreal py_get_height(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->height; } @@ -1114,19 +1117,19 @@ qreal py_get_y(QPainter::PixmapFragment* theWrappedObject){ return theWrappedOb class PythonQtShell_QPanGesture : public QPanGesture { public: - PythonQtShell_QPanGesture(QObject* parent = nullptr):QPanGesture(parent),_wrapper(NULL) {}; + PythonQtShell_QPanGesture(QObject* parent = nullptr):QPanGesture(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QPanGesture(); + ~PythonQtShell_QPanGesture() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPanGesture : public QObject @@ -1134,7 +1137,7 @@ class PythonQtWrapper_QPanGesture : public QObject public: public slots: QPanGesture* new_QPanGesture(QObject* parent = nullptr); -void delete_QPanGesture(QPanGesture* obj) { delete obj; } +void delete_QPanGesture(QPanGesture* obj) { delete obj; } qreal acceleration(QPanGesture* theWrappedObject) const; QPointF delta(QPanGesture* theWrappedObject) const; QPointF lastOffset(QPanGesture* theWrappedObject) const; @@ -1151,30 +1154,30 @@ void delete_QPanGesture(QPanGesture* obj) { delete obj; } class PythonQtShell_QPdfWriter : public QPdfWriter { public: - PythonQtShell_QPdfWriter(QIODevice* device):QPdfWriter(device),_wrapper(NULL) {}; - PythonQtShell_QPdfWriter(const QString& filename):QPdfWriter(filename),_wrapper(NULL) {}; - - ~PythonQtShell_QPdfWriter(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric id) const; -virtual bool newPage(); -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void setMargins(const QPagedPaintDevice::Margins& m); -virtual void setPageSize(QPagedPaintDevice::PageSize size); -virtual void setPageSizeMM(const QSizeF& size); -virtual QPainter* sharedPainter() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPdfWriter(QIODevice* device):QPdfWriter(device),_wrapper(nullptr) {}; + PythonQtShell_QPdfWriter(const QString& filename):QPdfWriter(filename),_wrapper(nullptr) {}; + + ~PythonQtShell_QPdfWriter() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric id) const override; +bool newPage() override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +void setMargins(const QPagedPaintDevice::Margins& m) override; +void setPageSize(QPagedPaintDevice::PageSize size) override; +void setPageSizeMM(const QSizeF& size) override; +QPainter* sharedPainter() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPdfWriter : public QPdfWriter @@ -1195,7 +1198,7 @@ class PythonQtWrapper_QPdfWriter : public QObject public slots: QPdfWriter* new_QPdfWriter(QIODevice* device); QPdfWriter* new_QPdfWriter(const QString& filename); -void delete_QPdfWriter(QPdfWriter* obj) { delete obj; } +void delete_QPdfWriter(QPdfWriter* obj) { delete obj; } QString creator(QPdfWriter* theWrappedObject) const; int py_q_metric(QPdfWriter* theWrappedObject, QPaintDevice::PaintDeviceMetric id) const{ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_metric(id));} bool py_q_newPage(QPdfWriter* theWrappedObject){ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_newPage());} @@ -1219,19 +1222,19 @@ void delete_QPdfWriter(QPdfWriter* obj) { delete obj; } class PythonQtShell_QPicture : public QPicture { public: - PythonQtShell_QPicture(const QPicture& arg__1):QPicture(arg__1),_wrapper(NULL) {}; - PythonQtShell_QPicture(int formatVersion = -1):QPicture(formatVersion),_wrapper(NULL) {}; + PythonQtShell_QPicture(const QPicture& arg__1):QPicture(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QPicture(int formatVersion = -1):QPicture(formatVersion),_wrapper(nullptr) {}; - ~PythonQtShell_QPicture(); + ~PythonQtShell_QPicture() override; -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric m) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric m) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPicture : public QPicture @@ -1248,7 +1251,7 @@ class PythonQtWrapper_QPicture : public QObject public slots: QPicture* new_QPicture(const QPicture& arg__1); QPicture* new_QPicture(int formatVersion = -1); -void delete_QPicture(QPicture* obj) { delete obj; } +void delete_QPicture(QPicture* obj) { delete obj; } QRect boundingRect(QPicture* theWrappedObject) const; const char* data(QPicture* theWrappedObject) const; int py_q_devType(QPicture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPicture*)theWrappedObject)->py_q_devType());} @@ -1275,22 +1278,22 @@ void delete_QPicture(QPicture* obj) { delete obj; } class PythonQtShell_QPictureFormatPlugin : public QPictureFormatPlugin { public: - PythonQtShell_QPictureFormatPlugin(QObject* parent = nullptr):QPictureFormatPlugin(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPictureFormatPlugin(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool installIOHandler(const QString& format); -virtual bool loadPicture(const QString& format, const QString& filename, QPicture* pic); -virtual bool savePicture(const QString& format, const QString& filename, const QPicture& pic); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPictureFormatPlugin(QObject* parent = nullptr):QPictureFormatPlugin(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPictureFormatPlugin() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool installIOHandler(const QString& format) override; +bool loadPicture(const QString& format, const QString& filename, QPicture* pic) override; +bool savePicture(const QString& format, const QString& filename, const QPicture& pic) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPictureFormatPlugin : public QPictureFormatPlugin @@ -1305,7 +1308,7 @@ class PythonQtWrapper_QPictureFormatPlugin : public QObject public: public slots: QPictureFormatPlugin* new_QPictureFormatPlugin(QObject* parent = nullptr); -void delete_QPictureFormatPlugin(QPictureFormatPlugin* obj) { delete obj; } +void delete_QPictureFormatPlugin(QPictureFormatPlugin* obj) { delete obj; } bool installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format); bool py_q_installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_installIOHandler(format));} bool loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic); @@ -1325,7 +1328,7 @@ public slots: QPictureIO* new_QPictureIO(); QPictureIO* new_QPictureIO(QIODevice* ioDevice, const char* format); QPictureIO* new_QPictureIO(const QString& fileName, const char* format); -void delete_QPictureIO(QPictureIO* obj) { delete obj; } +void delete_QPictureIO(QPictureIO* obj) { delete obj; } QString description(QPictureIO* theWrappedObject) const; QString fileName(QPictureIO* theWrappedObject) const; const char* format(QPictureIO* theWrappedObject) const; @@ -1359,19 +1362,19 @@ void delete_QPictureIO(QPictureIO* obj) { delete obj; } class PythonQtShell_QPinchGesture : public QPinchGesture { public: - PythonQtShell_QPinchGesture(QObject* parent = nullptr):QPinchGesture(parent),_wrapper(NULL) {}; + PythonQtShell_QPinchGesture(QObject* parent = nullptr):QPinchGesture(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QPinchGesture(); + ~PythonQtShell_QPinchGesture() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPinchGesture : public QObject @@ -1384,7 +1387,7 @@ enum ChangeFlag{ Q_DECLARE_FLAGS(ChangeFlags, ChangeFlag) public slots: QPinchGesture* new_QPinchGesture(QObject* parent = nullptr); -void delete_QPinchGesture(QPinchGesture* obj) { delete obj; } +void delete_QPinchGesture(QPinchGesture* obj) { delete obj; } QPointF centerPoint(QPinchGesture* theWrappedObject) const; QPinchGesture::ChangeFlags changeFlags(QPinchGesture* theWrappedObject) const; QPointF lastCenterPoint(QPinchGesture* theWrappedObject) const; @@ -1434,7 +1437,7 @@ enum YUVLayout{ public slots: QPixelFormat* new_QPixelFormat(); QPixelFormat* new_QPixelFormat(QPixelFormat::ColorModel colorModel, uchar firstSize, uchar secondSize, uchar thirdSize, uchar fourthSize, uchar fifthSize, uchar alphaSize, QPixelFormat::AlphaUsage alphaUsage, QPixelFormat::AlphaPosition alphaPosition, QPixelFormat::AlphaPremultiplied premultiplied, QPixelFormat::TypeInterpretation typeInterpretation, QPixelFormat::ByteOrder byteOrder = QPixelFormat::CurrentSystemEndian, uchar subEnum = 0); -void delete_QPixelFormat(QPixelFormat* obj) { delete obj; } +void delete_QPixelFormat(QPixelFormat* obj) { delete obj; } QPixelFormat::AlphaPosition alphaPosition(QPixelFormat* theWrappedObject) const; uchar alphaSize(QPixelFormat* theWrappedObject) const; QPixelFormat::AlphaUsage alphaUsage(QPixelFormat* theWrappedObject) const; @@ -1466,12 +1469,12 @@ void delete_QPixelFormat(QPixelFormat* obj) { delete obj; } class PythonQtShell_QPixmapCache : public QPixmapCache { public: - PythonQtShell_QPixmapCache():QPixmapCache(),_wrapper(NULL) {}; + PythonQtShell_QPixmapCache():QPixmapCache(),_wrapper(nullptr) {}; ~PythonQtShell_QPixmapCache(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPixmapCache : public QObject @@ -1479,7 +1482,7 @@ class PythonQtWrapper_QPixmapCache : public QObject public: public slots: QPixmapCache* new_QPixmapCache(); -void delete_QPixmapCache(QPixmapCache* obj) { delete obj; } +void delete_QPixmapCache(QPixmapCache* obj) { delete obj; } int static_QPixmapCache_cacheLimit(); void static_QPixmapCache_clear(); bool static_QPixmapCache_find(const QPixmapCache::Key& key, QPixmap* pixmap); @@ -1502,7 +1505,7 @@ class PythonQtWrapper_QPixmapCache__Key : public QObject public slots: QPixmapCache::Key* new_QPixmapCache__Key(); QPixmapCache::Key* new_QPixmapCache__Key(const QPixmapCache::Key& other); -void delete_QPixmapCache__Key(QPixmapCache::Key* obj) { delete obj; } +void delete_QPixmapCache__Key(QPixmapCache::Key* obj) { delete obj; } bool isValid(QPixmapCache::Key* theWrappedObject) const; bool __ne__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const; QPixmapCache::Key* operator_assign(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& other); @@ -1518,29 +1521,29 @@ void delete_QPixmapCache__Key(QPixmapCache::Key* obj) { delete obj; } class PythonQtShell_QPlainTextDocumentLayout : public QPlainTextDocumentLayout { public: - PythonQtShell_QPlainTextDocumentLayout(QTextDocument* document):QPlainTextDocumentLayout(document),_wrapper(NULL) {}; - - ~PythonQtShell_QPlainTextDocumentLayout(); - -virtual QRectF blockBoundingRect(const QTextBlock& block) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual void documentChanged(int from, int arg__2, int charsAdded); -virtual QSizeF documentSize() const; -virtual void draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2); -virtual void drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QRectF frameBoundingRect(QTextFrame* arg__1) const; -virtual int hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const; -virtual int pageCount() const; -virtual void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format); -virtual void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPlainTextDocumentLayout(QTextDocument* document):QPlainTextDocumentLayout(document),_wrapper(nullptr) {}; + + ~PythonQtShell_QPlainTextDocumentLayout() override; + +QRectF blockBoundingRect(const QTextBlock& block) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void documentChanged(int from, int arg__2, int charsAdded) override; +QSizeF documentSize() const override; +void draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) override; +void drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QRectF frameBoundingRect(QTextFrame* arg__1) const override; +int hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const override; +int pageCount() const override; +void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) override; +void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPlainTextDocumentLayout : public QPlainTextDocumentLayout @@ -1560,7 +1563,7 @@ class PythonQtWrapper_QPlainTextDocumentLayout : public QObject public: public slots: QPlainTextDocumentLayout* new_QPlainTextDocumentLayout(QTextDocument* document); -void delete_QPlainTextDocumentLayout(QPlainTextDocumentLayout* obj) { delete obj; } +void delete_QPlainTextDocumentLayout(QPlainTextDocumentLayout* obj) { delete obj; } QRectF py_q_blockBoundingRect(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_blockBoundingRect(block));} int cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const; void py_q_documentChanged(QPlainTextDocumentLayout* theWrappedObject, int from, int arg__2, int charsAdded){ (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_documentChanged(from, arg__2, charsAdded));} @@ -1581,69 +1584,69 @@ void delete_QPlainTextDocumentLayout(QPlainTextDocumentLayout* obj) { delete obj class PythonQtShell_QPlainTextEdit : public QPlainTextEdit { public: - PythonQtShell_QPlainTextEdit(QWidget* parent = nullptr):QPlainTextEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QPlainTextEdit(const QString& text, QWidget* parent = nullptr):QPlainTextEdit(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPlainTextEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual bool canInsertFromMimeData(const QMimeData* source) const; -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual QMimeData* createMimeDataFromSelection() const; -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void doSetTextCursor(const QTextCursor& cursor); -virtual void dragEnterEvent(QDragEnterEvent* e); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; -virtual void insertFromMimeData(const QMimeData* source); -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual QVariant loadResource(int type, const QUrl& name); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* e); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPlainTextEdit(QWidget* parent = nullptr):QPlainTextEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QPlainTextEdit(const QString& text, QWidget* parent = nullptr):QPlainTextEdit(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPlainTextEdit() override; + +void actionEvent(QActionEvent* event) override; +bool canInsertFromMimeData(const QMimeData* source) const override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +QMimeData* createMimeDataFromSelection() const override; +void customEvent(QEvent* event) override; +int devType() const override; +void doSetTextCursor(const QTextCursor& cursor) override; +void dragEnterEvent(QDragEnterEvent* e) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery property) const override; +void insertFromMimeData(const QMimeData* source) override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +QVariant loadResource(int type, const QUrl& name) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* e) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* e) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPlainTextEdit : public QPlainTextEdit @@ -1718,7 +1721,7 @@ class PythonQtWrapper_QPlainTextEdit : public QObject public slots: QPlainTextEdit* new_QPlainTextEdit(QWidget* parent = nullptr); QPlainTextEdit* new_QPlainTextEdit(const QString& text, QWidget* parent = nullptr); -void delete_QPlainTextEdit(QPlainTextEdit* obj) { delete obj; } +void delete_QPlainTextEdit(QPlainTextEdit* obj) { delete obj; } QString anchorAt(QPlainTextEdit* theWrappedObject, const QPoint& pos) const; bool backgroundVisible(QPlainTextEdit* theWrappedObject) const; QRectF blockBoundingGeometry(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const; @@ -1822,12 +1825,12 @@ void delete_QPlainTextEdit(QPlainTextEdit* obj) { delete obj; } class PythonQtShell_QPlatformSurfaceEvent : public QPlatformSurfaceEvent { public: - PythonQtShell_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType):QPlatformSurfaceEvent(surfaceEventType),_wrapper(NULL) {}; + PythonQtShell_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType):QPlatformSurfaceEvent(surfaceEventType),_wrapper(nullptr) {}; - ~PythonQtShell_QPlatformSurfaceEvent(); + ~PythonQtShell_QPlatformSurfaceEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPlatformSurfaceEvent : public QObject @@ -1838,7 +1841,7 @@ enum SurfaceEventType{ SurfaceCreated = QPlatformSurfaceEvent::SurfaceCreated, SurfaceAboutToBeDestroyed = QPlatformSurfaceEvent::SurfaceAboutToBeDestroyed}; public slots: QPlatformSurfaceEvent* new_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType); -void delete_QPlatformSurfaceEvent(QPlatformSurfaceEvent* obj) { delete obj; } +void delete_QPlatformSurfaceEvent(QPlatformSurfaceEvent* obj) { delete obj; } QPlatformSurfaceEvent::SurfaceEventType surfaceEventType(QPlatformSurfaceEvent* theWrappedObject) const; }; @@ -1856,7 +1859,7 @@ QPolygonF* new_QPolygonF(const QPolygonF& a); QPolygonF* new_QPolygonF(const QRectF& r); QPolygonF* new_QPolygonF(const QVector& v); QPolygonF* new_QPolygonF(int size); -void delete_QPolygonF(QPolygonF* obj) { delete obj; } +void delete_QPolygonF(QPolygonF* obj) { delete obj; } void append(QPolygonF* theWrappedObject, const QPointF& t); void append(QPolygonF* theWrappedObject, const QVector& l); const QPointF* at(QPolygonF* theWrappedObject, int i) const; @@ -1938,64 +1941,64 @@ void delete_QPolygonF(QPolygonF* obj) { delete obj; } class PythonQtShell_QPrintDialog : public QPrintDialog { public: - PythonQtShell_QPrintDialog(QPrinter* printer, QWidget* parent = nullptr):QPrintDialog(printer, parent),_wrapper(NULL) {}; - PythonQtShell_QPrintDialog(QWidget* parent = nullptr):QPrintDialog(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPrintDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPrintDialog(QPrinter* printer, QWidget* parent = nullptr):QPrintDialog(printer, parent),_wrapper(nullptr) {}; + PythonQtShell_QPrintDialog(QWidget* parent = nullptr):QPrintDialog(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPrintDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPrintDialog : public QPrintDialog @@ -2012,7 +2015,7 @@ class PythonQtWrapper_QPrintDialog : public QObject public slots: QPrintDialog* new_QPrintDialog(QPrinter* printer, QWidget* parent = nullptr); QPrintDialog* new_QPrintDialog(QWidget* parent = nullptr); -void delete_QPrintDialog(QPrintDialog* obj) { delete obj; } +void delete_QPrintDialog(QPrintDialog* obj) { delete obj; } void py_q_accept(QPrintDialog* theWrappedObject){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_accept());} void py_q_done(QPrintDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_done(result));} int py_q_exec(QPrintDialog* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_exec());} @@ -2031,18 +2034,18 @@ void delete_QPrintDialog(QPrintDialog* obj) { delete obj; } class PythonQtShell_QPrintEngine : public QPrintEngine { public: - PythonQtShell_QPrintEngine():QPrintEngine(),_wrapper(NULL) {}; + PythonQtShell_QPrintEngine():QPrintEngine(),_wrapper(nullptr) {}; - ~PythonQtShell_QPrintEngine(); + ~PythonQtShell_QPrintEngine() override; -virtual bool abort(); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual bool newPage(); -virtual QPrinter::PrinterState printerState() const; -virtual QVariant property(QPrintEngine::PrintEnginePropertyKey key) const; -virtual void setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value); +bool abort() override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +bool newPage() override; +QPrinter::PrinterState printerState() const override; +QVariant property(QPrintEngine::PrintEnginePropertyKey key) const override; +void setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPrintEngine : public QPrintEngine @@ -2063,7 +2066,7 @@ enum PrintEnginePropertyKey{ PPK_CollateCopies = QPrintEngine::PPK_CollateCopies, PPK_ColorMode = QPrintEngine::PPK_ColorMode, PPK_Creator = QPrintEngine::PPK_Creator, PPK_DocumentName = QPrintEngine::PPK_DocumentName, PPK_FullPage = QPrintEngine::PPK_FullPage, PPK_NumberOfCopies = QPrintEngine::PPK_NumberOfCopies, PPK_Orientation = QPrintEngine::PPK_Orientation, PPK_OutputFileName = QPrintEngine::PPK_OutputFileName, PPK_PageOrder = QPrintEngine::PPK_PageOrder, PPK_PageRect = QPrintEngine::PPK_PageRect, PPK_PageSize = QPrintEngine::PPK_PageSize, PPK_PaperRect = QPrintEngine::PPK_PaperRect, PPK_PaperSource = QPrintEngine::PPK_PaperSource, PPK_PrinterName = QPrintEngine::PPK_PrinterName, PPK_PrinterProgram = QPrintEngine::PPK_PrinterProgram, PPK_Resolution = QPrintEngine::PPK_Resolution, PPK_SelectionOption = QPrintEngine::PPK_SelectionOption, PPK_SupportedResolutions = QPrintEngine::PPK_SupportedResolutions, PPK_WindowsPageSize = QPrintEngine::PPK_WindowsPageSize, PPK_FontEmbedding = QPrintEngine::PPK_FontEmbedding, PPK_Duplex = QPrintEngine::PPK_Duplex, PPK_PaperSources = QPrintEngine::PPK_PaperSources, PPK_CustomPaperSize = QPrintEngine::PPK_CustomPaperSize, PPK_PageMargins = QPrintEngine::PPK_PageMargins, PPK_CopyCount = QPrintEngine::PPK_CopyCount, PPK_SupportsMultipleCopies = QPrintEngine::PPK_SupportsMultipleCopies, PPK_PaperName = QPrintEngine::PPK_PaperName, PPK_QPageSize = QPrintEngine::PPK_QPageSize, PPK_QPageMargins = QPrintEngine::PPK_QPageMargins, PPK_QPageLayout = QPrintEngine::PPK_QPageLayout, PPK_PaperSize = QPrintEngine::PPK_PaperSize, PPK_CustomBase = QPrintEngine::PPK_CustomBase}; public slots: QPrintEngine* new_QPrintEngine(); -void delete_QPrintEngine(QPrintEngine* obj) { delete obj; } +void delete_QPrintEngine(QPrintEngine* obj) { delete obj; } bool abort(QPrintEngine* theWrappedObject); bool py_q_abort(QPrintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_abort());} int metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const; 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..70255a8c8 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 @@ -70,6 +70,7 @@ #include #include #include +#include #include #include #include @@ -92,9 +93,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -114,9 +115,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -136,9 +137,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -158,9 +159,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -180,9 +181,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -202,9 +203,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -224,9 +225,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -246,20 +247,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -279,9 +280,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -301,9 +302,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -323,9 +324,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -345,9 +346,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -367,9 +368,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -389,9 +390,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -411,20 +412,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -444,20 +445,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -477,20 +478,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -510,9 +511,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -532,20 +533,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -565,9 +566,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -587,20 +588,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -620,20 +621,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -653,9 +654,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -675,9 +676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -697,9 +698,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -719,20 +720,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -752,9 +753,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -774,9 +775,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -796,9 +797,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -818,20 +819,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -851,20 +852,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -884,9 +885,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -906,9 +907,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -928,9 +929,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -950,9 +951,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -972,9 +973,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -994,20 +995,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1027,20 +1028,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1060,9 +1061,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1082,20 +1083,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1115,9 +1116,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1137,9 +1138,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1159,9 +1160,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1181,20 +1182,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1214,9 +1215,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1236,20 +1237,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1269,9 +1270,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1291,9 +1292,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1313,9 +1314,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1372,9 +1373,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1394,9 +1395,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1416,9 +1417,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1438,9 +1439,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1460,9 +1461,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1482,9 +1483,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1504,20 +1505,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1537,9 +1538,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1559,9 +1560,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1581,9 +1582,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1603,9 +1604,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1625,9 +1626,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1647,20 +1648,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1680,20 +1681,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1713,9 +1714,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1735,20 +1736,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1768,9 +1769,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1790,20 +1791,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1823,20 +1824,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1856,9 +1857,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1878,9 +1879,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1900,9 +1901,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1922,20 +1923,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1955,9 +1956,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1977,9 +1978,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1999,9 +2000,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2021,20 +2022,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2054,20 +2055,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2087,9 +2088,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2109,9 +2110,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2131,9 +2132,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2153,9 +2154,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2175,9 +2176,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2197,20 +2198,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2230,20 +2231,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2263,9 +2264,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2285,20 +2286,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2318,9 +2319,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2340,9 +2341,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2362,20 +2363,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2395,9 +2396,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2417,20 +2418,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2450,9 +2451,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2472,9 +2473,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2494,9 +2495,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2573,20 +2574,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2606,9 +2607,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2628,20 +2629,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2661,20 +2662,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2694,20 +2695,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2727,20 +2728,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2760,9 +2761,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&m0}; + void* args[2] = {nullptr, (void*)&m0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2782,9 +2783,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2804,9 +2805,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QSizeF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2826,20 +2827,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3332,9 +3333,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3354,9 +3355,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3376,9 +3377,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3398,9 +3399,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3420,9 +3421,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3442,9 +3443,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3464,20 +3465,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3497,9 +3498,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3519,9 +3520,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3541,9 +3542,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3563,9 +3564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3585,9 +3586,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3607,20 +3608,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3640,20 +3641,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3673,9 +3674,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3695,20 +3696,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3728,9 +3729,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3750,20 +3751,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3783,20 +3784,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3816,9 +3817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3838,9 +3839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3860,9 +3861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3882,20 +3883,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3915,9 +3916,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3937,9 +3938,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3959,9 +3960,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3981,20 +3982,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4014,20 +4015,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4047,9 +4048,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4069,9 +4070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4091,9 +4092,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4113,9 +4114,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4135,9 +4136,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4157,20 +4158,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4190,20 +4191,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4223,9 +4224,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4245,20 +4246,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4278,9 +4279,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4300,9 +4301,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4322,20 +4323,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4355,9 +4356,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4377,20 +4378,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4410,9 +4411,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4432,20 +4433,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4465,9 +4466,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4487,9 +4488,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4627,9 +4628,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4649,9 +4650,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4671,9 +4672,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4693,9 +4694,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4715,9 +4716,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4737,9 +4738,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4759,9 +4760,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4781,20 +4782,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4814,9 +4815,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4836,9 +4837,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4858,9 +4859,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4880,9 +4881,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4902,9 +4903,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4924,9 +4925,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4946,20 +4947,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4979,20 +4980,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5012,20 +5013,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5045,9 +5046,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5067,20 +5068,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5100,9 +5101,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5122,20 +5123,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5155,20 +5156,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5188,9 +5189,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5210,9 +5211,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5232,9 +5233,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5254,20 +5255,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5287,9 +5288,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5309,9 +5310,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5331,9 +5332,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5353,20 +5354,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5386,20 +5387,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5419,9 +5420,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5441,9 +5442,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5463,9 +5464,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5485,9 +5486,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5507,9 +5508,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5529,20 +5530,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5562,20 +5563,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5595,9 +5596,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5617,20 +5618,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5650,9 +5651,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5672,9 +5673,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5694,9 +5695,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5716,20 +5717,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5749,9 +5750,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5771,20 +5772,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5804,9 +5805,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5826,9 +5827,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5848,9 +5849,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5967,9 +5968,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5989,9 +5990,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6011,9 +6012,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&control0, (void*)&option1, (void*)&painter2, (void*)&widget3}; + void* args[5] = {nullptr, (void*)&control0, (void*)&option1, (void*)&painter2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6033,9 +6034,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&element0, (void*)&option1, (void*)&painter2, (void*)&widget3}; + void* args[5] = {nullptr, (void*)&element0, (void*)&option1, (void*)&painter2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6055,9 +6056,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&alignment2, (void*)&pixmap3}; + void* args[5] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&alignment2, (void*)&pixmap3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6077,9 +6078,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); - void* args[8] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&flags2, (void*)&pal3, (void*)&enabled4, (void*)&text5, (void*)&textRole6}; + void* args[8] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&flags2, (void*)&pal3, (void*)&enabled4, (void*)&text5, (void*)&textRole6}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6099,9 +6100,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&element0, (void*)&option1, (void*)&painter2, (void*)&widget3}; + void* args[5] = {nullptr, (void*)&element0, (void*)&option1, (void*)&painter2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6121,20 +6122,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6154,20 +6155,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6187,20 +6188,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&iconMode0, (void*)&pixmap1, (void*)&opt2}; + QPixmap returnValue{}; + void* args[4] = {nullptr, (void*)&iconMode0, (void*)&pixmap1, (void*)&opt2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); } else { returnValue = *((QPixmap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6220,20 +6221,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QStyle::SubControl returnValue; - void* args[5] = {NULL, (void*)&control0, (void*)&option1, (void*)&pos2, (void*)&widget3}; + QStyle::SubControl returnValue{}; + void* args[5] = {nullptr, (void*)&control0, (void*)&option1, (void*)&pos2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); } else { returnValue = *((QStyle::SubControl*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6253,20 +6254,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r0, (void*)&flags1, (void*)&pixmap2}; + QRect returnValue{}; + void* args[4] = {nullptr, (void*)&r0, (void*)&flags1, (void*)&pixmap2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6286,20 +6287,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "const QFontMetrics&" , "const QRect&" , "int" , "bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QRect returnValue; - void* args[6] = {NULL, (void*)&fm0, (void*)&r1, (void*)&flags2, (void*)&enabled3, (void*)&text4}; + QRect returnValue{}; + void* args[6] = {nullptr, (void*)&fm0, (void*)&r1, (void*)&flags2, (void*)&enabled3, (void*)&text4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemTextRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6319,20 +6320,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QSizePolicy::ControlType" , "QSizePolicy::ControlType" , "Qt::Orientation" , "const QStyleOption*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - int returnValue = 0; - void* args[6] = {NULL, (void*)&control10, (void*)&control21, (void*)&orientation2, (void*)&option3, (void*)&widget4}; + int returnValue{}; + void* args[6] = {nullptr, (void*)&control10, (void*)&control21, (void*)&orientation2, (void*)&option3, (void*)&widget4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("layoutSpacing", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6352,20 +6353,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue = 0; - void* args[4] = {NULL, (void*)&metric0, (void*)&option1, (void*)&widget2}; + int returnValue{}; + void* args[4] = {nullptr, (void*)&metric0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6385,9 +6386,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QApplication*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&app0}; + void* args[2] = {nullptr, (void*)&app0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6407,9 +6408,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPalette&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&pal0}; + void* args[2] = {nullptr, (void*)&pal0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6429,9 +6430,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6451,20 +6452,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QSize returnValue; - void* args[5] = {NULL, (void*)&type0, (void*)&option1, (void*)&size2, (void*)&widget3}; + QSize returnValue{}; + void* args[5] = {nullptr, (void*)&type0, (void*)&option1, (void*)&size2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6484,20 +6485,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QIcon" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QIcon returnValue; - void* args[4] = {NULL, (void*)&standardIcon0, (void*)&option1, (void*)&widget2}; + QIcon returnValue{}; + void* args[4] = {nullptr, (void*)&standardIcon0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("standardIcon", methodInfo, result); } else { returnValue = *((QIcon*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6517,20 +6518,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPalette"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPalette returnValue; - void* args[1] = {NULL}; + QPalette returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); } else { returnValue = *((QPalette*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6550,20 +6551,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&standardPixmap0, (void*)&opt1, (void*)&widget2}; + QPixmap returnValue{}; + void* args[4] = {nullptr, (void*)&standardPixmap0, (void*)&opt1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); } else { returnValue = *((QPixmap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6583,20 +6584,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - int returnValue = 0; - void* args[5] = {NULL, (void*)&hint0, (void*)&option1, (void*)&widget2, (void*)&returnData3}; + int returnValue{}; + void* args[5] = {nullptr, (void*)&hint0, (void*)&option1, (void*)&widget2, (void*)&returnData3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6616,20 +6617,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QRect returnValue; - void* args[5] = {NULL, (void*)&cc0, (void*)&opt1, (void*)&sc2, (void*)&widget3}; + QRect returnValue{}; + void* args[5] = {nullptr, (void*)&cc0, (void*)&opt1, (void*)&sc2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6649,20 +6650,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&element0, (void*)&option1, (void*)&widget2}; + QRect returnValue{}; + void* args[4] = {nullptr, (void*)&element0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6682,9 +6683,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6704,9 +6705,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QApplication*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&app0}; + void* args[2] = {nullptr, (void*)&app0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6726,9 +6727,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6790,9 +6791,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6812,9 +6813,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6834,9 +6835,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6856,9 +6857,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6878,9 +6879,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6900,9 +6901,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6922,9 +6923,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6944,20 +6945,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6977,9 +6978,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6999,9 +7000,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7021,9 +7022,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7043,9 +7044,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7065,9 +7066,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7087,20 +7088,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7120,20 +7121,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7153,9 +7154,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7175,20 +7176,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7208,9 +7209,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7230,20 +7231,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7263,20 +7264,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7296,9 +7297,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7318,20 +7319,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&pos0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7351,9 +7352,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7373,9 +7374,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7395,20 +7396,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7428,9 +7429,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7450,9 +7451,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7472,9 +7473,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7494,20 +7495,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7527,20 +7528,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7560,9 +7561,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7582,9 +7583,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7604,9 +7605,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7626,9 +7627,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7648,9 +7649,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7670,20 +7671,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7703,9 +7704,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7725,20 +7726,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7758,9 +7759,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7780,20 +7781,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7813,9 +7814,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7835,9 +7836,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7857,20 +7858,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7890,9 +7891,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7912,20 +7913,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7945,9 +7946,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7967,9 +7968,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7989,9 +7990,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8204,6 +8205,11 @@ QQuaternion PythonQtWrapper_QQuaternion::normalized(QQuaternion* theWrappedObje return ( theWrappedObject->normalized()); } +bool PythonQtWrapper_QQuaternion::__ne__(QQuaternion* theWrappedObject, const QQuaternion& q2) +{ + return ( (*theWrappedObject)!= q2); +} + const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QQuaternion& q2) { return ( (*theWrappedObject)* q2); @@ -8467,9 +8473,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8489,9 +8495,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8511,9 +8517,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8533,9 +8539,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8555,9 +8561,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8577,9 +8583,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8599,9 +8605,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8621,20 +8627,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8654,9 +8660,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8676,9 +8682,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8698,9 +8704,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8720,9 +8726,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8742,9 +8748,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8764,20 +8770,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8797,20 +8803,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8830,9 +8836,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8852,20 +8858,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8885,9 +8891,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8907,20 +8913,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8940,20 +8946,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8973,9 +8979,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8995,20 +9001,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9028,9 +9034,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9050,9 +9056,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9072,20 +9078,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9105,9 +9111,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9127,9 +9133,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9149,9 +9155,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9171,20 +9177,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9204,20 +9210,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9237,9 +9243,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9259,9 +9265,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9281,9 +9287,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9303,9 +9309,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9325,9 +9331,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9347,20 +9353,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9380,9 +9386,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9402,20 +9408,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9435,9 +9441,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9457,20 +9463,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9490,9 +9496,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9512,9 +9518,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9534,20 +9540,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9567,9 +9573,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9589,20 +9595,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9622,9 +9628,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9644,9 +9650,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9666,9 +9672,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9730,9 +9736,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9752,9 +9758,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9764,6 +9770,39 @@ if (_wrapper) { } QRasterWindow::customEvent(event0); } +int PythonQtShell_QRasterWindow::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRasterWindow::devType(); +} bool PythonQtShell_QRasterWindow::event(QEvent* event0) { if (_wrapper) { @@ -9774,20 +9813,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9807,20 +9846,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9840,9 +9879,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QExposeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9862,9 +9901,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9884,20 +9923,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue; - void* args[1] = {NULL}; + QObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); } else { returnValue = *((QObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9917,9 +9956,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9939,20 +9978,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSurfaceFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurfaceFormat returnValue; - void* args[1] = {NULL}; + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9972,9 +10011,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9984,6 +10023,28 @@ if (_wrapper) { } QRasterWindow::hideEvent(arg__1); } +void PythonQtShell_QRasterWindow::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::initPainter(painter0); +} void PythonQtShell_QRasterWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { @@ -9994,9 +10055,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10016,9 +10077,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10038,20 +10099,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&metric0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10071,9 +10132,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10093,9 +10154,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10115,9 +10176,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10137,9 +10198,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10159,9 +10220,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10181,20 +10242,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10214,9 +10275,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10236,20 +10297,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10269,9 +10330,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10281,6 +10342,39 @@ if (_wrapper) { } QRasterWindow::resizeEvent(arg__1); } +QPainter* PythonQtShell_QRasterWindow::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRasterWindow::sharedPainter(); +} void PythonQtShell_QRasterWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { @@ -10291,9 +10385,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10313,20 +10407,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10346,20 +10440,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSurface::SurfaceType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurface::SurfaceType returnValue; - void* args[1] = {NULL}; + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); } else { returnValue = *((QSurface::SurfaceType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10379,9 +10473,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10401,9 +10495,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10423,9 +10517,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTouchEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10445,9 +10539,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10474,11 +10568,6 @@ int PythonQtShell_QRasterWindow::qt_metacall(QMetaObject::Call call, int id, voi int result = QRasterWindow::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QPaintDevice* PythonQtWrapper_QRasterWindow::redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const -{ - return ( ((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->promoted_redirected(arg__1)); -} - QRawFont* PythonQtWrapper_QRawFont::new_QRawFont() @@ -10703,9 +10792,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10725,9 +10814,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10747,20 +10836,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10780,20 +10869,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10813,9 +10902,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10835,9 +10924,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10857,20 +10946,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10927,9 +11016,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10949,9 +11038,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10971,20 +11060,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11004,20 +11093,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11037,9 +11126,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11059,9 +11148,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11081,20 +11170,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11283,9 +11372,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11305,9 +11394,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11327,9 +11416,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11349,9 +11438,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11371,9 +11460,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11393,9 +11482,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11415,20 +11504,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11448,9 +11537,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11470,9 +11559,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11492,9 +11581,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11514,9 +11603,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11536,9 +11625,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11558,20 +11647,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11591,20 +11680,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11624,9 +11713,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11646,20 +11735,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11679,9 +11768,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11701,20 +11790,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11734,20 +11823,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11767,9 +11856,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11789,9 +11878,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11811,9 +11900,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11833,20 +11922,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11866,9 +11955,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11888,9 +11977,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11910,9 +11999,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11932,20 +12021,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11965,20 +12054,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11998,9 +12087,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12020,9 +12109,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12042,9 +12131,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12064,9 +12153,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12086,9 +12175,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12108,20 +12197,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12141,20 +12230,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12174,9 +12263,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12196,20 +12285,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12229,9 +12318,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12251,9 +12340,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12273,20 +12362,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12306,9 +12395,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12328,20 +12417,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12361,9 +12450,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12383,9 +12472,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12405,9 +12494,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12685,9 +12774,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12707,9 +12796,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12729,9 +12818,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12751,9 +12840,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12773,9 +12862,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12795,9 +12884,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12817,20 +12906,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12850,9 +12939,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12872,9 +12961,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12894,9 +12983,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12916,9 +13005,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12938,9 +13027,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12960,20 +13049,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12993,20 +13082,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13026,9 +13115,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13048,20 +13137,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13081,9 +13170,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13103,20 +13192,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13136,20 +13225,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13169,9 +13258,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13191,9 +13280,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13213,9 +13302,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13235,20 +13324,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13268,9 +13357,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13290,9 +13379,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13312,9 +13401,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13334,20 +13423,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13367,20 +13456,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13400,9 +13489,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13422,9 +13511,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13444,9 +13533,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13466,9 +13555,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13488,9 +13577,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13510,20 +13599,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13543,20 +13632,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13576,9 +13665,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13598,20 +13687,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13631,9 +13720,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13653,9 +13742,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13675,9 +13764,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13697,9 +13786,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13719,20 +13808,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13752,9 +13841,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13774,20 +13863,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13807,9 +13896,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13829,9 +13918,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13851,20 +13940,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13884,20 +13973,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13917,9 +14006,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14007,9 +14096,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14029,9 +14118,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14051,9 +14140,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14073,9 +14162,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14095,9 +14184,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14117,9 +14206,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14139,20 +14228,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14172,9 +14261,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14194,9 +14283,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14216,9 +14305,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14238,9 +14327,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14260,9 +14349,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14282,20 +14371,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14315,20 +14404,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14348,9 +14437,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14370,20 +14459,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14403,9 +14492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14425,20 +14514,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14458,20 +14547,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14491,9 +14580,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14513,9 +14602,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14535,9 +14624,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14557,20 +14646,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14590,9 +14679,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14612,9 +14701,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14634,9 +14723,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14656,20 +14745,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14689,20 +14778,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14722,9 +14811,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14744,9 +14833,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14766,9 +14855,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14788,9 +14877,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14810,9 +14899,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14832,20 +14921,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14865,20 +14954,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14898,9 +14987,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14920,20 +15009,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14953,9 +15042,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14975,9 +15064,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14997,20 +15086,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15030,9 +15119,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15052,20 +15141,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15085,9 +15174,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&change0}; + void* args[2] = {nullptr, (void*)&change0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15107,9 +15196,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15129,9 +15218,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15151,9 +15240,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15500,9 +15589,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15522,9 +15611,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15544,20 +15633,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15577,20 +15666,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15610,9 +15699,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui7.h b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui7.h index 1b04734a5..8735b1e4d 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui7.h +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui7.h @@ -73,6 +73,7 @@ #include #include #include +#include #include #include #include @@ -86,64 +87,64 @@ class PythonQtShell_QPrintPreviewDialog : public QPrintPreviewDialog { public: - PythonQtShell_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewDialog(printer, parent, flags),_wrapper(NULL) {}; - PythonQtShell_QPrintPreviewDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewDialog(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QPrintPreviewDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewDialog(printer, parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QPrintPreviewDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewDialog(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QPrintPreviewDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPrintPreviewDialog : public QPrintPreviewDialog @@ -158,7 +159,7 @@ class PythonQtWrapper_QPrintPreviewDialog : public QObject public slots: QPrintPreviewDialog* new_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); QPrintPreviewDialog* new_QPrintPreviewDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QPrintPreviewDialog(QPrintPreviewDialog* obj) { delete obj; } +void delete_QPrintPreviewDialog(QPrintPreviewDialog* obj) { delete obj; } void py_q_done(QPrintPreviewDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPrintPreviewDialog*)theWrappedObject)->py_q_done(result));} void open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member); QPrinter* printer(QPrintPreviewDialog* theWrappedObject); @@ -172,60 +173,60 @@ void delete_QPrintPreviewDialog(QPrintPreviewDialog* obj) { delete obj; } class PythonQtShell_QPrintPreviewWidget : public QPrintPreviewWidget { public: - PythonQtShell_QPrintPreviewWidget(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewWidget(printer, parent, flags),_wrapper(NULL) {}; - PythonQtShell_QPrintPreviewWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewWidget(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QPrintPreviewWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPrintPreviewWidget(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewWidget(printer, parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QPrintPreviewWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewWidget(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QPrintPreviewWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPrintPreviewWidget : public QPrintPreviewWidget @@ -244,7 +245,7 @@ enum ZoomMode{ public slots: QPrintPreviewWidget* new_QPrintPreviewWidget(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); QPrintPreviewWidget* new_QPrintPreviewWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QPrintPreviewWidget(QPrintPreviewWidget* obj) { delete obj; } +void delete_QPrintPreviewWidget(QPrintPreviewWidget* obj) { delete obj; } int currentPage(QPrintPreviewWidget* theWrappedObject) const; QPrinter::Orientation orientation(QPrintPreviewWidget* theWrappedObject) const; int pageCount(QPrintPreviewWidget* theWrappedObject) const; @@ -261,23 +262,23 @@ void delete_QPrintPreviewWidget(QPrintPreviewWidget* obj) { delete obj; } class PythonQtShell_QPrinter : public QPrinter { public: - PythonQtShell_QPrinter(QPrinter::PrinterMode mode = QPrinter::ScreenResolution):QPrinter(mode),_wrapper(NULL) {}; - PythonQtShell_QPrinter(const QPrinterInfo& printer, QPrinter::PrinterMode mode = QPrinter::ScreenResolution):QPrinter(printer, mode),_wrapper(NULL) {}; - - ~PythonQtShell_QPrinter(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual bool newPage(); -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void setMargins(const QPagedPaintDevice::Margins& m); -virtual void setPageSize(QPagedPaintDevice::PageSize arg__1); -virtual void setPageSizeMM(const QSizeF& size); -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPrinter(QPrinter::PrinterMode mode = QPrinter::ScreenResolution):QPrinter(mode),_wrapper(nullptr) {}; + PythonQtShell_QPrinter(const QPrinterInfo& printer, QPrinter::PrinterMode mode = QPrinter::ScreenResolution):QPrinter(printer, mode),_wrapper(nullptr) {}; + + ~PythonQtShell_QPrinter() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +bool newPage() override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +void setMargins(const QPagedPaintDevice::Margins& m) override; +void setPageSize(QPagedPaintDevice::PageSize arg__1) override; +void setPageSizeMM(const QSizeF& size) override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPrinter : public QPrinter @@ -320,7 +321,7 @@ enum Unit{ public slots: QPrinter* new_QPrinter(QPrinter::PrinterMode mode = QPrinter::ScreenResolution); QPrinter* new_QPrinter(const QPrinterInfo& printer, QPrinter::PrinterMode mode = QPrinter::ScreenResolution); -void delete_QPrinter(QPrinter* obj) { delete obj; } +void delete_QPrinter(QPrinter* obj) { delete obj; } bool abort(QPrinter* theWrappedObject); int actualNumCopies(QPrinter* theWrappedObject) const; bool collateCopies(QPrinter* theWrappedObject) const; @@ -408,7 +409,7 @@ public slots: QPrinterInfo* new_QPrinterInfo(); QPrinterInfo* new_QPrinterInfo(const QPrinter& printer); QPrinterInfo* new_QPrinterInfo(const QPrinterInfo& other); -void delete_QPrinterInfo(QPrinterInfo* obj) { delete obj; } +void delete_QPrinterInfo(QPrinterInfo* obj) { delete obj; } QStringList static_QPrinterInfo_availablePrinterNames(); QList static_QPrinterInfo_availablePrinters(); QPrinter::DuplexMode defaultDuplexMode(QPrinterInfo* theWrappedObject) const; @@ -442,60 +443,60 @@ void delete_QPrinterInfo(QPrinterInfo* obj) { delete obj; } class PythonQtShell_QProgressBar : public QProgressBar { public: - PythonQtShell_QProgressBar(QWidget* parent = nullptr):QProgressBar(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QProgressBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual QString text() const; -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QProgressBar(QWidget* parent = nullptr):QProgressBar(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QProgressBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +QString text() const override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QProgressBar : public QProgressBar @@ -515,7 +516,7 @@ class PythonQtWrapper_QProgressBar : public QObject public: public slots: QProgressBar* new_QProgressBar(QWidget* parent = nullptr); -void delete_QProgressBar(QProgressBar* obj) { delete obj; } +void delete_QProgressBar(QProgressBar* obj) { delete obj; } Qt::Alignment alignment(QProgressBar* theWrappedObject) const; bool py_q_event(QProgressBar* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_event(e));} QString format(QProgressBar* theWrappedObject) const; @@ -549,64 +550,64 @@ void delete_QProgressBar(QProgressBar* obj) { delete obj; } class PythonQtShell_QProgressDialog : public QProgressDialog { public: - PythonQtShell_QProgressDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QProgressDialog(parent, flags),_wrapper(NULL) {}; - PythonQtShell_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QProgressDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QProgressDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QProgressDialog(parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QProgressDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int arg__1) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QProgressDialog : public QProgressDialog @@ -629,7 +630,7 @@ class PythonQtWrapper_QProgressDialog : public QObject public slots: QProgressDialog* new_QProgressDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); QProgressDialog* new_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QProgressDialog(QProgressDialog* obj) { delete obj; } +void delete_QProgressDialog(QProgressDialog* obj) { delete obj; } bool autoClose(QProgressDialog* theWrappedObject) const; bool autoReset(QProgressDialog* theWrappedObject) const; void py_q_changeEvent(QProgressDialog* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_changeEvent(event));} @@ -658,43 +659,43 @@ void delete_QProgressDialog(QProgressDialog* obj) { delete obj; } class PythonQtShell_QProxyStyle : public QProxyStyle { public: - PythonQtShell_QProxyStyle(QStyle* style = nullptr):QProxyStyle(style),_wrapper(NULL) {}; - PythonQtShell_QProxyStyle(const QString& key):QProxyStyle(key),_wrapper(NULL) {}; - - ~PythonQtShell_QProxyStyle(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = nullptr) const; -virtual void drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const; -virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; -virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; -virtual void drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const; -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; -virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = nullptr) const; -virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; -virtual QRect itemTextRect(const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const; -virtual int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const; -virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const; -virtual void polish(QApplication* app); -virtual void polish(QPalette& pal); -virtual void polish(QWidget* widget); -virtual QSize sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const; -virtual QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const; -virtual QPalette standardPalette() const; -virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget = nullptr) const; -virtual int styleHint(QStyle::StyleHint hint, const QStyleOption* option = nullptr, const QWidget* widget = nullptr, QStyleHintReturn* returnData = nullptr) const; -virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; -virtual QRect subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const; -virtual void timerEvent(QTimerEvent* event); -virtual void unpolish(QApplication* app); -virtual void unpolish(QWidget* widget); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QProxyStyle(QStyle* style = nullptr):QProxyStyle(style),_wrapper(nullptr) {}; + PythonQtShell_QProxyStyle(const QString& key):QProxyStyle(key),_wrapper(nullptr) {}; + + ~PythonQtShell_QProxyStyle() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = nullptr) const override; +void drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const override; +void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const override; +void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const override; +void drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const override; +QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = nullptr) const override; +QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const override; +QRect itemTextRect(const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const override; +int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const override; +int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const override; +void polish(QApplication* app) override; +void polish(QPalette& pal) override; +void polish(QWidget* widget) override; +QSize sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const override; +QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const override; +QPalette standardPalette() const override; +QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget = nullptr) const override; +int styleHint(QStyle::StyleHint hint, const QStyleOption* option = nullptr, const QWidget* widget = nullptr, QStyleHintReturn* returnData = nullptr) const override; +QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const override; +QRect subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const override; +void timerEvent(QTimerEvent* event) override; +void unpolish(QApplication* app) override; +void unpolish(QWidget* widget) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QProxyStyle : public QProxyStyle @@ -732,7 +733,7 @@ class PythonQtWrapper_QProxyStyle : public QObject public slots: QProxyStyle* new_QProxyStyle(QStyle* style = nullptr); QProxyStyle* new_QProxyStyle(const QString& key); -void delete_QProxyStyle(QProxyStyle* obj) { delete obj; } +void delete_QProxyStyle(QProxyStyle* obj) { delete obj; } QStyle* baseStyle(QProxyStyle* theWrappedObject) const; void py_q_drawComplexControl(QProxyStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = nullptr) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawComplexControl(control, option, painter, widget));} void py_q_drawControl(QProxyStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawControl(element, option, painter, widget));} @@ -769,64 +770,64 @@ void delete_QProxyStyle(QProxyStyle* obj) { delete obj; } class PythonQtShell_QPushButton : public QPushButton { public: - PythonQtShell_QPushButton(QWidget* parent = nullptr):QPushButton(parent),_wrapper(NULL) {}; - PythonQtShell_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = nullptr):QPushButton(icon, text, parent),_wrapper(NULL) {}; - PythonQtShell_QPushButton(const QString& text, QWidget* parent = nullptr):QPushButton(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPushButton(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPushButton(QWidget* parent = nullptr):QPushButton(parent),_wrapper(nullptr) {}; + PythonQtShell_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = nullptr):QPushButton(icon, text, parent),_wrapper(nullptr) {}; + PythonQtShell_QPushButton(const QString& text, QWidget* parent = nullptr):QPushButton(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPushButton() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* arg__1) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* arg__1) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& pos) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPushButton : public QPushButton @@ -853,7 +854,7 @@ public slots: QPushButton* new_QPushButton(QWidget* parent = nullptr); QPushButton* new_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = nullptr); QPushButton* new_QPushButton(const QString& text, QWidget* parent = nullptr); -void delete_QPushButton(QPushButton* obj) { delete obj; } +void delete_QPushButton(QPushButton* obj) { delete obj; } bool autoDefault(QPushButton* theWrappedObject) const; bool py_q_event(QPushButton* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_event(e));} void py_q_focusInEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_focusInEvent(arg__1));} @@ -890,7 +891,7 @@ QQuaternion* new_QQuaternion(const QQuaternion& other) { QQuaternion* a = new QQuaternion(); *((QQuaternion*)a) = other; return a; } -void delete_QQuaternion(QQuaternion* obj) { delete obj; } +void delete_QQuaternion(QQuaternion* obj) { delete obj; } QQuaternion conjugate(QQuaternion* theWrappedObject) const; QQuaternion conjugated(QQuaternion* theWrappedObject) const; float static_QQuaternion_dotProduct(const QQuaternion& q1, const QQuaternion& q2); @@ -912,6 +913,7 @@ void delete_QQuaternion(QQuaternion* obj) { delete obj; } QQuaternion static_QQuaternion_nlerp(const QQuaternion& q1, const QQuaternion& q2, float t); void normalize(QQuaternion* theWrappedObject); QQuaternion normalized(QQuaternion* theWrappedObject) const; + bool __ne__(QQuaternion* theWrappedObject, const QQuaternion& q2); const QQuaternion __mul__(QQuaternion* theWrappedObject, const QQuaternion& q2); QVector3D __mul__(QQuaternion* theWrappedObject, const QVector3D& vec); const QQuaternion __mul__(QQuaternion* theWrappedObject, float factor); @@ -965,7 +967,7 @@ QRadialGradient* new_QRadialGradient(const QRadialGradient& other) { QRadialGradient* a = new QRadialGradient(); *((QRadialGradient*)a) = other; return a; } -void delete_QRadialGradient(QRadialGradient* obj) { delete obj; } +void delete_QRadialGradient(QRadialGradient* obj) { delete obj; } QPointF center(QRadialGradient* theWrappedObject) const; qreal centerRadius(QRadialGradient* theWrappedObject) const; QPointF focalPoint(QRadialGradient* theWrappedObject) const; @@ -987,63 +989,63 @@ void delete_QRadialGradient(QRadialGradient* obj) { delete obj; } class PythonQtShell_QRadioButton : public QRadioButton { public: - PythonQtShell_QRadioButton(QWidget* parent = nullptr):QRadioButton(parent),_wrapper(NULL) {}; - PythonQtShell_QRadioButton(const QString& text, QWidget* parent = nullptr):QRadioButton(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRadioButton(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& arg__1) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QRadioButton(QWidget* parent = nullptr):QRadioButton(parent),_wrapper(nullptr) {}; + PythonQtShell_QRadioButton(const QString& text, QWidget* parent = nullptr):QRadioButton(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRadioButton() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& arg__1) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioButton : public QRadioButton @@ -1067,7 +1069,7 @@ class PythonQtWrapper_QRadioButton : public QObject public slots: QRadioButton* new_QRadioButton(QWidget* parent = nullptr); QRadioButton* new_QRadioButton(const QString& text, QWidget* parent = nullptr); -void delete_QRadioButton(QRadioButton* obj) { delete obj; } +void delete_QRadioButton(QRadioButton* obj) { delete obj; } bool py_q_event(QRadioButton* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_event(e));} bool py_q_hitButton(QRadioButton* theWrappedObject, const QPoint& arg__1) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_hitButton(arg__1));} void initStyleOption(QRadioButton* theWrappedObject, QStyleOptionButton* button) const; @@ -1086,43 +1088,46 @@ void delete_QRadioButton(QRadioButton* obj) { delete obj; } class PythonQtShell_QRasterWindow : public QRasterWindow { public: - PythonQtShell_QRasterWindow(QWindow* parent = nullptr):QRasterWindow(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRasterWindow(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void exposeEvent(QExposeEvent* arg__1); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual QObject* focusObject() const; -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual QSurfaceFormat format() const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* arg__1) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize size() const; -virtual QSurface::SurfaceType surfaceType() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* event); -virtual void touchEvent(QTouchEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QRasterWindow(QWindow* parent = nullptr):QRasterWindow(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRasterWindow() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void exposeEvent(QExposeEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +QObject* focusObject() const override; +void focusOutEvent(QFocusEvent* arg__1) override; +QSurfaceFormat format() const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* arg__1) const override; +void resizeEvent(QResizeEvent* arg__1) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; +void tabletEvent(QTabletEvent* arg__1) override; +void timerEvent(QTimerEvent* event) override; +void touchEvent(QTouchEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRasterWindow : public QRasterWindow @@ -1138,9 +1143,8 @@ class PythonQtWrapper_QRasterWindow : public QObject public: public slots: QRasterWindow* new_QRasterWindow(QWindow* parent = nullptr); -void delete_QRasterWindow(QRasterWindow* obj) { delete obj; } +void delete_QRasterWindow(QRasterWindow* obj) { delete obj; } int py_q_metric(QRasterWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_metric(metric));} - QPaintDevice* redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const; QPaintDevice* py_q_redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_redirected(arg__1));} }; @@ -1163,7 +1167,7 @@ QRawFont* new_QRawFont(); QRawFont* new_QRawFont(const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference = QFont::PreferDefaultHinting); QRawFont* new_QRawFont(const QRawFont& other); QRawFont* new_QRawFont(const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference = QFont::PreferDefaultHinting); -void delete_QRawFont(QRawFont* obj) { delete obj; } +void delete_QRawFont(QRawFont* obj) { delete obj; } QVector advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes) const; QVector advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes, QRawFont::LayoutFlags layoutFlags) const; bool advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs) const; @@ -1212,22 +1216,22 @@ void delete_QRawFont(QRawFont* obj) { delete obj; } class PythonQtShell_QRegExpValidator : public QRegExpValidator { public: - PythonQtShell_QRegExpValidator(QObject* parent = nullptr):QRegExpValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QRegExpValidator(const QRegExp& rx, QObject* parent = nullptr):QRegExpValidator(rx, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRegExpValidator(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fixup(QString& arg__1) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QRegExpValidator(QObject* parent = nullptr):QRegExpValidator(parent),_wrapper(nullptr) {}; + PythonQtShell_QRegExpValidator(const QRegExp& rx, QObject* parent = nullptr):QRegExpValidator(rx, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRegExpValidator() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& arg__1) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRegExpValidator : public QRegExpValidator @@ -1241,7 +1245,7 @@ class PythonQtWrapper_QRegExpValidator : public QObject public slots: QRegExpValidator* new_QRegExpValidator(QObject* parent = nullptr); QRegExpValidator* new_QRegExpValidator(const QRegExp& rx, QObject* parent = nullptr); -void delete_QRegExpValidator(QRegExpValidator* obj) { delete obj; } +void delete_QRegExpValidator(QRegExpValidator* obj) { delete obj; } const QRegExp* regExp(QRegExpValidator* theWrappedObject) const; void setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx); QValidator::State py_q_validate(QRegExpValidator* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QRegExpValidator*)theWrappedObject)->py_q_validate(input, pos));} @@ -1254,22 +1258,22 @@ void delete_QRegExpValidator(QRegExpValidator* obj) { delete obj; } class PythonQtShell_QRegularExpressionValidator : public QRegularExpressionValidator { public: - PythonQtShell_QRegularExpressionValidator(QObject* parent = nullptr):QRegularExpressionValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent = nullptr):QRegularExpressionValidator(re, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRegularExpressionValidator(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fixup(QString& arg__1) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QRegularExpressionValidator(QObject* parent = nullptr):QRegularExpressionValidator(parent),_wrapper(nullptr) {}; + PythonQtShell_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent = nullptr):QRegularExpressionValidator(re, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRegularExpressionValidator() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& arg__1) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRegularExpressionValidator : public QRegularExpressionValidator @@ -1283,7 +1287,7 @@ class PythonQtWrapper_QRegularExpressionValidator : public QObject public slots: QRegularExpressionValidator* new_QRegularExpressionValidator(QObject* parent = nullptr); QRegularExpressionValidator* new_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent = nullptr); -void delete_QRegularExpressionValidator(QRegularExpressionValidator* obj) { delete obj; } +void delete_QRegularExpressionValidator(QRegularExpressionValidator* obj) { delete obj; } QRegularExpression regularExpression(QRegularExpressionValidator* theWrappedObject) const; QValidator::State py_q_validate(QRegularExpressionValidator* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QRegularExpressionValidator*)theWrappedObject)->py_q_validate(input, pos));} }; @@ -1295,12 +1299,12 @@ void delete_QRegularExpressionValidator(QRegularExpressionValidator* obj) { dele class PythonQtShell_QResizeEvent : public QResizeEvent { public: - PythonQtShell_QResizeEvent(const QSize& size, const QSize& oldSize):QResizeEvent(size, oldSize),_wrapper(NULL) {}; + PythonQtShell_QResizeEvent(const QSize& size, const QSize& oldSize):QResizeEvent(size, oldSize),_wrapper(nullptr) {}; - ~PythonQtShell_QResizeEvent(); + ~PythonQtShell_QResizeEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QResizeEvent : public QObject @@ -1308,7 +1312,7 @@ class PythonQtWrapper_QResizeEvent : public QObject public: public slots: QResizeEvent* new_QResizeEvent(const QSize& size, const QSize& oldSize); -void delete_QResizeEvent(QResizeEvent* obj) { delete obj; } +void delete_QResizeEvent(QResizeEvent* obj) { delete obj; } const QSize* oldSize(QResizeEvent* theWrappedObject) const; const QSize* size(QResizeEvent* theWrappedObject) const; }; @@ -1321,7 +1325,7 @@ class PythonQtWrapper_QRgba64 : public QObject { Q_OBJECT public: public slots: -void delete_QRgba64(QRgba64* obj) { delete obj; } +void delete_QRgba64(QRgba64* obj) { delete obj; } unsigned short alpha(QRgba64* theWrappedObject) const; unsigned char alpha8(QRgba64* theWrappedObject) const; unsigned short blue(QRgba64* theWrappedObject) const; @@ -1354,59 +1358,59 @@ void delete_QRgba64(QRgba64* obj) { delete obj; } class PythonQtShell_QRubberBand : public QRubberBand { public: - PythonQtShell_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2 = nullptr):QRubberBand(arg__1, arg__2),_wrapper(NULL) {}; - - ~PythonQtShell_QRubberBand(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2 = nullptr):QRubberBand(arg__1, arg__2),_wrapper(nullptr) {}; + + ~PythonQtShell_QRubberBand() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRubberBand : public QRubberBand @@ -1434,7 +1438,7 @@ enum Shape{ Line = QRubberBand::Line, Rectangle = QRubberBand::Rectangle}; public slots: QRubberBand* new_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2 = nullptr); -void delete_QRubberBand(QRubberBand* obj) { delete obj; } +void delete_QRubberBand(QRubberBand* obj) { delete obj; } void py_q_changeEvent(QRubberBand* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_changeEvent(arg__1));} bool py_q_event(QRubberBand* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_event(e));} void initStyleOption(QRubberBand* theWrappedObject, QStyleOptionRubberBand* option) const; @@ -1459,7 +1463,7 @@ class PythonQtWrapper_QScreen : public QObject { Q_OBJECT public: public slots: -void delete_QScreen(QScreen* obj) { delete obj; } +void delete_QScreen(QScreen* obj) { delete obj; } int angleBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b) const; QRect availableGeometry(QScreen* theWrappedObject) const; QSize availableSize(QScreen* theWrappedObject) const; @@ -1506,7 +1510,7 @@ class PythonQtWrapper_QScreenOrientationChangeEvent : public QObject public: public slots: QScreenOrientationChangeEvent* new_QScreenOrientationChangeEvent(QScreen* screen, Qt::ScreenOrientation orientation); -void delete_QScreenOrientationChangeEvent(QScreenOrientationChangeEvent* obj) { delete obj; } +void delete_QScreenOrientationChangeEvent(QScreenOrientationChangeEvent* obj) { delete obj; } Qt::ScreenOrientation orientation(QScreenOrientationChangeEvent* theWrappedObject) const; QScreen* screen(QScreenOrientationChangeEvent* theWrappedObject) const; }; @@ -1518,63 +1522,63 @@ void delete_QScreenOrientationChangeEvent(QScreenOrientationChangeEvent* obj) { class PythonQtShell_QScrollArea : public QScrollArea { public: - PythonQtShell_QScrollArea(QWidget* parent = nullptr):QScrollArea(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QScrollArea(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QScrollArea(QWidget* parent = nullptr):QScrollArea(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QScrollArea() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QScrollArea : public QScrollArea @@ -1598,7 +1602,7 @@ class PythonQtWrapper_QScrollArea : public QObject public: public slots: QScrollArea* new_QScrollArea(QWidget* parent = nullptr); -void delete_QScrollArea(QScrollArea* obj) { delete obj; } +void delete_QScrollArea(QScrollArea* obj) { delete obj; } Qt::Alignment alignment(QScrollArea* theWrappedObject) const; void ensureVisible(QScrollArea* theWrappedObject, int x, int y, int xmargin = 50, int ymargin = 50); void ensureWidgetVisible(QScrollArea* theWrappedObject, QWidget* childWidget, int xmargin = 50, int ymargin = 50); @@ -1624,61 +1628,61 @@ void delete_QScrollArea(QScrollArea* obj) { delete obj; } class PythonQtShell_QScrollBar : public QScrollBar { public: - PythonQtShell_QScrollBar(QWidget* parent = nullptr):QScrollBar(parent),_wrapper(NULL) {}; - PythonQtShell_QScrollBar(Qt::Orientation arg__1, QWidget* parent = nullptr):QScrollBar(arg__1, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QScrollBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void sliderChange(QAbstractSlider::SliderChange change); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QScrollBar(QWidget* parent = nullptr):QScrollBar(parent),_wrapper(nullptr) {}; + PythonQtShell_QScrollBar(Qt::Orientation arg__1, QWidget* parent = nullptr):QScrollBar(arg__1, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QScrollBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void sliderChange(QAbstractSlider::SliderChange change) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QScrollBar : public QScrollBar @@ -1710,7 +1714,7 @@ class PythonQtWrapper_QScrollBar : public QObject public slots: QScrollBar* new_QScrollBar(QWidget* parent = nullptr); QScrollBar* new_QScrollBar(Qt::Orientation arg__1, QWidget* parent = nullptr); -void delete_QScrollBar(QScrollBar* obj) { delete obj; } +void delete_QScrollBar(QScrollBar* obj) { delete obj; } void py_q_contextMenuEvent(QScrollBar* theWrappedObject, QContextMenuEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_contextMenuEvent(arg__1));} bool py_q_event(QScrollBar* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_event(event));} void py_q_hideEvent(QScrollBar* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_hideEvent(arg__1));} @@ -1737,7 +1741,7 @@ enum ScrollState{ ScrollStarted = QScrollEvent::ScrollStarted, ScrollUpdated = QScrollEvent::ScrollUpdated, ScrollFinished = QScrollEvent::ScrollFinished}; public slots: QScrollEvent* new_QScrollEvent(const QPointF& contentPos, const QPointF& overshoot, QScrollEvent::ScrollState scrollState); -void delete_QScrollEvent(QScrollEvent* obj) { delete obj; } +void delete_QScrollEvent(QScrollEvent* obj) { delete obj; } QPointF contentPos(QScrollEvent* theWrappedObject) const; QPointF overshootDistance(QScrollEvent* theWrappedObject) const; QScrollEvent::ScrollState scrollState(QScrollEvent* theWrappedObject) const; @@ -1752,7 +1756,7 @@ class PythonQtWrapper_QScrollPrepareEvent : public QObject public: public slots: QScrollPrepareEvent* new_QScrollPrepareEvent(const QPointF& startPos); -void delete_QScrollPrepareEvent(QScrollPrepareEvent* obj) { delete obj; } +void delete_QScrollPrepareEvent(QScrollPrepareEvent* obj) { delete obj; } QPointF contentPos(QScrollPrepareEvent* theWrappedObject) const; QRectF contentPosRange(QScrollPrepareEvent* theWrappedObject) const; void setContentPos(QScrollPrepareEvent* theWrappedObject, const QPointF& pos); @@ -1803,13 +1807,13 @@ public slots: class PythonQtShell_QScrollerProperties : public QScrollerProperties { public: - PythonQtShell_QScrollerProperties():QScrollerProperties(),_wrapper(NULL) {}; - PythonQtShell_QScrollerProperties(const QScrollerProperties& sp):QScrollerProperties(sp),_wrapper(NULL) {}; + PythonQtShell_QScrollerProperties():QScrollerProperties(),_wrapper(nullptr) {}; + PythonQtShell_QScrollerProperties(const QScrollerProperties& sp):QScrollerProperties(sp),_wrapper(nullptr) {}; - ~PythonQtShell_QScrollerProperties(); + ~PythonQtShell_QScrollerProperties() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QScrollerProperties : public QObject @@ -1825,7 +1829,7 @@ enum ScrollMetric{ public slots: QScrollerProperties* new_QScrollerProperties(); QScrollerProperties* new_QScrollerProperties(const QScrollerProperties& sp); -void delete_QScrollerProperties(QScrollerProperties* obj) { delete obj; } +void delete_QScrollerProperties(QScrollerProperties* obj) { delete obj; } bool __ne__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const; QScrollerProperties* operator_assign(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp); bool __eq__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const; @@ -1871,20 +1875,20 @@ public slots: class PythonQtShell_QShortcut : public QShortcut { public: - PythonQtShell_QShortcut(QWidget* parent):QShortcut(parent),_wrapper(NULL) {}; - PythonQtShell_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = nullptr, const char* ambiguousMember = nullptr, Qt::ShortcutContext context = Qt::WindowShortcut):QShortcut(key, parent, member, ambiguousMember, context),_wrapper(NULL) {}; + PythonQtShell_QShortcut(QWidget* parent):QShortcut(parent),_wrapper(nullptr) {}; + PythonQtShell_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = nullptr, const char* ambiguousMember = nullptr, Qt::ShortcutContext context = Qt::WindowShortcut):QShortcut(key, parent, member, ambiguousMember, context),_wrapper(nullptr) {}; - ~PythonQtShell_QShortcut(); + ~PythonQtShell_QShortcut() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QShortcut : public QShortcut @@ -1899,7 +1903,7 @@ class PythonQtWrapper_QShortcut : public QObject public slots: QShortcut* new_QShortcut(QWidget* parent); QShortcut* new_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = nullptr, const char* ambiguousMember = nullptr, Qt::ShortcutContext context = Qt::WindowShortcut); -void delete_QShortcut(QShortcut* obj) { delete obj; } +void delete_QShortcut(QShortcut* obj) { delete obj; } bool autoRepeat(QShortcut* theWrappedObject) const; Qt::ShortcutContext context(QShortcut* theWrappedObject) const; bool py_q_event(QShortcut* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QShortcut*)theWrappedObject)->py_q_event(e));} @@ -1922,12 +1926,12 @@ void delete_QShortcut(QShortcut* obj) { delete obj; } class PythonQtShell_QShortcutEvent : public QShortcutEvent { public: - PythonQtShell_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false):QShortcutEvent(key, id, ambiguous),_wrapper(NULL) {}; + PythonQtShell_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false):QShortcutEvent(key, id, ambiguous),_wrapper(nullptr) {}; - ~PythonQtShell_QShortcutEvent(); + ~PythonQtShell_QShortcutEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QShortcutEvent : public QObject @@ -1935,7 +1939,7 @@ class PythonQtWrapper_QShortcutEvent : public QObject public: public slots: QShortcutEvent* new_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false); -void delete_QShortcutEvent(QShortcutEvent* obj) { delete obj; } +void delete_QShortcutEvent(QShortcutEvent* obj) { delete obj; } bool isAmbiguous(QShortcutEvent* theWrappedObject) const; const QKeySequence* key(QShortcutEvent* theWrappedObject) const; int shortcutId(QShortcutEvent* theWrappedObject) const; @@ -1950,7 +1954,7 @@ class PythonQtWrapper_QShowEvent : public QObject public: public slots: QShowEvent* new_QShowEvent(); -void delete_QShowEvent(QShowEvent* obj) { delete obj; } +void delete_QShowEvent(QShowEvent* obj) { delete 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..7171c9e46 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 @@ -62,6 +62,7 @@ #include #include #include +#include #include #include #include @@ -81,9 +82,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -103,9 +104,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -125,9 +126,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -147,9 +148,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -169,9 +170,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -191,9 +192,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -213,20 +214,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -246,9 +247,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -268,9 +269,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -290,9 +291,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -312,9 +313,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -334,9 +335,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -356,20 +357,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -389,20 +390,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -422,9 +423,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -444,20 +445,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -477,9 +478,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -499,20 +500,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -532,20 +533,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -565,9 +566,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&hideEvent0}; + void* args[2] = {nullptr, (void*)&hideEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -587,9 +588,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -609,9 +610,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -631,20 +632,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -664,9 +665,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -686,9 +687,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -708,9 +709,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -730,20 +731,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -763,20 +764,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -796,9 +797,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -818,9 +819,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -840,9 +841,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -862,9 +863,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent0}; + void* args[2] = {nullptr, (void*)&mouseEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -884,9 +885,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&moveEvent0}; + void* args[2] = {nullptr, (void*)&moveEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -906,20 +907,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -939,20 +940,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -972,9 +973,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -994,20 +995,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1027,9 +1028,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1049,9 +1050,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1071,20 +1072,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1104,9 +1105,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&showEvent0}; + void* args[2] = {nullptr, (void*)&showEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1126,20 +1127,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1159,9 +1160,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1181,9 +1182,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1203,9 +1204,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1253,9 +1254,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1275,9 +1276,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1297,9 +1298,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1319,9 +1320,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1341,9 +1342,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1363,9 +1364,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1385,20 +1386,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1418,9 +1419,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1440,9 +1441,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1462,9 +1463,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1484,9 +1485,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1506,9 +1507,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1528,20 +1529,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1561,20 +1562,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1594,9 +1595,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1616,20 +1617,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1649,9 +1650,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1671,20 +1672,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1704,20 +1705,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1737,9 +1738,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1759,9 +1760,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1781,9 +1782,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1803,20 +1804,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1836,9 +1837,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1858,9 +1859,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1880,9 +1881,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1902,20 +1903,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1935,20 +1936,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1968,9 +1969,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1990,9 +1991,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2012,9 +2013,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2034,9 +2035,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2056,9 +2057,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2078,20 +2079,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2111,20 +2112,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2144,9 +2145,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2166,20 +2167,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2199,9 +2200,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2221,9 +2222,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2243,20 +2244,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2276,9 +2277,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2298,20 +2299,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2331,9 +2332,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&change0}; + void* args[2] = {nullptr, (void*)&change0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2353,9 +2354,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2375,9 +2376,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2397,9 +2398,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2481,20 +2482,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2514,20 +2515,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2547,20 +2548,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2580,9 +2581,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2602,20 +2603,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2635,9 +2636,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2657,20 +2658,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2690,20 +2691,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2723,20 +2724,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2756,20 +2757,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2789,9 +2790,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2811,20 +2812,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&source_column0, (void*)&source_parent1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&source_column0, (void*)&source_parent1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("filterAcceptsColumn", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2844,20 +2845,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&source_row0, (void*)&source_parent1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&source_row0, (void*)&source_parent1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("filterAcceptsRow", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2877,20 +2878,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2910,20 +2911,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2943,20 +2944,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2976,20 +2977,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3009,20 +3010,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3042,20 +3043,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3075,20 +3076,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3108,20 +3109,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&source_left0, (void*)&source_right1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&source_left0, (void*)&source_right1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("lessThan", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3141,20 +3142,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&sourceIndex0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&sourceIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3174,20 +3175,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue; - void* args[2] = {NULL, (void*)&sourceSelection0}; + QItemSelection returnValue{}; + void* args[2] = {nullptr, (void*)&sourceSelection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); } else { returnValue = *((QItemSelection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3207,20 +3208,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue; - void* args[2] = {NULL, (void*)&proxySelection0}; + QItemSelection returnValue{}; + void* args[2] = {nullptr, (void*)&proxySelection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); } else { returnValue = *((QItemSelection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3240,20 +3241,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&proxyIndex0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&proxyIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3273,20 +3274,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + QList returnValue{}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3306,20 +3307,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3339,20 +3340,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3372,20 +3373,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3405,20 +3406,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3438,20 +3439,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&child0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3471,20 +3472,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3504,20 +3505,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3537,9 +3538,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3559,20 +3560,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3592,20 +3593,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3625,20 +3626,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3658,20 +3659,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3691,20 +3692,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3724,9 +3725,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&sourceModel0}; + void* args[2] = {nullptr, (void*)&sourceModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3746,20 +3747,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3779,9 +3780,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3801,20 +3802,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3834,20 +3835,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3867,20 +3868,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3900,20 +3901,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3933,9 +3934,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4098,20 +4099,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4131,20 +4132,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4164,20 +4165,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4197,20 +4198,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4230,20 +4231,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4263,9 +4264,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4285,20 +4286,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4318,20 +4319,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4351,20 +4352,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4384,20 +4385,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4417,20 +4418,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4450,9 +4451,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4472,20 +4473,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4505,20 +4506,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSpacerItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue; - void* args[1] = {NULL}; + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4538,20 +4539,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue; - void* args[1] = {NULL}; + QWidget* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4591,9 +4592,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4613,9 +4614,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4635,9 +4636,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4657,9 +4658,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4679,9 +4680,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4701,9 +4702,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4723,9 +4724,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4745,20 +4746,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4778,9 +4779,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4800,9 +4801,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4822,9 +4823,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4844,9 +4845,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4866,9 +4867,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4888,20 +4889,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4921,20 +4922,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4954,9 +4955,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&str0}; + void* args[2] = {nullptr, (void*)&str0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4976,9 +4977,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4998,20 +4999,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5031,9 +5032,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5053,20 +5054,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5086,20 +5087,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5119,9 +5120,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5141,9 +5142,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5163,9 +5164,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5185,20 +5186,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5218,9 +5219,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5240,9 +5241,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5262,9 +5263,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5284,20 +5285,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5317,20 +5318,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5350,9 +5351,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5372,9 +5373,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5394,9 +5395,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5416,9 +5417,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5438,9 +5439,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5460,20 +5461,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5493,20 +5494,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5526,9 +5527,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5548,20 +5549,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5581,9 +5582,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5603,9 +5604,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5625,20 +5626,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5658,9 +5659,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5680,20 +5681,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5713,9 +5714,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&steps0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5735,20 +5736,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; + QAbstractSpinBox::StepEnabled returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5768,9 +5769,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5790,20 +5791,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&val0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&val0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5823,9 +5824,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5845,20 +5846,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5878,20 +5879,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&text0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5911,9 +5912,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6041,9 +6042,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6063,9 +6064,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6085,9 +6086,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6107,9 +6108,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6129,9 +6130,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6151,9 +6152,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6173,20 +6174,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6206,9 +6207,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6228,9 +6229,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6250,9 +6251,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6272,9 +6273,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6294,9 +6295,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6316,9 +6317,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6338,20 +6339,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6371,20 +6372,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6404,9 +6405,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6426,20 +6427,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6459,9 +6460,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6481,20 +6482,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6514,20 +6515,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6547,9 +6548,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6569,9 +6570,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6591,9 +6592,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6613,20 +6614,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6646,9 +6647,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6668,9 +6669,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6690,9 +6691,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6712,20 +6713,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6745,20 +6746,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6778,9 +6779,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6800,9 +6801,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6822,9 +6823,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6844,9 +6845,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6866,9 +6867,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6888,20 +6889,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6921,20 +6922,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6954,9 +6955,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6976,20 +6977,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7009,9 +7010,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7031,9 +7032,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7053,20 +7054,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7086,9 +7087,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7108,20 +7109,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7141,9 +7142,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7163,9 +7164,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7185,9 +7186,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7259,9 +7260,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7281,9 +7282,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7303,9 +7304,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7325,9 +7326,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7347,9 +7348,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7369,20 +7370,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSplitterHandle*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSplitterHandle* returnValue; - void* args[1] = {NULL}; + QSplitterHandle* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createHandle", methodInfo, result); } else { returnValue = *((QSplitterHandle**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7402,9 +7403,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7424,20 +7425,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7457,9 +7458,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7479,9 +7480,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7501,9 +7502,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7523,9 +7524,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7545,9 +7546,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7567,20 +7568,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7600,20 +7601,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7633,9 +7634,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7655,20 +7656,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7688,9 +7689,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7710,20 +7711,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7743,20 +7744,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7776,9 +7777,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7798,9 +7799,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7820,9 +7821,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7842,20 +7843,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7875,9 +7876,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7897,9 +7898,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7919,9 +7920,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7941,20 +7942,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7974,20 +7975,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8007,9 +8008,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8029,9 +8030,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8051,9 +8052,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8073,9 +8074,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8095,9 +8096,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8117,20 +8118,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8150,20 +8151,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8183,9 +8184,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8205,20 +8206,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8238,9 +8239,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8260,9 +8261,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8282,20 +8283,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8315,9 +8316,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8337,20 +8338,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8370,9 +8371,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8392,9 +8393,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8414,9 +8415,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8613,9 +8614,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8635,9 +8636,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8657,9 +8658,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8679,9 +8680,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8701,9 +8702,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8723,9 +8724,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8745,20 +8746,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8778,9 +8779,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8800,9 +8801,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8822,9 +8823,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8844,9 +8845,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8866,9 +8867,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8888,20 +8889,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8921,20 +8922,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8954,9 +8955,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8976,20 +8977,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9009,9 +9010,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9031,20 +9032,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9064,20 +9065,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9097,9 +9098,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9119,9 +9120,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9141,9 +9142,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9163,20 +9164,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9196,9 +9197,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9218,9 +9219,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9240,9 +9241,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9262,20 +9263,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9295,20 +9296,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9328,9 +9329,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9350,9 +9351,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9372,9 +9373,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9394,9 +9395,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9416,9 +9417,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9438,20 +9439,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9471,20 +9472,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9504,9 +9505,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9526,20 +9527,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9559,9 +9560,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9581,9 +9582,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9603,20 +9604,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9636,9 +9637,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9658,20 +9659,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9691,9 +9692,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9713,9 +9714,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9735,9 +9736,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9815,9 +9816,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9837,9 +9838,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9859,20 +9860,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9892,20 +9893,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9925,9 +9926,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9947,20 +9948,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9980,20 +9981,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10013,20 +10014,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10046,20 +10047,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10079,20 +10080,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10112,20 +10113,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&width0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&width0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10145,20 +10146,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10178,9 +10179,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10200,20 +10201,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10233,20 +10234,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10266,20 +10267,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10299,20 +10300,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10322,6 +10323,39 @@ if (_wrapper) { } return QStackedLayout::maximumSize(); } +int PythonQtShell_QStackedLayout::minimumHeightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::minimumHeightForWidth(arg__1); +} QSize PythonQtShell_QStackedLayout::minimumSize() const { if (_wrapper) { @@ -10332,20 +10366,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10365,9 +10399,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10387,20 +10421,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10410,6 +10444,39 @@ if (_wrapper) { } return QStackedLayout::sizeHint(); } +QSpacerItem* PythonQtShell_QStackedLayout::spacerItem() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("spacerItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::spacerItem(); +} QLayoutItem* PythonQtShell_QStackedLayout::takeAt(int arg__1) { if (_wrapper) { @@ -10420,20 +10487,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10453,9 +10520,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10505,16 +10572,6 @@ QWidget* PythonQtWrapper_QStackedLayout::currentWidget(QStackedLayout* theWrapp return ( theWrappedObject->currentWidget()); } -bool PythonQtWrapper_QStackedLayout::hasHeightForWidth(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -int PythonQtWrapper_QStackedLayout::heightForWidth(QStackedLayout* theWrappedObject, int width) const -{ - return ( theWrappedObject->heightForWidth(width)); -} - int PythonQtWrapper_QStackedLayout::insertWidget(QStackedLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP w) { return ( theWrappedObject->insertWidget(index, w)); @@ -10525,11 +10582,6 @@ void PythonQtWrapper_QStackedLayout::setStackingMode(QStackedLayout* theWrappedO ( theWrappedObject->setStackingMode(stackingMode)); } -QSize PythonQtWrapper_QStackedLayout::sizeHint(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - QStackedLayout::StackingMode PythonQtWrapper_QStackedLayout::stackingMode(QStackedLayout* theWrappedObject) const { return ( theWrappedObject->stackingMode()); @@ -10556,9 +10608,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10578,9 +10630,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10600,9 +10652,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10622,9 +10674,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10644,9 +10696,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10666,9 +10718,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10688,20 +10740,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10721,9 +10773,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10743,9 +10795,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10765,9 +10817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10787,9 +10839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10809,9 +10861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10831,20 +10883,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10864,20 +10916,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10897,9 +10949,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10919,20 +10971,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10952,9 +11004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10974,20 +11026,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11007,20 +11059,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11040,9 +11092,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11062,9 +11114,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11084,9 +11136,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11106,20 +11158,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11139,9 +11191,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11161,9 +11213,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11183,9 +11235,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11205,20 +11257,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11238,20 +11290,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11271,9 +11323,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11293,9 +11345,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11315,9 +11367,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11337,9 +11389,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11359,9 +11411,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11381,20 +11433,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11414,20 +11466,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11447,9 +11499,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11469,20 +11521,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11502,9 +11554,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11524,9 +11576,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11546,20 +11598,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11579,9 +11631,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11601,20 +11653,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11634,9 +11686,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11656,9 +11708,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11678,9 +11730,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11763,20 +11815,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStandardItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStandardItem* returnValue; - void* args[1] = {NULL}; + QStandardItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); } else { returnValue = *((QStandardItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11796,20 +11848,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&role0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&role0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11829,9 +11881,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in0}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11851,9 +11903,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&value0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&value0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11873,20 +11925,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11906,9 +11958,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out0}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12384,20 +12436,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12417,20 +12469,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12450,20 +12502,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12483,9 +12535,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12505,20 +12557,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12538,9 +12590,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12560,20 +12612,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12593,20 +12645,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12626,20 +12678,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12659,20 +12711,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12692,9 +12744,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12714,20 +12766,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12747,20 +12799,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12780,20 +12832,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12813,20 +12865,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12846,20 +12898,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12879,20 +12931,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12912,20 +12964,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12945,20 +12997,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + QList returnValue{}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12978,20 +13030,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13011,20 +13063,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13044,20 +13096,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13077,20 +13129,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13110,20 +13162,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&child0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13143,20 +13195,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13176,20 +13228,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13209,9 +13261,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13231,20 +13283,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13264,20 +13316,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13297,20 +13349,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13330,20 +13382,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13363,20 +13415,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13396,20 +13448,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13429,9 +13481,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13451,20 +13503,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13484,20 +13536,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13517,20 +13569,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13550,20 +13602,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13583,9 +13635,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13886,9 +13938,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13908,9 +13960,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13930,9 +13982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13952,9 +14004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13974,9 +14026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13996,9 +14048,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14018,20 +14070,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14051,9 +14103,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14073,9 +14125,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14095,9 +14147,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14117,9 +14169,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14139,9 +14191,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14161,20 +14213,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14194,20 +14246,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14227,9 +14279,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14249,20 +14301,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14282,9 +14334,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14304,20 +14356,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14337,20 +14389,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14370,9 +14422,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14392,9 +14444,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14414,9 +14466,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14436,20 +14488,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14469,9 +14521,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14491,9 +14543,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14513,9 +14565,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14535,20 +14587,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14568,20 +14620,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14601,9 +14653,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14623,9 +14675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14645,9 +14697,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14667,9 +14719,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14689,9 +14741,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14711,20 +14763,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14744,20 +14796,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14777,9 +14829,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14799,20 +14851,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14832,9 +14884,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14854,9 +14906,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14876,20 +14928,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14909,9 +14961,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14931,20 +14983,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14964,9 +15016,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14986,9 +15038,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15008,9 +15060,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15114,20 +15166,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15147,20 +15199,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15180,20 +15232,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15213,9 +15265,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15235,9 +15287,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15257,20 +15309,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15290,20 +15342,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15323,20 +15375,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15356,20 +15408,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15389,9 +15441,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15411,20 +15463,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15444,20 +15496,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15477,20 +15529,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15510,20 +15562,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15543,20 +15595,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15576,20 +15628,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15609,20 +15661,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + QList returnValue{}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15642,20 +15694,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15675,20 +15727,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15708,20 +15760,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15741,20 +15793,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15774,20 +15826,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15807,20 +15859,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15840,9 +15892,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15862,20 +15914,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15895,20 +15947,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15928,20 +15980,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15961,20 +16013,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15994,20 +16046,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16027,20 +16079,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16060,9 +16112,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16082,20 +16134,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16115,20 +16167,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16148,20 +16200,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16181,20 +16233,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16214,9 +16266,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui8.h b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui8.h index 604ff2c7e..aeec0482a 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui8.h +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui8.h @@ -62,6 +62,7 @@ #include #include #include +#include #include #include #include @@ -72,59 +73,59 @@ class PythonQtShell_QSizeGrip : public QSizeGrip { public: - PythonQtShell_QSizeGrip(QWidget* parent):QSizeGrip(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSizeGrip(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* hideEvent); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* mouseEvent); -virtual void moveEvent(QMoveEvent* moveEvent); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool arg__1); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* showEvent); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSizeGrip(QWidget* parent):QSizeGrip(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSizeGrip() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* hideEvent) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* mouseEvent) override; +void moveEvent(QMoveEvent* moveEvent) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool arg__1) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* showEvent) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSizeGrip : public QSizeGrip @@ -156,7 +157,7 @@ class PythonQtWrapper_QSizeGrip : public QObject public: public slots: QSizeGrip* new_QSizeGrip(QWidget* parent); -void delete_QSizeGrip(QSizeGrip* obj) { delete obj; } +void delete_QSizeGrip(QSizeGrip* obj) { delete obj; } bool py_q_event(QSizeGrip* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_event(arg__1));} bool py_q_eventFilter(QSizeGrip* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} void py_q_hideEvent(QSizeGrip* theWrappedObject, QHideEvent* hideEvent){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_hideEvent(hideEvent));} @@ -178,61 +179,61 @@ void delete_QSizeGrip(QSizeGrip* obj) { delete obj; } class PythonQtShell_QSlider : public QSlider { public: - PythonQtShell_QSlider(QWidget* parent = nullptr):QSlider(parent),_wrapper(NULL) {}; - PythonQtShell_QSlider(Qt::Orientation orientation, QWidget* parent = nullptr):QSlider(orientation, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSlider(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* ev); -virtual void mousePressEvent(QMouseEvent* ev); -virtual void mouseReleaseEvent(QMouseEvent* ev); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* ev); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void sliderChange(QAbstractSlider::SliderChange change); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSlider(QWidget* parent = nullptr):QSlider(parent),_wrapper(nullptr) {}; + PythonQtShell_QSlider(Qt::Orientation orientation, QWidget* parent = nullptr):QSlider(orientation, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSlider() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* ev) override; +void mousePressEvent(QMouseEvent* ev) override; +void mouseReleaseEvent(QMouseEvent* ev) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* ev) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void sliderChange(QAbstractSlider::SliderChange change) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSlider : public QSlider @@ -257,7 +258,7 @@ class PythonQtWrapper_QSlider : public QObject public slots: QSlider* new_QSlider(QWidget* parent = nullptr); QSlider* new_QSlider(Qt::Orientation orientation, QWidget* parent = nullptr); -void delete_QSlider(QSlider* obj) { delete obj; } +void delete_QSlider(QSlider* obj) { delete obj; } bool py_q_event(QSlider* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSlider*)theWrappedObject)->py_q_event(event));} void initStyleOption(QSlider* theWrappedObject, QStyleOptionSlider* option) const; QSize minimumSizeHint(QSlider* theWrappedObject) const; @@ -281,61 +282,61 @@ void delete_QSlider(QSlider* obj) { delete obj; } class PythonQtShell_QSortFilterProxyModel : public QSortFilterProxyModel { public: - PythonQtShell_QSortFilterProxyModel(QObject* parent = nullptr):QSortFilterProxyModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSortFilterProxyModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* event); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* event); -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fetchMore(const QModelIndex& parent); -virtual bool filterAcceptsColumn(int source_column, const QModelIndex& source_parent) const; -virtual bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const; -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual bool lessThan(const QModelIndex& source_left, const QModelIndex& source_right) const; -virtual QModelIndex mapFromSource(const QModelIndex& sourceIndex) const; -virtual QItemSelection mapSelectionFromSource(const QItemSelection& sourceSelection) const; -virtual QItemSelection mapSelectionToSource(const QItemSelection& proxySelection) const; -virtual QModelIndex mapToSource(const QModelIndex& proxyIndex) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setSourceModel(QAbstractItemModel* sourceModel); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSortFilterProxyModel(QObject* parent = nullptr):QSortFilterProxyModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSortFilterProxyModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +bool filterAcceptsColumn(int source_column, const QModelIndex& source_parent) const override; +bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +bool lessThan(const QModelIndex& source_left, const QModelIndex& source_right) const override; +QModelIndex mapFromSource(const QModelIndex& sourceIndex) const override; +QItemSelection mapSelectionFromSource(const QItemSelection& sourceSelection) const override; +QItemSelection mapSelectionToSource(const QItemSelection& proxySelection) const override; +QModelIndex mapToSource(const QModelIndex& proxyIndex) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +void setSourceModel(QAbstractItemModel* sourceModel) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSortFilterProxyModel : public QSortFilterProxyModel @@ -384,7 +385,7 @@ class PythonQtWrapper_QSortFilterProxyModel : public QObject public: public slots: QSortFilterProxyModel* new_QSortFilterProxyModel(QObject* parent = nullptr); -void delete_QSortFilterProxyModel(QSortFilterProxyModel* obj) { delete obj; } +void delete_QSortFilterProxyModel(QSortFilterProxyModel* obj) { delete obj; } QModelIndex py_q_buddy(QSortFilterProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_buddy(index));} bool py_q_canFetchMore(QSortFilterProxyModel* theWrappedObject, const QModelIndex& parent) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_canFetchMore(parent));} int py_q_columnCount(QSortFilterProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_columnCount(parent));} @@ -451,27 +452,27 @@ void delete_QSortFilterProxyModel(QSortFilterProxyModel* obj) { delete obj; } class PythonQtShell_QSpacerItem : public QSpacerItem { public: - PythonQtShell_QSpacerItem(int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum):QSpacerItem(w, h, hData, vData),_wrapper(NULL) {}; + PythonQtShell_QSpacerItem(int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum):QSpacerItem(w, h, hData, vData),_wrapper(nullptr) {}; - ~PythonQtShell_QSpacerItem(); + ~PythonQtShell_QSpacerItem() override; -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QSpacerItem* spacerItem(); -virtual QWidget* widget(); +QSizePolicy::ControlTypes controlTypes() const override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QWidget* widget() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSpacerItem : public QSpacerItem @@ -491,7 +492,7 @@ class PythonQtWrapper_QSpacerItem : public QObject public: public slots: QSpacerItem* new_QSpacerItem(int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum); -void delete_QSpacerItem(QSpacerItem* obj) { delete obj; } +void delete_QSpacerItem(QSpacerItem* obj) { delete obj; } void changeSize(QSpacerItem* theWrappedObject, int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum); Qt::Orientations py_q_expandingDirections(QSpacerItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->py_q_expandingDirections());} QRect py_q_geometry(QSpacerItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->py_q_geometry());} @@ -512,66 +513,66 @@ void delete_QSpacerItem(QSpacerItem* obj) { delete obj; } class PythonQtShell_QSpinBox : public QSpinBox { public: - PythonQtShell_QSpinBox(QWidget* parent = nullptr):QSpinBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSpinBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fixup(QString& str) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -virtual QString textFromValue(int val) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual int valueFromText(const QString& text) const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSpinBox(QWidget* parent = nullptr):QSpinBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSpinBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& str) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromValue(int val) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +int valueFromText(const QString& text) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSpinBox : public QSpinBox @@ -593,7 +594,7 @@ class PythonQtWrapper_QSpinBox : public QObject public: public slots: QSpinBox* new_QSpinBox(QWidget* parent = nullptr); -void delete_QSpinBox(QSpinBox* obj) { delete obj; } +void delete_QSpinBox(QSpinBox* obj) { delete obj; } QString cleanText(QSpinBox* theWrappedObject) const; int displayIntegerBase(QSpinBox* theWrappedObject) const; bool py_q_event(QSpinBox* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->py_q_event(event));} @@ -625,61 +626,61 @@ void delete_QSpinBox(QSpinBox* obj) { delete obj; } class PythonQtShell_QSplashScreen : public QSplashScreen { public: - PythonQtShell_QSplashScreen(QWidget* parent, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()):QSplashScreen(parent, pixmap, f),_wrapper(NULL) {}; - PythonQtShell_QSplashScreen(const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()):QSplashScreen(pixmap, f),_wrapper(NULL) {}; - - ~PythonQtShell_QSplashScreen(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void drawContents(QPainter* painter); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSplashScreen(QWidget* parent, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()):QSplashScreen(parent, pixmap, f),_wrapper(nullptr) {}; + PythonQtShell_QSplashScreen(const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()):QSplashScreen(pixmap, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QSplashScreen() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void drawContents(QPainter* painter) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSplashScreen : public QSplashScreen @@ -698,7 +699,7 @@ class PythonQtWrapper_QSplashScreen : public QObject public slots: QSplashScreen* new_QSplashScreen(QWidget* parent, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()); QSplashScreen* new_QSplashScreen(const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QSplashScreen(QSplashScreen* obj) { delete obj; } +void delete_QSplashScreen(QSplashScreen* obj) { delete obj; } void drawContents(QSplashScreen* theWrappedObject, QPainter* painter); void py_q_drawContents(QSplashScreen* theWrappedObject, QPainter* painter){ (((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->py_q_drawContents(painter));} bool py_q_event(QSplashScreen* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->py_q_event(e));} @@ -716,61 +717,61 @@ void delete_QSplashScreen(QSplashScreen* obj) { delete obj; } class PythonQtShell_QSplitter : public QSplitter { public: - PythonQtShell_QSplitter(QWidget* parent = nullptr):QSplitter(parent),_wrapper(NULL) {}; - PythonQtShell_QSplitter(Qt::Orientation arg__1, QWidget* parent = nullptr):QSplitter(arg__1, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSplitter(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual QSplitterHandle* createHandle(); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSplitter(QWidget* parent = nullptr):QSplitter(parent),_wrapper(nullptr) {}; + PythonQtShell_QSplitter(Qt::Orientation arg__1, QWidget* parent = nullptr):QSplitter(arg__1, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSplitter() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* arg__1) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +QSplitterHandle* createHandle() override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSplitter : public QSplitter @@ -798,7 +799,7 @@ class PythonQtWrapper_QSplitter : public QObject public slots: QSplitter* new_QSplitter(QWidget* parent = nullptr); QSplitter* new_QSplitter(Qt::Orientation arg__1, QWidget* parent = nullptr); -void delete_QSplitter(QSplitter* obj) { delete obj; } +void delete_QSplitter(QSplitter* obj) { delete obj; } void addWidget(QSplitter* theWrappedObject, PythonQtPassOwnershipToCPP widget); void py_q_changeEvent(QSplitter* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->py_q_changeEvent(arg__1));} void py_q_childEvent(QSplitter* theWrappedObject, QChildEvent* arg__1){ (((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->py_q_childEvent(arg__1));} @@ -845,59 +846,59 @@ void delete_QSplitter(QSplitter* obj) { delete obj; } class PythonQtShell_QSplitterHandle : public QSplitterHandle { public: - PythonQtShell_QSplitterHandle(Qt::Orientation o, QSplitter* parent):QSplitterHandle(o, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSplitterHandle(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSplitterHandle(Qt::Orientation o, QSplitter* parent):QSplitterHandle(o, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSplitterHandle() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSplitterHandle : public QSplitterHandle @@ -924,7 +925,7 @@ class PythonQtWrapper_QSplitterHandle : public QObject public: public slots: QSplitterHandle* new_QSplitterHandle(Qt::Orientation o, QSplitter* parent); -void delete_QSplitterHandle(QSplitterHandle* obj) { delete obj; } +void delete_QSplitterHandle(QSplitterHandle* obj) { delete obj; } int closestLegalPosition(QSplitterHandle* theWrappedObject, int p); bool py_q_event(QSplitterHandle* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->py_q_event(arg__1));} void py_q_mouseMoveEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} @@ -948,38 +949,40 @@ void delete_QSplitterHandle(QSplitterHandle* obj) { delete obj; } class PythonQtShell_QStackedLayout : public QStackedLayout { public: - PythonQtShell_QStackedLayout():QStackedLayout(),_wrapper(NULL) {}; - PythonQtShell_QStackedLayout(QLayout* parentLayout):QStackedLayout(parentLayout),_wrapper(NULL) {}; - PythonQtShell_QStackedLayout(QWidget* parent):QStackedLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStackedLayout(); - -virtual void addItem(QLayoutItem* item); -virtual void childEvent(QChildEvent* e); -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual int count() const; -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int width) const; -virtual int indexOf(QWidget* arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayoutItem* itemAt(int arg__1) const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& rect); -virtual QSize sizeHint() const; -virtual QLayoutItem* takeAt(int arg__1); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStackedLayout():QStackedLayout(),_wrapper(nullptr) {}; + PythonQtShell_QStackedLayout(QLayout* parentLayout):QStackedLayout(parentLayout),_wrapper(nullptr) {}; + PythonQtShell_QStackedLayout(QWidget* parent):QStackedLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStackedLayout() override; + +void addItem(QLayoutItem* item) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int width) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int arg__1) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& rect) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int arg__1) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStackedLayout : public QStackedLayout @@ -1002,22 +1005,19 @@ public slots: QStackedLayout* new_QStackedLayout(); QStackedLayout* new_QStackedLayout(QLayout* parentLayout); QStackedLayout* new_QStackedLayout(QWidget* parent); -void delete_QStackedLayout(QStackedLayout* obj) { delete obj; } +void delete_QStackedLayout(QStackedLayout* obj) { delete obj; } void py_q_addItem(QStackedLayout* theWrappedObject, QLayoutItem* item){ (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_addItem(item));} int addWidget(QStackedLayout* theWrappedObject, QWidget* w); int py_q_count(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_count());} int currentIndex(QStackedLayout* theWrappedObject) const; QWidget* currentWidget(QStackedLayout* theWrappedObject) const; - bool hasHeightForWidth(QStackedLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QStackedLayout* theWrappedObject, int width) const; int py_q_heightForWidth(QStackedLayout* theWrappedObject, int width) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_heightForWidth(width));} int insertWidget(QStackedLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP w); QLayoutItem* py_q_itemAt(QStackedLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_itemAt(arg__1));} QSize py_q_minimumSize(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_minimumSize());} void py_q_setGeometry(QStackedLayout* theWrappedObject, const QRect& rect){ (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_setGeometry(rect));} void setStackingMode(QStackedLayout* theWrappedObject, QStackedLayout::StackingMode stackingMode); - QSize sizeHint(QStackedLayout* theWrappedObject) const; QSize py_q_sizeHint(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_sizeHint());} QStackedLayout::StackingMode stackingMode(QStackedLayout* theWrappedObject) const; QLayoutItem* py_q_takeAt(QStackedLayout* theWrappedObject, int arg__1){ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_takeAt(arg__1));} @@ -1032,59 +1032,59 @@ void delete_QStackedLayout(QStackedLayout* obj) { delete obj; } class PythonQtShell_QStackedWidget : public QStackedWidget { public: - PythonQtShell_QStackedWidget(QWidget* parent = nullptr):QStackedWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStackedWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStackedWidget(QWidget* parent = nullptr):QStackedWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStackedWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStackedWidget : public QStackedWidget @@ -1098,7 +1098,7 @@ class PythonQtWrapper_QStackedWidget : public QObject public: public slots: QStackedWidget* new_QStackedWidget(QWidget* parent = nullptr); -void delete_QStackedWidget(QStackedWidget* obj) { delete obj; } +void delete_QStackedWidget(QStackedWidget* obj) { delete obj; } int addWidget(QStackedWidget* theWrappedObject, PythonQtPassOwnershipToCPP w); int count(QStackedWidget* theWrappedObject) const; int currentIndex(QStackedWidget* theWrappedObject) const; @@ -1117,22 +1117,22 @@ void delete_QStackedWidget(QStackedWidget* obj) { delete obj; } class PythonQtShell_QStandardItem : public QStandardItem { public: - PythonQtShell_QStandardItem():QStandardItem(),_wrapper(NULL) {}; - PythonQtShell_QStandardItem(const QIcon& icon, const QString& text):QStandardItem(icon, text),_wrapper(NULL) {}; - PythonQtShell_QStandardItem(const QStandardItem& other):QStandardItem(other),_wrapper(NULL) {}; - PythonQtShell_QStandardItem(const QString& text):QStandardItem(text),_wrapper(NULL) {}; - PythonQtShell_QStandardItem(int rows, int columns = 1):QStandardItem(rows, columns),_wrapper(NULL) {}; + PythonQtShell_QStandardItem():QStandardItem(),_wrapper(nullptr) {}; + PythonQtShell_QStandardItem(const QIcon& icon, const QString& text):QStandardItem(icon, text),_wrapper(nullptr) {}; + PythonQtShell_QStandardItem(const QStandardItem& other):QStandardItem(other),_wrapper(nullptr) {}; + PythonQtShell_QStandardItem(const QString& text):QStandardItem(text),_wrapper(nullptr) {}; + PythonQtShell_QStandardItem(int rows, int columns = 1):QStandardItem(rows, columns),_wrapper(nullptr) {}; - ~PythonQtShell_QStandardItem(); + ~PythonQtShell_QStandardItem() override; -virtual QStandardItem* clone() const; -virtual QVariant data(int role = Qt::UserRole + 1) const; -virtual void read(QDataStream& in); -virtual void setData(const QVariant& value, int role = Qt::UserRole + 1); -virtual int type() const; -virtual void write(QDataStream& out) const; +QStandardItem* clone() const override; +QVariant data(int role = Qt::UserRole + 1) const override; +void read(QDataStream& in) override; +void setData(const QVariant& value, int role = Qt::UserRole + 1) override; +int type() const override; +void write(QDataStream& out) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStandardItem : public QStandardItem @@ -1158,7 +1158,7 @@ QStandardItem* new_QStandardItem(const QIcon& icon, const QString& text); QStandardItem* new_QStandardItem(const QStandardItem& other); QStandardItem* new_QStandardItem(const QString& text); QStandardItem* new_QStandardItem(int rows, int columns = 1); -void delete_QStandardItem(QStandardItem* obj) { delete obj; } +void delete_QStandardItem(QStandardItem* obj) { delete obj; } QString accessibleDescription(QStandardItem* theWrappedObject) const; QString accessibleText(QStandardItem* theWrappedObject) const; void appendColumn(QStandardItem* theWrappedObject, PythonQtPassOwnershipToCPP > items); @@ -1260,54 +1260,54 @@ void delete_QStandardItem(QStandardItem* obj) { delete obj; } class PythonQtShell_QStandardItemModel : public QStandardItemModel { public: - PythonQtShell_QStandardItemModel(QObject* parent = nullptr):QStandardItemModel(parent),_wrapper(NULL) {}; - PythonQtShell_QStandardItemModel(int rows, int columns, QObject* parent = nullptr):QStandardItemModel(rows, columns, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStandardItemModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* event); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* event); -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStandardItemModel(QObject* parent = nullptr):QStandardItemModel(parent),_wrapper(nullptr) {}; + PythonQtShell_QStandardItemModel(int rows, int columns, QObject* parent = nullptr):QStandardItemModel(rows, columns, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStandardItemModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStandardItemModel : public QStandardItemModel @@ -1342,7 +1342,7 @@ class PythonQtWrapper_QStandardItemModel : public QObject public slots: QStandardItemModel* new_QStandardItemModel(QObject* parent = nullptr); QStandardItemModel* new_QStandardItemModel(int rows, int columns, QObject* parent = nullptr); -void delete_QStandardItemModel(QStandardItemModel* obj) { delete obj; } +void delete_QStandardItemModel(QStandardItemModel* obj) { delete obj; } void appendColumn(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP > items); void appendRow(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP item); void appendRow(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP > items); @@ -1413,7 +1413,7 @@ public slots: QStaticText* new_QStaticText(); QStaticText* new_QStaticText(const QStaticText& other); QStaticText* new_QStaticText(const QString& text); -void delete_QStaticText(QStaticText* obj) { delete obj; } +void delete_QStaticText(QStaticText* obj) { delete obj; } bool __ne__(QStaticText* theWrappedObject, const QStaticText& arg__1) const; QStaticText* operator_assign(QStaticText* theWrappedObject, const QStaticText& arg__1); bool __eq__(QStaticText* theWrappedObject, const QStaticText& arg__1) const; @@ -1439,59 +1439,59 @@ void delete_QStaticText(QStaticText* obj) { delete obj; } class PythonQtShell_QStatusBar : public QStatusBar { public: - PythonQtShell_QStatusBar(QWidget* parent = nullptr):QStatusBar(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStatusBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStatusBar(QWidget* parent = nullptr):QStatusBar(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStatusBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStatusBar : public QStatusBar @@ -1513,7 +1513,7 @@ class PythonQtWrapper_QStatusBar : public QObject public: public slots: QStatusBar* new_QStatusBar(QWidget* parent = nullptr); -void delete_QStatusBar(QStatusBar* obj) { delete obj; } +void delete_QStatusBar(QStatusBar* obj) { delete obj; } void addPermanentWidget(QStatusBar* theWrappedObject, PythonQtPassOwnershipToCPP widget, int stretch = 0); void addWidget(QStatusBar* theWrappedObject, PythonQtPassOwnershipToCPP widget, int stretch = 0); QString currentMessage(QStatusBar* theWrappedObject) const; @@ -1539,7 +1539,7 @@ class PythonQtWrapper_QStatusTipEvent : public QObject public: public slots: QStatusTipEvent* new_QStatusTipEvent(const QString& tip); -void delete_QStatusTipEvent(QStatusTipEvent* obj) { delete obj; } +void delete_QStatusTipEvent(QStatusTipEvent* obj) { delete obj; } QString tip(QStatusTipEvent* theWrappedObject) const; }; @@ -1550,51 +1550,51 @@ void delete_QStatusTipEvent(QStatusTipEvent* obj) { delete obj; } class PythonQtShell_QStringListModel : public QStringListModel { public: - PythonQtShell_QStringListModel(QObject* parent = nullptr):QStringListModel(parent),_wrapper(NULL) {}; - PythonQtShell_QStringListModel(const QStringList& strings, QObject* parent = nullptr):QStringListModel(strings, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStringListModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStringListModel(QObject* parent = nullptr):QStringListModel(parent),_wrapper(nullptr) {}; + PythonQtShell_QStringListModel(const QStringList& strings, QObject* parent = nullptr):QStringListModel(strings, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStringListModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStringListModel : public QStringListModel @@ -1616,7 +1616,7 @@ class PythonQtWrapper_QStringListModel : public QObject public slots: QStringListModel* new_QStringListModel(QObject* parent = nullptr); QStringListModel* new_QStringListModel(const QStringList& strings, QObject* parent = nullptr); -void delete_QStringListModel(QStringListModel* obj) { delete obj; } +void delete_QStringListModel(QStringListModel* obj) { delete obj; } QVariant py_q_data(QStringListModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_data(index, role));} Qt::ItemFlags py_q_flags(QStringListModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_flags(index));} bool py_q_insertRows(QStringListModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_insertRows(row, count, parent));} @@ -1672,7 +1672,7 @@ enum SubControl{ Q_DECLARE_FLAGS(State, StateFlag) Q_DECLARE_FLAGS(SubControls, SubControl) public slots: -void delete_QStyle(QStyle* obj) { delete obj; } +void delete_QStyle(QStyle* obj) { delete obj; } QRect static_QStyle_alignedRect(Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize& size, const QRect& rectangle); int combinedLayoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlTypes controls1, QSizePolicy::ControlTypes controls2, Qt::Orientation orientation, QStyleOption* option = nullptr, QWidget* widget = nullptr) const; void drawComplexControl(QStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* widget = nullptr) const; @@ -1734,12 +1734,12 @@ void delete_QStyle(QStyle* obj) { delete obj; } class PythonQtShell_QStyleFactory : public QStyleFactory { public: - PythonQtShell_QStyleFactory():QStyleFactory(),_wrapper(NULL) {}; + PythonQtShell_QStyleFactory():QStyleFactory(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleFactory(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleFactory : public QObject @@ -1747,7 +1747,7 @@ class PythonQtWrapper_QStyleFactory : public QObject public: public slots: QStyleFactory* new_QStyleFactory(); -void delete_QStyleFactory(QStyleFactory* obj) { delete obj; } +void delete_QStyleFactory(QStyleFactory* obj) { delete obj; } QStyle* static_QStyleFactory_create(const QString& arg__1); QStringList static_QStyleFactory_keys(); }; @@ -1759,12 +1759,12 @@ void delete_QStyleFactory(QStyleFactory* obj) { delete obj; } class PythonQtShell_QStyleHintReturn : public QStyleHintReturn { public: - PythonQtShell_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default):QStyleHintReturn(version, type),_wrapper(NULL) {}; + PythonQtShell_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default):QStyleHintReturn(version, type),_wrapper(nullptr) {}; ~PythonQtShell_QStyleHintReturn(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleHintReturn : public QObject @@ -1779,7 +1779,7 @@ enum StyleOptionVersion{ Version = QStyleHintReturn::Version}; public slots: QStyleHintReturn* new_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default); -void delete_QStyleHintReturn(QStyleHintReturn* obj) { delete obj; } +void delete_QStyleHintReturn(QStyleHintReturn* obj) { delete obj; } void py_set_type(QStyleHintReturn* theWrappedObject, int type){ theWrappedObject->type = type; } int py_get_type(QStyleHintReturn* theWrappedObject){ return theWrappedObject->type; } void py_set_version(QStyleHintReturn* theWrappedObject, int version){ theWrappedObject->version = version; } @@ -1793,12 +1793,12 @@ int py_get_version(QStyleHintReturn* theWrappedObject){ return theWrappedObject class PythonQtShell_QStyleHintReturnMask : public QStyleHintReturnMask { public: - PythonQtShell_QStyleHintReturnMask():QStyleHintReturnMask(),_wrapper(NULL) {}; + PythonQtShell_QStyleHintReturnMask():QStyleHintReturnMask(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleHintReturnMask(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleHintReturnMask : public QObject @@ -1811,7 +1811,7 @@ enum StyleOptionVersion{ Version = QStyleHintReturnMask::Version}; public slots: QStyleHintReturnMask* new_QStyleHintReturnMask(); -void delete_QStyleHintReturnMask(QStyleHintReturnMask* obj) { delete obj; } +void delete_QStyleHintReturnMask(QStyleHintReturnMask* obj) { delete obj; } void py_set_region(QStyleHintReturnMask* theWrappedObject, QRegion region){ theWrappedObject->region = region; } QRegion py_get_region(QStyleHintReturnMask* theWrappedObject){ return theWrappedObject->region; } }; @@ -1823,12 +1823,12 @@ QRegion py_get_region(QStyleHintReturnMask* theWrappedObject){ return theWrappe class PythonQtShell_QStyleHintReturnVariant : public QStyleHintReturnVariant { public: - PythonQtShell_QStyleHintReturnVariant():QStyleHintReturnVariant(),_wrapper(NULL) {}; + PythonQtShell_QStyleHintReturnVariant():QStyleHintReturnVariant(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleHintReturnVariant(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleHintReturnVariant : public QObject @@ -1841,7 +1841,7 @@ enum StyleOptionVersion{ Version = QStyleHintReturnVariant::Version}; public slots: QStyleHintReturnVariant* new_QStyleHintReturnVariant(); -void delete_QStyleHintReturnVariant(QStyleHintReturnVariant* obj) { delete obj; } +void delete_QStyleHintReturnVariant(QStyleHintReturnVariant* obj) { delete obj; } void py_set_variant(QStyleHintReturnVariant* theWrappedObject, QVariant variant){ theWrappedObject->variant = variant; } QVariant py_get_variant(QStyleHintReturnVariant* theWrappedObject){ return theWrappedObject->variant; } }; @@ -1854,7 +1854,7 @@ class PythonQtWrapper_QStyleHints : public QObject { Q_OBJECT public: public slots: -void delete_QStyleHints(QStyleHints* obj) { delete obj; } +void delete_QStyleHints(QStyleHints* obj) { delete obj; } int cursorFlashTime(QStyleHints* theWrappedObject) const; qreal fontSmoothingGamma(QStyleHints* theWrappedObject) const; int keyboardAutoRepeatRate(QStyleHints* theWrappedObject) const; @@ -1895,13 +1895,13 @@ void delete_QStyleHints(QStyleHints* obj) { delete obj; } class PythonQtShell_QStyleOption : public QStyleOption { public: - PythonQtShell_QStyleOption(const QStyleOption& other):QStyleOption(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOption(int version = QStyleOption::Version, int type = SO_Default):QStyleOption(version, type),_wrapper(NULL) {}; + PythonQtShell_QStyleOption(const QStyleOption& other):QStyleOption(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOption(int version = QStyleOption::Version, int type = SO_Default):QStyleOption(version, type),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOption(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOption : public QObject @@ -1917,7 +1917,7 @@ enum StyleOptionVersion{ public slots: QStyleOption* new_QStyleOption(const QStyleOption& other); QStyleOption* new_QStyleOption(int version = QStyleOption::Version, int type = SO_Default); -void delete_QStyleOption(QStyleOption* obj) { delete obj; } +void delete_QStyleOption(QStyleOption* obj) { delete obj; } void initFrom(QStyleOption* theWrappedObject, const QWidget* w); QString py_toString(QStyleOption*); void py_set_direction(QStyleOption* theWrappedObject, Qt::LayoutDirection direction){ theWrappedObject->direction = direction; } @@ -1945,14 +1945,14 @@ int py_get_version(QStyleOption* theWrappedObject){ return theWrappedObject->ve class PythonQtShell_QStyleOptionButton : public QStyleOptionButton { public: - PythonQtShell_QStyleOptionButton():QStyleOptionButton(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionButton(const QStyleOptionButton& other):QStyleOptionButton(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionButton(int version):QStyleOptionButton(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionButton():QStyleOptionButton(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionButton(const QStyleOptionButton& other):QStyleOptionButton(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionButton(int version):QStyleOptionButton(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionButton(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionButton : public QObject @@ -1971,7 +1971,7 @@ public slots: QStyleOptionButton* new_QStyleOptionButton(); QStyleOptionButton* new_QStyleOptionButton(const QStyleOptionButton& other); QStyleOptionButton* new_QStyleOptionButton(int version); -void delete_QStyleOptionButton(QStyleOptionButton* obj) { delete obj; } +void delete_QStyleOptionButton(QStyleOptionButton* obj) { delete obj; } void py_set_features(QStyleOptionButton* theWrappedObject, QStyleOptionButton::ButtonFeatures features){ theWrappedObject->features = features; } QStyleOptionButton::ButtonFeatures py_get_features(QStyleOptionButton* theWrappedObject){ return theWrappedObject->features; } void py_set_icon(QStyleOptionButton* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } @@ -1989,14 +1989,14 @@ QString py_get_text(QStyleOptionButton* theWrappedObject){ return theWrappedObj class PythonQtShell_QStyleOptionComboBox : public QStyleOptionComboBox { public: - PythonQtShell_QStyleOptionComboBox():QStyleOptionComboBox(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionComboBox(const QStyleOptionComboBox& other):QStyleOptionComboBox(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionComboBox(int version):QStyleOptionComboBox(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionComboBox():QStyleOptionComboBox(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionComboBox(const QStyleOptionComboBox& other):QStyleOptionComboBox(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionComboBox(int version):QStyleOptionComboBox(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionComboBox(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionComboBox : public QObject @@ -2011,7 +2011,7 @@ public slots: QStyleOptionComboBox* new_QStyleOptionComboBox(); QStyleOptionComboBox* new_QStyleOptionComboBox(const QStyleOptionComboBox& other); QStyleOptionComboBox* new_QStyleOptionComboBox(int version); -void delete_QStyleOptionComboBox(QStyleOptionComboBox* obj) { delete obj; } +void delete_QStyleOptionComboBox(QStyleOptionComboBox* obj) { delete obj; } void py_set_currentIcon(QStyleOptionComboBox* theWrappedObject, QIcon currentIcon){ theWrappedObject->currentIcon = currentIcon; } QIcon py_get_currentIcon(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->currentIcon; } void py_set_currentText(QStyleOptionComboBox* theWrappedObject, QString currentText){ theWrappedObject->currentText = currentText; } @@ -2033,14 +2033,14 @@ QRect py_get_popupRect(QStyleOptionComboBox* theWrappedObject){ return theWrapp class PythonQtShell_QStyleOptionDockWidget : public QStyleOptionDockWidget { public: - PythonQtShell_QStyleOptionDockWidget():QStyleOptionDockWidget(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionDockWidget(const QStyleOptionDockWidget& other):QStyleOptionDockWidget(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionDockWidget(int version):QStyleOptionDockWidget(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionDockWidget():QStyleOptionDockWidget(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionDockWidget(const QStyleOptionDockWidget& other):QStyleOptionDockWidget(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionDockWidget(int version):QStyleOptionDockWidget(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionDockWidget(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionDockWidget : public QObject @@ -2055,7 +2055,7 @@ public slots: QStyleOptionDockWidget* new_QStyleOptionDockWidget(); QStyleOptionDockWidget* new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other); QStyleOptionDockWidget* new_QStyleOptionDockWidget(int version); -void delete_QStyleOptionDockWidget(QStyleOptionDockWidget* obj) { delete obj; } +void delete_QStyleOptionDockWidget(QStyleOptionDockWidget* obj) { delete obj; } void py_set_closable(QStyleOptionDockWidget* theWrappedObject, bool closable){ theWrappedObject->closable = closable; } bool py_get_closable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->closable; } void py_set_floatable(QStyleOptionDockWidget* theWrappedObject, bool floatable){ theWrappedObject->floatable = floatable; } @@ -2075,12 +2075,12 @@ bool py_get_verticalTitleBar(QStyleOptionDockWidget* theWrappedObject){ return class PythonQtShell_QStyleOptionDockWidgetV2 : public QStyleOptionDockWidgetV2 { public: - PythonQtShell_QStyleOptionDockWidgetV2():QStyleOptionDockWidgetV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionDockWidgetV2():QStyleOptionDockWidgetV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionDockWidgetV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionDockWidgetV2 : public QObject @@ -2092,7 +2092,7 @@ QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(const QStyleOptionDockWid PythonQtShell_QStyleOptionDockWidgetV2* a = new PythonQtShell_QStyleOptionDockWidgetV2(); *((QStyleOptionDockWidgetV2*)a) = other; return a; } -void delete_QStyleOptionDockWidgetV2(QStyleOptionDockWidgetV2* obj) { delete obj; } +void delete_QStyleOptionDockWidgetV2(QStyleOptionDockWidgetV2* obj) { delete obj; } }; @@ -2102,14 +2102,14 @@ void delete_QStyleOptionDockWidgetV2(QStyleOptionDockWidgetV2* obj) { delete obj class PythonQtShell_QStyleOptionFocusRect : public QStyleOptionFocusRect { public: - PythonQtShell_QStyleOptionFocusRect():QStyleOptionFocusRect(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionFocusRect(const QStyleOptionFocusRect& other):QStyleOptionFocusRect(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionFocusRect(int version):QStyleOptionFocusRect(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFocusRect():QStyleOptionFocusRect(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFocusRect(const QStyleOptionFocusRect& other):QStyleOptionFocusRect(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFocusRect(int version):QStyleOptionFocusRect(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionFocusRect(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionFocusRect : public QObject @@ -2124,7 +2124,7 @@ public slots: QStyleOptionFocusRect* new_QStyleOptionFocusRect(); QStyleOptionFocusRect* new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other); QStyleOptionFocusRect* new_QStyleOptionFocusRect(int version); -void delete_QStyleOptionFocusRect(QStyleOptionFocusRect* obj) { delete obj; } +void delete_QStyleOptionFocusRect(QStyleOptionFocusRect* obj) { delete obj; } void py_set_backgroundColor(QStyleOptionFocusRect* theWrappedObject, QColor backgroundColor){ theWrappedObject->backgroundColor = backgroundColor; } QColor py_get_backgroundColor(QStyleOptionFocusRect* theWrappedObject){ return theWrappedObject->backgroundColor; } }; @@ -2136,14 +2136,14 @@ QColor py_get_backgroundColor(QStyleOptionFocusRect* theWrappedObject){ return class PythonQtShell_QStyleOptionFrame : public QStyleOptionFrame { public: - PythonQtShell_QStyleOptionFrame():QStyleOptionFrame(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionFrame(const QStyleOptionFrame& other):QStyleOptionFrame(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionFrame(int version):QStyleOptionFrame(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFrame():QStyleOptionFrame(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFrame(const QStyleOptionFrame& other):QStyleOptionFrame(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFrame(int version):QStyleOptionFrame(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionFrame(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionFrame : public QObject @@ -2162,7 +2162,7 @@ public slots: QStyleOptionFrame* new_QStyleOptionFrame(); QStyleOptionFrame* new_QStyleOptionFrame(const QStyleOptionFrame& other); QStyleOptionFrame* new_QStyleOptionFrame(int version); -void delete_QStyleOptionFrame(QStyleOptionFrame* obj) { delete obj; } +void delete_QStyleOptionFrame(QStyleOptionFrame* obj) { delete obj; } void py_set_features(QStyleOptionFrame* theWrappedObject, QStyleOptionFrame::FrameFeatures features){ theWrappedObject->features = features; } QStyleOptionFrame::FrameFeatures py_get_features(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->features; } void py_set_frameShape(QStyleOptionFrame* theWrappedObject, QFrame::Shape frameShape){ theWrappedObject->frameShape = frameShape; } @@ -2180,12 +2180,12 @@ int py_get_midLineWidth(QStyleOptionFrame* theWrappedObject){ return theWrapped class PythonQtShell_QStyleOptionFrameV2 : public QStyleOptionFrameV2 { public: - PythonQtShell_QStyleOptionFrameV2():QStyleOptionFrameV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFrameV2():QStyleOptionFrameV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionFrameV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionFrameV2 : public QObject @@ -2197,7 +2197,7 @@ QStyleOptionFrameV2* new_QStyleOptionFrameV2(const QStyleOptionFrameV2& other) { PythonQtShell_QStyleOptionFrameV2* a = new PythonQtShell_QStyleOptionFrameV2(); *((QStyleOptionFrameV2*)a) = other; return a; } -void delete_QStyleOptionFrameV2(QStyleOptionFrameV2* obj) { delete obj; } +void delete_QStyleOptionFrameV2(QStyleOptionFrameV2* obj) { delete 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..c1a6c47b2 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 @@ -40,6 +40,7 @@ #include #include #include +#include #include #include #include @@ -523,9 +524,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -545,20 +546,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStyle*" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QStyle* returnValue; - void* args[2] = {NULL, (void*)&key0}; + QStyle* returnValue{}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((QStyle**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -566,7 +567,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QStylePlugin::customEvent(QEvent* event0) { @@ -578,9 +579,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -600,20 +601,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -633,20 +634,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -666,9 +667,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -716,9 +717,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -738,20 +739,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QWidget* returnValue; - void* args[4] = {NULL, (void*)&parent0, (void*)&option1, (void*)&index2}; + QWidget* returnValue{}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -771,9 +772,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -793,9 +794,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -815,20 +816,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QVariant&" , "const QLocale&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&value0, (void*)&locale1}; + QString returnValue{}; + void* args[3] = {nullptr, (void*)&value0, (void*)&locale1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("displayText", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -848,20 +849,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -881,20 +882,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -914,20 +915,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -947,20 +948,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -980,9 +981,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QStyleOptionViewItem*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1002,9 +1003,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1024,20 +1025,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVector"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVector returnValue; - void* args[1] = {NULL}; + QVector returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); } else { returnValue = *((QVector*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1057,9 +1058,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1079,9 +1080,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&model1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&editor0, (void*)&model1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1101,20 +1102,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSize returnValue; - void* args[3] = {NULL, (void*)&option0, (void*)&index1}; + QSize returnValue{}; + void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1134,9 +1135,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1156,9 +1157,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&editor0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui9.h b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui9.h index 825c40238..41e534847 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui9.h +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui9.h @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include @@ -48,12 +49,12 @@ class PythonQtShell_QStyleOptionFrameV3 : public QStyleOptionFrameV3 { public: - PythonQtShell_QStyleOptionFrameV3():QStyleOptionFrameV3(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFrameV3():QStyleOptionFrameV3(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionFrameV3(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionFrameV3 : public QObject @@ -65,7 +66,7 @@ QStyleOptionFrameV3* new_QStyleOptionFrameV3(const QStyleOptionFrameV3& other) { PythonQtShell_QStyleOptionFrameV3* a = new PythonQtShell_QStyleOptionFrameV3(); *((QStyleOptionFrameV3*)a) = other; return a; } -void delete_QStyleOptionFrameV3(QStyleOptionFrameV3* obj) { delete obj; } +void delete_QStyleOptionFrameV3(QStyleOptionFrameV3* obj) { delete obj; } }; @@ -75,14 +76,14 @@ void delete_QStyleOptionFrameV3(QStyleOptionFrameV3* obj) { delete obj; } class PythonQtShell_QStyleOptionGraphicsItem : public QStyleOptionGraphicsItem { public: - PythonQtShell_QStyleOptionGraphicsItem():QStyleOptionGraphicsItem(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other):QStyleOptionGraphicsItem(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionGraphicsItem(int version):QStyleOptionGraphicsItem(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionGraphicsItem():QStyleOptionGraphicsItem(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other):QStyleOptionGraphicsItem(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionGraphicsItem(int version):QStyleOptionGraphicsItem(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionGraphicsItem(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionGraphicsItem : public QObject @@ -97,7 +98,7 @@ public slots: QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(); QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other); QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(int version); -void delete_QStyleOptionGraphicsItem(QStyleOptionGraphicsItem* obj) { delete obj; } +void delete_QStyleOptionGraphicsItem(QStyleOptionGraphicsItem* obj) { delete obj; } qreal static_QStyleOptionGraphicsItem_levelOfDetailFromTransform(const QTransform& worldTransform); void py_set_exposedRect(QStyleOptionGraphicsItem* theWrappedObject, QRectF exposedRect){ theWrappedObject->exposedRect = exposedRect; } QRectF py_get_exposedRect(QStyleOptionGraphicsItem* theWrappedObject){ return theWrappedObject->exposedRect; } @@ -114,14 +115,14 @@ QMatrix py_get_matrix(QStyleOptionGraphicsItem* theWrappedObject){ return theWr class PythonQtShell_QStyleOptionGroupBox : public QStyleOptionGroupBox { public: - PythonQtShell_QStyleOptionGroupBox():QStyleOptionGroupBox(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionGroupBox(const QStyleOptionGroupBox& other):QStyleOptionGroupBox(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionGroupBox(int version):QStyleOptionGroupBox(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionGroupBox():QStyleOptionGroupBox(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionGroupBox(const QStyleOptionGroupBox& other):QStyleOptionGroupBox(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionGroupBox(int version):QStyleOptionGroupBox(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionGroupBox(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionGroupBox : public QObject @@ -136,7 +137,7 @@ public slots: QStyleOptionGroupBox* new_QStyleOptionGroupBox(); QStyleOptionGroupBox* new_QStyleOptionGroupBox(const QStyleOptionGroupBox& other); QStyleOptionGroupBox* new_QStyleOptionGroupBox(int version); -void delete_QStyleOptionGroupBox(QStyleOptionGroupBox* obj) { delete obj; } +void delete_QStyleOptionGroupBox(QStyleOptionGroupBox* obj) { delete obj; } void py_set_features(QStyleOptionGroupBox* theWrappedObject, QStyleOptionFrame::FrameFeatures features){ theWrappedObject->features = features; } QStyleOptionFrame::FrameFeatures py_get_features(QStyleOptionGroupBox* theWrappedObject){ return theWrappedObject->features; } void py_set_lineWidth(QStyleOptionGroupBox* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } @@ -158,14 +159,14 @@ QColor py_get_textColor(QStyleOptionGroupBox* theWrappedObject){ return theWrap class PythonQtShell_QStyleOptionHeader : public QStyleOptionHeader { public: - PythonQtShell_QStyleOptionHeader():QStyleOptionHeader(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionHeader(const QStyleOptionHeader& other):QStyleOptionHeader(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionHeader(int version):QStyleOptionHeader(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionHeader():QStyleOptionHeader(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionHeader(const QStyleOptionHeader& other):QStyleOptionHeader(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionHeader(int version):QStyleOptionHeader(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionHeader(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionHeader : public QObject @@ -186,7 +187,7 @@ public slots: QStyleOptionHeader* new_QStyleOptionHeader(); QStyleOptionHeader* new_QStyleOptionHeader(const QStyleOptionHeader& other); QStyleOptionHeader* new_QStyleOptionHeader(int version); -void delete_QStyleOptionHeader(QStyleOptionHeader* obj) { delete obj; } +void delete_QStyleOptionHeader(QStyleOptionHeader* obj) { delete obj; } void py_set_icon(QStyleOptionHeader* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } QIcon py_get_icon(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->icon; } void py_set_iconAlignment(QStyleOptionHeader* theWrappedObject, Qt::Alignment iconAlignment){ theWrappedObject->iconAlignment = iconAlignment; } @@ -213,14 +214,14 @@ Qt::Alignment py_get_textAlignment(QStyleOptionHeader* theWrappedObject){ retur class PythonQtShell_QStyleOptionMenuItem : public QStyleOptionMenuItem { public: - PythonQtShell_QStyleOptionMenuItem():QStyleOptionMenuItem(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionMenuItem(const QStyleOptionMenuItem& other):QStyleOptionMenuItem(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionMenuItem(int version):QStyleOptionMenuItem(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionMenuItem():QStyleOptionMenuItem(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionMenuItem(const QStyleOptionMenuItem& other):QStyleOptionMenuItem(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionMenuItem(int version):QStyleOptionMenuItem(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionMenuItem(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionMenuItem : public QObject @@ -239,7 +240,7 @@ public slots: QStyleOptionMenuItem* new_QStyleOptionMenuItem(); QStyleOptionMenuItem* new_QStyleOptionMenuItem(const QStyleOptionMenuItem& other); QStyleOptionMenuItem* new_QStyleOptionMenuItem(int version); -void delete_QStyleOptionMenuItem(QStyleOptionMenuItem* obj) { delete obj; } +void delete_QStyleOptionMenuItem(QStyleOptionMenuItem* obj) { delete obj; } void py_set_checkType(QStyleOptionMenuItem* theWrappedObject, QStyleOptionMenuItem::CheckType checkType){ theWrappedObject->checkType = checkType; } QStyleOptionMenuItem::CheckType py_get_checkType(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->checkType; } void py_set_checked(QStyleOptionMenuItem* theWrappedObject, bool checked){ theWrappedObject->checked = checked; } @@ -269,14 +270,14 @@ QString py_get_text(QStyleOptionMenuItem* theWrappedObject){ return theWrappedO class PythonQtShell_QStyleOptionProgressBar : public QStyleOptionProgressBar { public: - PythonQtShell_QStyleOptionProgressBar():QStyleOptionProgressBar(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionProgressBar(const QStyleOptionProgressBar& other):QStyleOptionProgressBar(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionProgressBar(int version):QStyleOptionProgressBar(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionProgressBar():QStyleOptionProgressBar(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionProgressBar(const QStyleOptionProgressBar& other):QStyleOptionProgressBar(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionProgressBar(int version):QStyleOptionProgressBar(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionProgressBar(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionProgressBar : public QObject @@ -291,7 +292,7 @@ public slots: QStyleOptionProgressBar* new_QStyleOptionProgressBar(); QStyleOptionProgressBar* new_QStyleOptionProgressBar(const QStyleOptionProgressBar& other); QStyleOptionProgressBar* new_QStyleOptionProgressBar(int version); -void delete_QStyleOptionProgressBar(QStyleOptionProgressBar* obj) { delete obj; } +void delete_QStyleOptionProgressBar(QStyleOptionProgressBar* obj) { delete obj; } void py_set_bottomToTop(QStyleOptionProgressBar* theWrappedObject, bool bottomToTop){ theWrappedObject->bottomToTop = bottomToTop; } bool py_get_bottomToTop(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->bottomToTop; } void py_set_invertedAppearance(QStyleOptionProgressBar* theWrappedObject, bool invertedAppearance){ theWrappedObject->invertedAppearance = invertedAppearance; } @@ -319,12 +320,12 @@ bool py_get_textVisible(QStyleOptionProgressBar* theWrappedObject){ return theW class PythonQtShell_QStyleOptionProgressBarV2 : public QStyleOptionProgressBarV2 { public: - PythonQtShell_QStyleOptionProgressBarV2():QStyleOptionProgressBarV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionProgressBarV2():QStyleOptionProgressBarV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionProgressBarV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionProgressBarV2 : public QObject @@ -336,7 +337,7 @@ QStyleOptionProgressBarV2* new_QStyleOptionProgressBarV2(const QStyleOptionProgr PythonQtShell_QStyleOptionProgressBarV2* a = new PythonQtShell_QStyleOptionProgressBarV2(); *((QStyleOptionProgressBarV2*)a) = other; return a; } -void delete_QStyleOptionProgressBarV2(QStyleOptionProgressBarV2* obj) { delete obj; } +void delete_QStyleOptionProgressBarV2(QStyleOptionProgressBarV2* obj) { delete obj; } }; @@ -346,14 +347,14 @@ void delete_QStyleOptionProgressBarV2(QStyleOptionProgressBarV2* obj) { delete o class PythonQtShell_QStyleOptionRubberBand : public QStyleOptionRubberBand { public: - PythonQtShell_QStyleOptionRubberBand():QStyleOptionRubberBand(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionRubberBand(const QStyleOptionRubberBand& other):QStyleOptionRubberBand(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionRubberBand(int version):QStyleOptionRubberBand(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionRubberBand():QStyleOptionRubberBand(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionRubberBand(const QStyleOptionRubberBand& other):QStyleOptionRubberBand(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionRubberBand(int version):QStyleOptionRubberBand(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionRubberBand(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionRubberBand : public QObject @@ -368,7 +369,7 @@ public slots: QStyleOptionRubberBand* new_QStyleOptionRubberBand(); QStyleOptionRubberBand* new_QStyleOptionRubberBand(const QStyleOptionRubberBand& other); QStyleOptionRubberBand* new_QStyleOptionRubberBand(int version); -void delete_QStyleOptionRubberBand(QStyleOptionRubberBand* obj) { delete obj; } +void delete_QStyleOptionRubberBand(QStyleOptionRubberBand* obj) { delete obj; } void py_set_opaque(QStyleOptionRubberBand* theWrappedObject, bool opaque){ theWrappedObject->opaque = opaque; } bool py_get_opaque(QStyleOptionRubberBand* theWrappedObject){ return theWrappedObject->opaque; } void py_set_shape(QStyleOptionRubberBand* theWrappedObject, QRubberBand::Shape shape){ theWrappedObject->shape = shape; } @@ -382,14 +383,14 @@ QRubberBand::Shape py_get_shape(QStyleOptionRubberBand* theWrappedObject){ retu class PythonQtShell_QStyleOptionSizeGrip : public QStyleOptionSizeGrip { public: - PythonQtShell_QStyleOptionSizeGrip():QStyleOptionSizeGrip(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other):QStyleOptionSizeGrip(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSizeGrip(int version):QStyleOptionSizeGrip(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionSizeGrip():QStyleOptionSizeGrip(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other):QStyleOptionSizeGrip(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSizeGrip(int version):QStyleOptionSizeGrip(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionSizeGrip(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionSizeGrip : public QObject @@ -404,7 +405,7 @@ public slots: QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(); QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other); QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(int version); -void delete_QStyleOptionSizeGrip(QStyleOptionSizeGrip* obj) { delete obj; } +void delete_QStyleOptionSizeGrip(QStyleOptionSizeGrip* obj) { delete obj; } void py_set_corner(QStyleOptionSizeGrip* theWrappedObject, Qt::Corner corner){ theWrappedObject->corner = corner; } Qt::Corner py_get_corner(QStyleOptionSizeGrip* theWrappedObject){ return theWrappedObject->corner; } }; @@ -416,14 +417,14 @@ Qt::Corner py_get_corner(QStyleOptionSizeGrip* theWrappedObject){ return theWra class PythonQtShell_QStyleOptionSlider : public QStyleOptionSlider { public: - PythonQtShell_QStyleOptionSlider():QStyleOptionSlider(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSlider(const QStyleOptionSlider& other):QStyleOptionSlider(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSlider(int version):QStyleOptionSlider(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionSlider():QStyleOptionSlider(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSlider(const QStyleOptionSlider& other):QStyleOptionSlider(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSlider(int version):QStyleOptionSlider(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionSlider(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionSlider : public QObject @@ -438,7 +439,7 @@ public slots: QStyleOptionSlider* new_QStyleOptionSlider(); QStyleOptionSlider* new_QStyleOptionSlider(const QStyleOptionSlider& other); QStyleOptionSlider* new_QStyleOptionSlider(int version); -void delete_QStyleOptionSlider(QStyleOptionSlider* obj) { delete obj; } +void delete_QStyleOptionSlider(QStyleOptionSlider* obj) { delete obj; } void py_set_dialWrapping(QStyleOptionSlider* theWrappedObject, bool dialWrapping){ theWrappedObject->dialWrapping = dialWrapping; } bool py_get_dialWrapping(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->dialWrapping; } void py_set_maximum(QStyleOptionSlider* theWrappedObject, int maximum){ theWrappedObject->maximum = maximum; } @@ -472,14 +473,14 @@ bool py_get_upsideDown(QStyleOptionSlider* theWrappedObject){ return theWrapped class PythonQtShell_QStyleOptionSpinBox : public QStyleOptionSpinBox { public: - PythonQtShell_QStyleOptionSpinBox():QStyleOptionSpinBox(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSpinBox(const QStyleOptionSpinBox& other):QStyleOptionSpinBox(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSpinBox(int version):QStyleOptionSpinBox(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionSpinBox():QStyleOptionSpinBox(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSpinBox(const QStyleOptionSpinBox& other):QStyleOptionSpinBox(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSpinBox(int version):QStyleOptionSpinBox(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionSpinBox(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionSpinBox : public QObject @@ -494,7 +495,7 @@ public slots: QStyleOptionSpinBox* new_QStyleOptionSpinBox(); QStyleOptionSpinBox* new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other); QStyleOptionSpinBox* new_QStyleOptionSpinBox(int version); -void delete_QStyleOptionSpinBox(QStyleOptionSpinBox* obj) { delete obj; } +void delete_QStyleOptionSpinBox(QStyleOptionSpinBox* obj) { delete obj; } void py_set_buttonSymbols(QStyleOptionSpinBox* theWrappedObject, QAbstractSpinBox::ButtonSymbols buttonSymbols){ theWrappedObject->buttonSymbols = buttonSymbols; } QAbstractSpinBox::ButtonSymbols py_get_buttonSymbols(QStyleOptionSpinBox* theWrappedObject){ return theWrappedObject->buttonSymbols; } void py_set_frame(QStyleOptionSpinBox* theWrappedObject, bool frame){ theWrappedObject->frame = frame; } @@ -510,14 +511,14 @@ QAbstractSpinBox::StepEnabled py_get_stepEnabled(QStyleOptionSpinBox* theWrappe class PythonQtShell_QStyleOptionTab : public QStyleOptionTab { public: - PythonQtShell_QStyleOptionTab():QStyleOptionTab(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTab(const QStyleOptionTab& other):QStyleOptionTab(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTab(int version):QStyleOptionTab(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTab():QStyleOptionTab(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTab(const QStyleOptionTab& other):QStyleOptionTab(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTab(int version):QStyleOptionTab(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTab(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTab : public QObject @@ -543,7 +544,7 @@ public slots: QStyleOptionTab* new_QStyleOptionTab(); QStyleOptionTab* new_QStyleOptionTab(const QStyleOptionTab& other); QStyleOptionTab* new_QStyleOptionTab(int version); -void delete_QStyleOptionTab(QStyleOptionTab* obj) { delete obj; } +void delete_QStyleOptionTab(QStyleOptionTab* obj) { delete obj; } void py_set_cornerWidgets(QStyleOptionTab* theWrappedObject, QStyleOptionTab::CornerWidgets cornerWidgets){ theWrappedObject->cornerWidgets = cornerWidgets; } QStyleOptionTab::CornerWidgets py_get_cornerWidgets(QStyleOptionTab* theWrappedObject){ return theWrappedObject->cornerWidgets; } void py_set_documentMode(QStyleOptionTab* theWrappedObject, bool documentMode){ theWrappedObject->documentMode = documentMode; } @@ -577,14 +578,14 @@ QString py_get_text(QStyleOptionTab* theWrappedObject){ return theWrappedObject class PythonQtShell_QStyleOptionTabBarBase : public QStyleOptionTabBarBase { public: - PythonQtShell_QStyleOptionTabBarBase():QStyleOptionTabBarBase(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other):QStyleOptionTabBarBase(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTabBarBase(int version):QStyleOptionTabBarBase(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabBarBase():QStyleOptionTabBarBase(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other):QStyleOptionTabBarBase(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTabBarBase(int version):QStyleOptionTabBarBase(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabBarBase(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabBarBase : public QObject @@ -599,7 +600,7 @@ public slots: QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(); QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other); QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(int version); -void delete_QStyleOptionTabBarBase(QStyleOptionTabBarBase* obj) { delete obj; } +void delete_QStyleOptionTabBarBase(QStyleOptionTabBarBase* obj) { delete obj; } void py_set_documentMode(QStyleOptionTabBarBase* theWrappedObject, bool documentMode){ theWrappedObject->documentMode = documentMode; } bool py_get_documentMode(QStyleOptionTabBarBase* theWrappedObject){ return theWrappedObject->documentMode; } void py_set_selectedTabRect(QStyleOptionTabBarBase* theWrappedObject, QRect selectedTabRect){ theWrappedObject->selectedTabRect = selectedTabRect; } @@ -617,12 +618,12 @@ QRect py_get_tabBarRect(QStyleOptionTabBarBase* theWrappedObject){ return theWr class PythonQtShell_QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBaseV2 { public: - PythonQtShell_QStyleOptionTabBarBaseV2():QStyleOptionTabBarBaseV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabBarBaseV2():QStyleOptionTabBarBaseV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabBarBaseV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabBarBaseV2 : public QObject @@ -634,7 +635,7 @@ QStyleOptionTabBarBaseV2* new_QStyleOptionTabBarBaseV2(const QStyleOptionTabBarB PythonQtShell_QStyleOptionTabBarBaseV2* a = new PythonQtShell_QStyleOptionTabBarBaseV2(); *((QStyleOptionTabBarBaseV2*)a) = other; return a; } -void delete_QStyleOptionTabBarBaseV2(QStyleOptionTabBarBaseV2* obj) { delete obj; } +void delete_QStyleOptionTabBarBaseV2(QStyleOptionTabBarBaseV2* obj) { delete obj; } }; @@ -644,12 +645,12 @@ void delete_QStyleOptionTabBarBaseV2(QStyleOptionTabBarBaseV2* obj) { delete obj class PythonQtShell_QStyleOptionTabV2 : public QStyleOptionTabV2 { public: - PythonQtShell_QStyleOptionTabV2():QStyleOptionTabV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabV2():QStyleOptionTabV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabV2 : public QObject @@ -661,7 +662,7 @@ QStyleOptionTabV2* new_QStyleOptionTabV2(const QStyleOptionTabV2& other) { PythonQtShell_QStyleOptionTabV2* a = new PythonQtShell_QStyleOptionTabV2(); *((QStyleOptionTabV2*)a) = other; return a; } -void delete_QStyleOptionTabV2(QStyleOptionTabV2* obj) { delete obj; } +void delete_QStyleOptionTabV2(QStyleOptionTabV2* obj) { delete obj; } }; @@ -671,12 +672,12 @@ void delete_QStyleOptionTabV2(QStyleOptionTabV2* obj) { delete obj; } class PythonQtShell_QStyleOptionTabV3 : public QStyleOptionTabV3 { public: - PythonQtShell_QStyleOptionTabV3():QStyleOptionTabV3(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabV3():QStyleOptionTabV3(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabV3(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabV3 : public QObject @@ -688,7 +689,7 @@ QStyleOptionTabV3* new_QStyleOptionTabV3(const QStyleOptionTabV3& other) { PythonQtShell_QStyleOptionTabV3* a = new PythonQtShell_QStyleOptionTabV3(); *((QStyleOptionTabV3*)a) = other; return a; } -void delete_QStyleOptionTabV3(QStyleOptionTabV3* obj) { delete obj; } +void delete_QStyleOptionTabV3(QStyleOptionTabV3* obj) { delete obj; } }; @@ -698,14 +699,14 @@ void delete_QStyleOptionTabV3(QStyleOptionTabV3* obj) { delete obj; } class PythonQtShell_QStyleOptionTabWidgetFrame : public QStyleOptionTabWidgetFrame { public: - PythonQtShell_QStyleOptionTabWidgetFrame():QStyleOptionTabWidgetFrame(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other):QStyleOptionTabWidgetFrame(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTabWidgetFrame(int version):QStyleOptionTabWidgetFrame(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabWidgetFrame():QStyleOptionTabWidgetFrame(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other):QStyleOptionTabWidgetFrame(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTabWidgetFrame(int version):QStyleOptionTabWidgetFrame(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabWidgetFrame(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabWidgetFrame : public QObject @@ -720,7 +721,7 @@ public slots: QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(); QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other); QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(int version); -void delete_QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame* obj) { delete obj; } +void delete_QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame* obj) { delete obj; } void py_set_leftCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject, QSize leftCornerWidgetSize){ theWrappedObject->leftCornerWidgetSize = leftCornerWidgetSize; } QSize py_get_leftCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->leftCornerWidgetSize; } void py_set_lineWidth(QStyleOptionTabWidgetFrame* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } @@ -746,12 +747,12 @@ QSize py_get_tabBarSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return t class PythonQtShell_QStyleOptionTabWidgetFrameV2 : public QStyleOptionTabWidgetFrameV2 { public: - PythonQtShell_QStyleOptionTabWidgetFrameV2():QStyleOptionTabWidgetFrameV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabWidgetFrameV2():QStyleOptionTabWidgetFrameV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabWidgetFrameV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabWidgetFrameV2 : public QObject @@ -763,7 +764,7 @@ QStyleOptionTabWidgetFrameV2* new_QStyleOptionTabWidgetFrameV2(const QStyleOptio PythonQtShell_QStyleOptionTabWidgetFrameV2* a = new PythonQtShell_QStyleOptionTabWidgetFrameV2(); *((QStyleOptionTabWidgetFrameV2*)a) = other; return a; } -void delete_QStyleOptionTabWidgetFrameV2(QStyleOptionTabWidgetFrameV2* obj) { delete obj; } +void delete_QStyleOptionTabWidgetFrameV2(QStyleOptionTabWidgetFrameV2* obj) { delete obj; } }; @@ -773,14 +774,14 @@ void delete_QStyleOptionTabWidgetFrameV2(QStyleOptionTabWidgetFrameV2* obj) { de class PythonQtShell_QStyleOptionTitleBar : public QStyleOptionTitleBar { public: - PythonQtShell_QStyleOptionTitleBar():QStyleOptionTitleBar(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTitleBar(const QStyleOptionTitleBar& other):QStyleOptionTitleBar(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTitleBar(int version):QStyleOptionTitleBar(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTitleBar():QStyleOptionTitleBar(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTitleBar(const QStyleOptionTitleBar& other):QStyleOptionTitleBar(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTitleBar(int version):QStyleOptionTitleBar(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTitleBar(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTitleBar : public QObject @@ -795,7 +796,7 @@ public slots: QStyleOptionTitleBar* new_QStyleOptionTitleBar(); QStyleOptionTitleBar* new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other); QStyleOptionTitleBar* new_QStyleOptionTitleBar(int version); -void delete_QStyleOptionTitleBar(QStyleOptionTitleBar* obj) { delete obj; } +void delete_QStyleOptionTitleBar(QStyleOptionTitleBar* obj) { delete obj; } void py_set_icon(QStyleOptionTitleBar* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } QIcon py_get_icon(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->icon; } void py_set_text(QStyleOptionTitleBar* theWrappedObject, QString text){ theWrappedObject->text = text; } @@ -813,14 +814,14 @@ int py_get_titleBarState(QStyleOptionTitleBar* theWrappedObject){ return theWra class PythonQtShell_QStyleOptionToolBar : public QStyleOptionToolBar { public: - PythonQtShell_QStyleOptionToolBar():QStyleOptionToolBar(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBar(const QStyleOptionToolBar& other):QStyleOptionToolBar(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBar(int version):QStyleOptionToolBar(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolBar():QStyleOptionToolBar(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBar(const QStyleOptionToolBar& other):QStyleOptionToolBar(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBar(int version):QStyleOptionToolBar(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionToolBar(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionToolBar : public QObject @@ -841,7 +842,7 @@ public slots: QStyleOptionToolBar* new_QStyleOptionToolBar(); QStyleOptionToolBar* new_QStyleOptionToolBar(const QStyleOptionToolBar& other); QStyleOptionToolBar* new_QStyleOptionToolBar(int version); -void delete_QStyleOptionToolBar(QStyleOptionToolBar* obj) { delete obj; } +void delete_QStyleOptionToolBar(QStyleOptionToolBar* obj) { delete obj; } void py_set_features(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarFeatures features){ theWrappedObject->features = features; } QStyleOptionToolBar::ToolBarFeatures py_get_features(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->features; } void py_set_lineWidth(QStyleOptionToolBar* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } @@ -863,14 +864,14 @@ Qt::ToolBarArea py_get_toolBarArea(QStyleOptionToolBar* theWrappedObject){ retu class PythonQtShell_QStyleOptionToolBox : public QStyleOptionToolBox { public: - PythonQtShell_QStyleOptionToolBox():QStyleOptionToolBox(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBox(const QStyleOptionToolBox& other):QStyleOptionToolBox(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBox(int version):QStyleOptionToolBox(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolBox():QStyleOptionToolBox(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBox(const QStyleOptionToolBox& other):QStyleOptionToolBox(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBox(int version):QStyleOptionToolBox(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionToolBox(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionToolBox : public QObject @@ -889,7 +890,7 @@ public slots: QStyleOptionToolBox* new_QStyleOptionToolBox(); QStyleOptionToolBox* new_QStyleOptionToolBox(const QStyleOptionToolBox& other); QStyleOptionToolBox* new_QStyleOptionToolBox(int version); -void delete_QStyleOptionToolBox(QStyleOptionToolBox* obj) { delete obj; } +void delete_QStyleOptionToolBox(QStyleOptionToolBox* obj) { delete obj; } void py_set_icon(QStyleOptionToolBox* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } QIcon py_get_icon(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->icon; } void py_set_position(QStyleOptionToolBox* theWrappedObject, QStyleOptionToolBox::TabPosition position){ theWrappedObject->position = position; } @@ -907,12 +908,12 @@ QString py_get_text(QStyleOptionToolBox* theWrappedObject){ return theWrappedOb class PythonQtShell_QStyleOptionToolBoxV2 : public QStyleOptionToolBoxV2 { public: - PythonQtShell_QStyleOptionToolBoxV2():QStyleOptionToolBoxV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolBoxV2():QStyleOptionToolBoxV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionToolBoxV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionToolBoxV2 : public QObject @@ -924,7 +925,7 @@ QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2& ot PythonQtShell_QStyleOptionToolBoxV2* a = new PythonQtShell_QStyleOptionToolBoxV2(); *((QStyleOptionToolBoxV2*)a) = other; return a; } -void delete_QStyleOptionToolBoxV2(QStyleOptionToolBoxV2* obj) { delete obj; } +void delete_QStyleOptionToolBoxV2(QStyleOptionToolBoxV2* obj) { delete obj; } }; @@ -934,14 +935,14 @@ void delete_QStyleOptionToolBoxV2(QStyleOptionToolBoxV2* obj) { delete obj; } class PythonQtShell_QStyleOptionToolButton : public QStyleOptionToolButton { public: - PythonQtShell_QStyleOptionToolButton():QStyleOptionToolButton(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolButton(const QStyleOptionToolButton& other):QStyleOptionToolButton(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolButton(int version):QStyleOptionToolButton(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolButton():QStyleOptionToolButton(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolButton(const QStyleOptionToolButton& other):QStyleOptionToolButton(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolButton(int version):QStyleOptionToolButton(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionToolButton(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionToolButton : public QObject @@ -960,7 +961,7 @@ public slots: QStyleOptionToolButton* new_QStyleOptionToolButton(); QStyleOptionToolButton* new_QStyleOptionToolButton(const QStyleOptionToolButton& other); QStyleOptionToolButton* new_QStyleOptionToolButton(int version); -void delete_QStyleOptionToolButton(QStyleOptionToolButton* obj) { delete obj; } +void delete_QStyleOptionToolButton(QStyleOptionToolButton* obj) { delete obj; } void py_set_arrowType(QStyleOptionToolButton* theWrappedObject, Qt::ArrowType arrowType){ theWrappedObject->arrowType = arrowType; } Qt::ArrowType py_get_arrowType(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->arrowType; } void py_set_features(QStyleOptionToolButton* theWrappedObject, QStyleOptionToolButton::ToolButtonFeatures features){ theWrappedObject->features = features; } @@ -986,14 +987,14 @@ Qt::ToolButtonStyle py_get_toolButtonStyle(QStyleOptionToolButton* theWrappedOb class PythonQtShell_QStyleOptionViewItem : public QStyleOptionViewItem { public: - PythonQtShell_QStyleOptionViewItem():QStyleOptionViewItem(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionViewItem(const QStyleOptionViewItem& other):QStyleOptionViewItem(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionViewItem(int version):QStyleOptionViewItem(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItem():QStyleOptionViewItem(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionViewItem(const QStyleOptionViewItem& other):QStyleOptionViewItem(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionViewItem(int version):QStyleOptionViewItem(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionViewItem(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionViewItem : public QObject @@ -1016,7 +1017,7 @@ public slots: QStyleOptionViewItem* new_QStyleOptionViewItem(); QStyleOptionViewItem* new_QStyleOptionViewItem(const QStyleOptionViewItem& other); QStyleOptionViewItem* new_QStyleOptionViewItem(int version); -void delete_QStyleOptionViewItem(QStyleOptionViewItem* obj) { delete obj; } +void delete_QStyleOptionViewItem(QStyleOptionViewItem* obj) { delete obj; } void py_set_backgroundBrush(QStyleOptionViewItem* theWrappedObject, QBrush backgroundBrush){ theWrappedObject->backgroundBrush = backgroundBrush; } QBrush py_get_backgroundBrush(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->backgroundBrush; } void py_set_checkState(QStyleOptionViewItem* theWrappedObject, Qt::CheckState checkState){ theWrappedObject->checkState = checkState; } @@ -1057,12 +1058,12 @@ const QWidget* py_get_widget(QStyleOptionViewItem* theWrappedObject){ return th class PythonQtShell_QStyleOptionViewItemV2 : public QStyleOptionViewItemV2 { public: - PythonQtShell_QStyleOptionViewItemV2():QStyleOptionViewItemV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItemV2():QStyleOptionViewItemV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionViewItemV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionViewItemV2 : public QObject @@ -1074,7 +1075,7 @@ QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(const QStyleOptionViewItemV2& PythonQtShell_QStyleOptionViewItemV2* a = new PythonQtShell_QStyleOptionViewItemV2(); *((QStyleOptionViewItemV2*)a) = other; return a; } -void delete_QStyleOptionViewItemV2(QStyleOptionViewItemV2* obj) { delete obj; } +void delete_QStyleOptionViewItemV2(QStyleOptionViewItemV2* obj) { delete obj; } }; @@ -1084,12 +1085,12 @@ void delete_QStyleOptionViewItemV2(QStyleOptionViewItemV2* obj) { delete obj; } class PythonQtShell_QStyleOptionViewItemV3 : public QStyleOptionViewItemV3 { public: - PythonQtShell_QStyleOptionViewItemV3():QStyleOptionViewItemV3(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItemV3():QStyleOptionViewItemV3(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionViewItemV3(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionViewItemV3 : public QObject @@ -1101,7 +1102,7 @@ QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(const QStyleOptionViewItemV3& PythonQtShell_QStyleOptionViewItemV3* a = new PythonQtShell_QStyleOptionViewItemV3(); *((QStyleOptionViewItemV3*)a) = other; return a; } -void delete_QStyleOptionViewItemV3(QStyleOptionViewItemV3* obj) { delete obj; } +void delete_QStyleOptionViewItemV3(QStyleOptionViewItemV3* obj) { delete obj; } }; @@ -1111,12 +1112,12 @@ void delete_QStyleOptionViewItemV3(QStyleOptionViewItemV3* obj) { delete obj; } class PythonQtShell_QStyleOptionViewItemV4 : public QStyleOptionViewItemV4 { public: - PythonQtShell_QStyleOptionViewItemV4():QStyleOptionViewItemV4(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItemV4():QStyleOptionViewItemV4(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionViewItemV4(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionViewItemV4 : public QObject @@ -1128,7 +1129,7 @@ QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(const QStyleOptionViewItemV4& PythonQtShell_QStyleOptionViewItemV4* a = new PythonQtShell_QStyleOptionViewItemV4(); *((QStyleOptionViewItemV4*)a) = other; return a; } -void delete_QStyleOptionViewItemV4(QStyleOptionViewItemV4* obj) { delete obj; } +void delete_QStyleOptionViewItemV4(QStyleOptionViewItemV4* obj) { delete obj; } }; @@ -1142,7 +1143,7 @@ public slots: QStylePainter* new_QStylePainter(); QStylePainter* new_QStylePainter(QPaintDevice* pd, QWidget* w); QStylePainter* new_QStylePainter(QWidget* w); -void delete_QStylePainter(QStylePainter* obj) { delete obj; } +void delete_QStylePainter(QStylePainter* obj) { delete obj; } bool begin(QStylePainter* theWrappedObject, QPaintDevice* pd, QWidget* w); bool begin(QStylePainter* theWrappedObject, QWidget* w); void drawComplexControl(QStylePainter* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex& opt); @@ -1160,20 +1161,20 @@ void delete_QStylePainter(QStylePainter* obj) { delete obj; } class PythonQtShell_QStylePlugin : public QStylePlugin { public: - PythonQtShell_QStylePlugin(QObject* parent = nullptr):QStylePlugin(parent),_wrapper(NULL) {}; + PythonQtShell_QStylePlugin(QObject* parent = nullptr):QStylePlugin(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QStylePlugin(); + ~PythonQtShell_QStylePlugin() override; -virtual void childEvent(QChildEvent* event); -virtual QStyle* create(const QString& key); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +QStyle* create(const QString& key) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStylePlugin : public QStylePlugin @@ -1186,7 +1187,7 @@ class PythonQtWrapper_QStylePlugin : public QObject public: public slots: QStylePlugin* new_QStylePlugin(QObject* parent = nullptr); -void delete_QStylePlugin(QStylePlugin* obj) { delete obj; } +void delete_QStylePlugin(QStylePlugin* obj) { delete obj; } QStyle* create(QStylePlugin* theWrappedObject, const QString& key); QStyle* py_q_create(QStylePlugin* theWrappedObject, const QString& key){ return (((PythonQtPublicPromoter_QStylePlugin*)theWrappedObject)->py_q_create(key));} }; @@ -1198,31 +1199,31 @@ void delete_QStylePlugin(QStylePlugin* obj) { delete obj; } class PythonQtShell_QStyledItemDelegate : public QStyledItemDelegate { public: - PythonQtShell_QStyledItemDelegate(QObject* parent = nullptr):QStyledItemDelegate(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStyledItemDelegate(); - -virtual void childEvent(QChildEvent* event); -virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void customEvent(QEvent* event); -virtual void destroyEditor(QWidget* editor, const QModelIndex& index) const; -virtual QString displayText(const QVariant& value, const QLocale& locale) const; -virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual void initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const; -virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual QVector paintingRoles() const; -virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; -virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; -virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStyledItemDelegate(QObject* parent = nullptr):QStyledItemDelegate(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyledItemDelegate() override; + +void childEvent(QChildEvent* event) override; +QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void customEvent(QEvent* event) override; +void destroyEditor(QWidget* editor, const QModelIndex& index) const override; +QString displayText(const QVariant& value, const QLocale& locale) const override; +bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index) override; +void initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const override; +void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +QVector paintingRoles() const override; +void setEditorData(QWidget* editor, const QModelIndex& index) const override; +void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const override; +QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void timerEvent(QTimerEvent* event) override; +void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStyledItemDelegate : public QStyledItemDelegate @@ -1247,7 +1248,7 @@ class PythonQtWrapper_QStyledItemDelegate : public QObject public: public slots: QStyledItemDelegate* new_QStyledItemDelegate(QObject* parent = nullptr); -void delete_QStyledItemDelegate(QStyledItemDelegate* obj) { delete obj; } +void delete_QStyledItemDelegate(QStyledItemDelegate* obj) { delete obj; } QWidget* py_q_createEditor(QStyledItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_createEditor(parent, option, index));} QString displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const; QString py_q_displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_displayText(value, locale));} diff --git a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp index 9fb01f896..979fb0317 100644 --- a/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp @@ -16,7 +16,7 @@ static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) { - Q_ASSERT(ptr != 0); + Q_ASSERT(ptr != nullptr); QEvent *object = (QEvent *)ptr; if (object->type() == QEvent::ActionAdded || object->type() == QEvent::ActionRemoved || object->type() == QEvent::ActionChanged) { *class_name = "QActionEvent"; @@ -122,7 +122,7 @@ static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) *class_name = "QInputMethodQueryEvent"; return (QInputMethodQueryEvent*)object; } - if (object->type() == QEvent::KeyPress || object->type() == QEvent::KeyRelease) { + if (object->type() == QEvent::KeyPress || object->type() == QEvent::KeyRelease || object->type() == QEvent::ShortcutOverride) { *class_name = "QKeyEvent"; return (QKeyEvent*)object; } @@ -198,11 +198,11 @@ static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) *class_name = "QWindowStateChangeEvent"; return (QWindowStateChangeEvent*)object; } - return NULL; + return nullptr; } static void* polymorphichandler_QGradient(const void *ptr, const char **class_name) { - Q_ASSERT(ptr != 0); + Q_ASSERT(ptr != nullptr); QGradient *object = (QGradient *)ptr; if (object->type() == QGradient::ConicalGradient) { *class_name = "QConicalGradient"; @@ -220,11 +220,11 @@ static void* polymorphichandler_QGradient(const void *ptr, const char **class_na *class_name = "QRadialGradient"; return (QRadialGradient*)object; } - return NULL; + return nullptr; } static void* polymorphichandler_QGraphicsItem(const void *ptr, const char **class_name) { - Q_ASSERT(ptr != 0); + Q_ASSERT(ptr != nullptr); QGraphicsItem *object = (QGraphicsItem *)ptr; if (object->type() == QGraphicsEllipseItem::Type) { *class_name = "QGraphicsEllipseItem"; @@ -266,11 +266,11 @@ static void* polymorphichandler_QGraphicsItem(const void *ptr, const char **clas *class_name = "QGraphicsWidget"; return (QGraphicsWidget*)object; } - return NULL; + return nullptr; } static void* polymorphichandler_QStyleOption(const void *ptr, const char **class_name) { - Q_ASSERT(ptr != 0); + Q_ASSERT(ptr != nullptr); QStyleOption *object = (QStyleOption *)ptr; if (object->type == QStyleOption::SO_Default) { *class_name = "QStyleOption"; @@ -412,7 +412,7 @@ static void* polymorphichandler_QStyleOption(const void *ptr, const char **class *class_name = "QStyleOptionViewItemV4"; return (QStyleOptionViewItemV4*)object; } - return NULL; + return nullptr; } @@ -433,23 +433,23 @@ PythonQt::priv()->registerCPPClass("QAbstractTextDocumentLayout::PaintContext", PythonQt::priv()->registerCPPClass("QAbstractTextDocumentLayout::Selection", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QAccessibleEvent", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAction::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QActionEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QActionEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QActionGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QApplication::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QBackingStore", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QApplication::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QBackingStore", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QButtonGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCalendarWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCheckBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QClipboard::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QCloseEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QClipboard::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QCloseEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QColorDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QColumnView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QComboBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCommandLinkButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCommonStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCompleter::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QConicalGradient", "QGradient", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QConicalGradient", "QGradient", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QContextMenuEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QDataWidgetMapper::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QDateEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -464,8 +464,8 @@ PythonQt::priv()->registerClass(&QDockWidget::staticMetaObject, "QtGui", PythonQ PythonQt::priv()->registerClass(&QDoubleSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QDoubleValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QDrag::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QDragEnterEvent", "QDragMoveEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDragLeaveEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QDragEnterEvent", "QDragMoveEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDragLeaveEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QDragMoveEvent", "QDropEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QDropEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QEnterEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -473,24 +473,24 @@ PythonQt::priv()->registerClass(&QErrorMessage::staticMetaObject, "QtGui", Pytho PythonQt::priv()->registerCPPClass("QExposeEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QFileDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QFileIconProvider", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QFileOpenEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QFileOpenEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QFileSystemModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QFocusEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QFocusEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QFocusFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QFontComboBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QFontDatabase", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QFontDatabase", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QFontDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QFontInfo", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QFontMetrics", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QFontMetricsF", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QFontInfo", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QFontMetrics", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QFontMetricsF", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QFormLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QGestureEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QGestureEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QGestureRecognizer", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QGlyphRun", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QGradient", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QGraphicsAnchor::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QGlyphRun", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QGradient", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QGraphicsAnchor::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QGraphicsAnchorLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsBlurEffect::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsColorizeEffect::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -520,15 +520,15 @@ PythonQt::priv()->registerCPPClass("QGraphicsRectItem", "QAbstractGraphicsShapeI PythonQt::priv()->registerClass(&QGraphicsRotation::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsScale::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsScene::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneContextMenuEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneDragDropEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneHelpEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneHoverEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneMouseEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneMoveEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneResizeEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneWheelEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneContextMenuEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneDragDropEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneHelpEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneHoverEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneMouseEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneMoveEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneResizeEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneWheelEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QGraphicsSimpleTextItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsTextItem::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsTransform::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -537,31 +537,31 @@ PythonQt::priv()->registerClass(&QGraphicsWidget::staticMetaObject, "QtGui", Pyt PythonQt::self()->addParentClass("QGraphicsWidget", "QGraphicsLayoutItem",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QGridLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QGroupBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QGuiApplication::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QGuiApplication::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QHBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QHeaderView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QHelpEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QHideEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QHelpEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QHideEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QHoverEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QIconDragEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QIconDragEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QIconEngine", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QImageIOHandler", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QImageIOPlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QImageReader", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QImageWriter", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QImageReader", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QImageWriter", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QInputDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QInputEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QInputMethod::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QInputMethodEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QInputMethod::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QInputMethodEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QInputMethodEvent::Attribute", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QInputMethodQueryEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QInputMethodQueryEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QIntValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QItemEditorCreatorBase", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QItemEditorFactory", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QItemSelection", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QItemSelection", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QItemSelectionModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QItemSelectionRange", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QItemSelectionRange", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QKeyEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QKeyEventTransition::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QKeySequenceEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -571,13 +571,13 @@ PythonQt::priv()->registerClass(&QLayout::staticMetaObject, "QtGui", PythonQtCre PythonQt::self()->addParentClass("QLayout", "QLayoutItem",PythonQtUpcastingOffset()); PythonQt::priv()->registerCPPClass("QLayoutItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QLineEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QLinearGradient", "QGradient", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QLinearGradient", "QGradient", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QListView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QListWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QListWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMainWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMargins", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QMatrix4x4", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QMargins", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QMatrix4x4", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); PythonQt::priv()->registerClass(&QMdiArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMdiSubWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMenu::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); @@ -590,38 +590,38 @@ PythonQt::priv()->registerClass(&QMovie::staticMetaObject, "QtGui", PythonQtCrea PythonQt::priv()->registerCPPClass("QNativeGestureEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QOffscreenSurface::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::self()->addParentClass("QOffscreenSurface", "QSurface",PythonQtUpcastingOffset()); -PythonQt::priv()->registerCPPClass("QOpenGLBuffer", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QOpenGLBuffer", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QOpenGLContext::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerClass(&QOpenGLContextGroup::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QOpenGLContextGroup::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QOpenGLFramebufferObject", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QOpenGLFramebufferObjectFormat", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QOpenGLFramebufferObjectFormat", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QOpenGLPaintDevice", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QOpenGLPaintDevice", "QPaintDevice",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QOpenGLShader::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QOpenGLShaderProgram::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QOpenGLTexture", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QOpenGLTextureBlitter", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QOpenGLTexture", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QOpenGLTextureBlitter", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QOpenGLTimeMonitor::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QOpenGLTimerQuery::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QOpenGLVersionProfile", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QOpenGLVersionProfile", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QOpenGLVertexArrayObject::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QOpenGLWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QOpenGLWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QPageLayout", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPageLayout", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QPageSetupDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QPageSize", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPageSize", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QPagedPaintDevice", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QPagedPaintDevice", "QPaintDevice",PythonQtUpcastingOffset()); PythonQt::priv()->registerCPPClass("QPagedPaintDevice::Margins", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QPaintDevice", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QPaintDeviceWindow::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QPaintDeviceWindow::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::self()->addParentClass("QPaintDeviceWindow", "QPaintDevice",PythonQtUpcastingOffset()); PythonQt::priv()->registerCPPClass("QPaintEngine", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QPaintEngineState", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QPaintEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QPainter", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QPainterPath", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_And|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QPainterPathStroker", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QPainter", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QPainterPath", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_And|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QPainterPathStroker", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QPainterPath::Element", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QPainter::PixmapFragment", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QPanGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -631,15 +631,15 @@ PythonQt::self()->addParentClass("QPdfWriter", "QPaintDevice",PythonQtUpcastingO PythonQt::priv()->registerCPPClass("QPicture", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::self()->addParentClass("QPicture", "QPaintDevice",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QPictureFormatPlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QPictureIO", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QPictureIO", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QPinchGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QPixelFormat", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QPixelFormat", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QPixmapCache", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QPixmapCache::Key", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPixmapCache::Key", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QPlainTextDocumentLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QPlainTextEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QPlatformSurfaceEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QPolygonF", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPolygonF", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QPrintDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QPrintEngine", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QPrintPreviewDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -647,33 +647,33 @@ PythonQt::priv()->registerClass(&QPrintPreviewWidget::staticMetaObject, "QtGui", PythonQt::priv()->registerCPPClass("QPrinter", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::self()->addParentClass("QPrinter", "QPagedPaintDevice",PythonQtUpcastingOffset()); PythonQt::self()->addParentClass("QPrinter", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerCPPClass("QPrinterInfo", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QPrinterInfo", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QProgressBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QProgressDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QProxyStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QPushButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QQuaternion", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QRadialGradient", "QGradient", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QQuaternion", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QRadialGradient", "QGradient", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QRadioButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QRasterWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QRawFont", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QRawFont", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QRegExpValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QRegularExpressionValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QResizeEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QRgba64", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QRgba64", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QRubberBand::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QScreen::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QScreenOrientationChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QScreen::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QScreenOrientationChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QScrollArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QScrollBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QScrollEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QScrollPrepareEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QScroller::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QScrollEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QScrollPrepareEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QScroller::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QScrollerProperties", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QSessionManager::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QSessionManager::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QShortcut::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QShortcutEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QShowEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QShowEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QSizeGrip::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSlider::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSortFilterProxyModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -687,16 +687,16 @@ PythonQt::priv()->registerClass(&QStackedLayout::staticMetaObject, "QtGui", Pyth PythonQt::priv()->registerClass(&QStackedWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStandardItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QStandardItemModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStaticText", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QStaticText", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QStatusBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStatusTipEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QStatusTipEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QStringListModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QStyle::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QStyle::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QStyleFactory", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleHintReturn", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleHintReturnMask", "QStyleHintReturn", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleHintReturnVariant", "QStyleHintReturn", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QStyleHints::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QStyleHints::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QStyleOption", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionButton", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionComboBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -732,11 +732,11 @@ PythonQt::priv()->registerCPPClass("QStyleOptionViewItem", "QStyleOption", "QtGu PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV2", "QStyleOptionViewItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV3", "QStyleOptionViewItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV4", "QStyleOptionViewItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStylePainter", "QPainter", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QStylePainter", "QPainter", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QStylePlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QStyledItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QSurface", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSurfaceFormat", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSurfaceFormat", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QSwipeGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSyntaxHighlighter::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSystemTrayIcon::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -745,51 +745,51 @@ PythonQt::priv()->registerClass(&QTabWidget::staticMetaObject, "QtGui", PythonQt PythonQt::priv()->registerClass(&QTableView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTableWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTableWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTableWidgetSelectionRange", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTableWidgetSelectionRange", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QTabletEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTapAndHoldGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTapGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextBlock", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextBlock", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QTextBlockFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QTextBlockGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTextBlockUserData", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTextBrowser::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTextCharFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTextCursor", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextCursor", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QTextDocument::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QTextDocumentFragment", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QTextDocumentWriter", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextDocumentFragment", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QTextDocumentWriter", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QTextEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTextEdit::ExtraSelection", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextFragment", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextFragment", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QTextFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTextFrameFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QTextImageFormat", "QTextCharFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTextInlineObject", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QTextInlineObject", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QTextItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextLayout", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextLayout", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QTextLayout::FormatRange", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextLine", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QTextLine", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QTextList::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QTextListFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QTextObject::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextOption", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextOption", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QTextOption::Tab", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QTextTable::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextTableCell", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextTableCell", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QTextTableCellFormat", "QTextCharFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QTextTableFormat", "QTextFrameFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QTileRules", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTimeEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QToolBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QToolBarChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QToolBarChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QToolBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QToolButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QToolTip", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QTouchDevice", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QToolTip", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QTouchDevice", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QTouchEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTouchEvent::TouchPoint", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QTransform", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QTouchEvent::TouchPoint", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QTransform", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); PythonQt::priv()->registerClass(&QTreeView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTreeWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTreeWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); @@ -799,11 +799,11 @@ PythonQt::priv()->registerClass(&QUndoStack::staticMetaObject, "QtGui", PythonQt PythonQt::priv()->registerClass(&QUndoView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QVBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QVector2D", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QVector3D", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QVector4D", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QWhatsThis", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QWhatsThisClickedEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QVector2D", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QVector3D", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QVector4D", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QWhatsThis", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QWhatsThisClickedEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QWheelEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QWidget", "QPaintDevice",PythonQtUpcastingOffset()); @@ -812,7 +812,7 @@ PythonQt::priv()->registerCPPClass("QWidgetItem", "", "QtGui", PythonQtCreateObj PythonQt::self()->addParentClass("QWidgetItem", "QLayoutItem",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QWindow", "QSurface",PythonQtUpcastingOffset()); -PythonQt::priv()->registerCPPClass("QWindowStateChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QWindowStateChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QWizard::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QWizardPage::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); 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..bffa636f1 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 @@ -62,20 +62,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -85,6 +85,28 @@ if (_wrapper) { } return QBitmap::devType(); } +void PythonQtShell_QBitmap::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QBitmap::initPainter(painter0); +} int PythonQtShell_QBitmap::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { @@ -95,20 +117,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -128,20 +150,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -151,6 +173,72 @@ if (_wrapper) { } return QBitmap::paintEngine(); } +QPaintDevice* PythonQtShell_QBitmap::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBitmap::redirected(offset0); +} +QPainter* PythonQtShell_QBitmap::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBitmap::sharedPainter(); +} QBitmap* PythonQtWrapper_QBitmap::new_QBitmap() { return new PythonQtShell_QBitmap(); } @@ -868,6 +956,11 @@ const QBitmap* PythonQtWrapper_QCursor::mask(QCursor* theWrappedObject) const return ( theWrappedObject->mask()); } +bool PythonQtWrapper_QCursor::__ne__(QCursor* theWrappedObject, const QCursor& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + void PythonQtWrapper_QCursor::writeTo(QCursor* theWrappedObject, QDataStream& outS) { outS << (*theWrappedObject); @@ -1509,20 +1602,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1542,9 +1635,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1564,20 +1657,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&metric0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1597,20 +1690,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1630,20 +1723,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1663,20 +1756,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2880,20 +2973,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2913,9 +3006,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2935,20 +3028,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2968,20 +3061,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3001,20 +3094,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3034,20 +3127,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_511/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h b/generated_cpp_511/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h index 092089661..d42930235 100644 --- a/generated_cpp_511/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h +++ b/generated_cpp_511/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h @@ -51,20 +51,23 @@ class PythonQtShell_QBitmap : public QBitmap { public: - PythonQtShell_QBitmap():QBitmap(),_wrapper(NULL) {}; - PythonQtShell_QBitmap(const QBitmap& other):QBitmap(other),_wrapper(NULL) {}; - PythonQtShell_QBitmap(const QPixmap& arg__1):QBitmap(arg__1),_wrapper(NULL) {}; - PythonQtShell_QBitmap(const QSize& arg__1):QBitmap(arg__1),_wrapper(NULL) {}; - PythonQtShell_QBitmap(const QString& fileName, const char* format = nullptr):QBitmap(fileName, format),_wrapper(NULL) {}; - PythonQtShell_QBitmap(int w, int h):QBitmap(w, h),_wrapper(NULL) {}; - - ~PythonQtShell_QBitmap(); - -virtual int devType() const; -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QPaintEngine* paintEngine() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QBitmap():QBitmap(),_wrapper(nullptr) {}; + PythonQtShell_QBitmap(const QBitmap& other):QBitmap(other),_wrapper(nullptr) {}; + PythonQtShell_QBitmap(const QPixmap& arg__1):QBitmap(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QBitmap(const QSize& arg__1):QBitmap(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QBitmap(const QString& fileName, const char* format = nullptr):QBitmap(fileName, format),_wrapper(nullptr) {}; + PythonQtShell_QBitmap(int w, int h):QBitmap(w, h),_wrapper(nullptr) {}; + + ~PythonQtShell_QBitmap() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QBitmap : public QObject @@ -77,7 +80,7 @@ QBitmap* new_QBitmap(const QPixmap& arg__1); QBitmap* new_QBitmap(const QSize& arg__1); QBitmap* new_QBitmap(const QString& fileName, const char* format = nullptr); QBitmap* new_QBitmap(int w, int h); -void delete_QBitmap(QBitmap* obj) { delete obj; } +void delete_QBitmap(QBitmap* obj) { delete obj; } void clear(QBitmap* theWrappedObject); QBitmap static_QBitmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor); QBitmap* operator_assign(QBitmap* theWrappedObject, const QBitmap& other); @@ -104,7 +107,7 @@ QBrush* new_QBrush(const QColor& color, const QPixmap& pixmap); QBrush* new_QBrush(const QGradient& gradient); QBrush* new_QBrush(const QImage& image); QBrush* new_QBrush(const QPixmap& pixmap); -void delete_QBrush(QBrush* obj) { delete obj; } +void delete_QBrush(QBrush* obj) { delete obj; } const QColor* color(QBrush* theWrappedObject) const; const QGradient* gradient(QBrush* theWrappedObject) const; bool isOpaque(QBrush* theWrappedObject) const; @@ -149,7 +152,7 @@ QColor* new_QColor(const QColor& color); QColor* new_QColor(const QString& name); QColor* new_QColor(int r, int g, int b, int a = 255); QColor* new_QColor(unsigned int rgb); -void delete_QColor(QColor* obj) { delete obj; } +void delete_QColor(QColor* obj) { delete obj; } int alpha(QColor* theWrappedObject) const; qreal alphaF(QColor* theWrappedObject) const; int black(QColor* theWrappedObject) const; @@ -255,10 +258,11 @@ QCursor* new_QCursor(Qt::CursorShape shape); QCursor* new_QCursor(const QBitmap& bitmap, const QBitmap& mask, int hotX = -1, int hotY = -1); QCursor* new_QCursor(const QCursor& cursor); QCursor* new_QCursor(const QPixmap& pixmap, int hotX = -1, int hotY = -1); -void delete_QCursor(QCursor* obj) { delete obj; } +void delete_QCursor(QCursor* obj) { delete obj; } const QBitmap* bitmap(QCursor* theWrappedObject) const; QPoint hotSpot(QCursor* theWrappedObject) const; const QBitmap* mask(QCursor* theWrappedObject) const; + bool __ne__(QCursor* theWrappedObject, const QCursor& rhs); void writeTo(QCursor* theWrappedObject, QDataStream& outS); bool __eq__(QCursor* theWrappedObject, const QCursor& rhs); void readFrom(QCursor* theWrappedObject, QDataStream& inS); @@ -304,7 +308,7 @@ QFont* new_QFont(); QFont* new_QFont(const QFont& arg__1); QFont* new_QFont(const QFont& arg__1, QPaintDevice* pd); QFont* new_QFont(const QString& family, int pointSize = -1, int weight = -1, bool italic = false); -void delete_QFont(QFont* obj) { delete obj; } +void delete_QFont(QFont* obj) { delete obj; } bool bold(QFont* theWrappedObject) const; void static_QFont_cacheStatistics(); QFont::Capitalization capitalization(QFont* theWrappedObject) const; @@ -399,7 +403,7 @@ QIcon* new_QIcon(PythonQtPassOwnershipToCPP engine); QIcon* new_QIcon(const QIcon& other); QIcon* new_QIcon(const QPixmap& pixmap); QIcon* new_QIcon(const QString& fileName); -void delete_QIcon(QIcon* obj) { delete obj; } +void delete_QIcon(QIcon* obj) { delete obj; } QSize actualSize(QIcon* theWrappedObject, QWindow* window, const QSize& size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; QSize actualSize(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; void addFile(QIcon* theWrappedObject, const QString& fileName, const QSize& size = QSize(), QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off); @@ -439,22 +443,22 @@ void delete_QIcon(QIcon* obj) { delete obj; } class PythonQtShell_QImage : public QImage { public: - PythonQtShell_QImage():QImage(),_wrapper(NULL) {}; - PythonQtShell_QImage(const QImage& arg__1):QImage(arg__1),_wrapper(NULL) {}; - PythonQtShell_QImage(const QSize& size, QImage::Format format):QImage(size, format),_wrapper(NULL) {}; - PythonQtShell_QImage(const QString& fileName, const char* format = nullptr):QImage(fileName, format),_wrapper(NULL) {}; - PythonQtShell_QImage(int width, int height, QImage::Format format):QImage(width, height, format),_wrapper(NULL) {}; - - ~PythonQtShell_QImage(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QImage():QImage(),_wrapper(nullptr) {}; + PythonQtShell_QImage(const QImage& arg__1):QImage(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QImage(const QSize& size, QImage::Format format):QImage(size, format),_wrapper(nullptr) {}; + PythonQtShell_QImage(const QString& fileName, const char* format = nullptr):QImage(fileName, format),_wrapper(nullptr) {}; + PythonQtShell_QImage(int width, int height, QImage::Format format):QImage(width, height, format),_wrapper(nullptr) {}; + + ~PythonQtShell_QImage() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QImage : public QImage @@ -486,7 +490,7 @@ QImage* new_QImage(const QImage& arg__1); QImage* new_QImage(const QSize& size, QImage::Format format); QImage* new_QImage(const QString& fileName, const char* format = nullptr); QImage* new_QImage(int width, int height, QImage::Format format); -void delete_QImage(QImage* obj) { delete obj; } +void delete_QImage(QImage* obj) { delete obj; } bool allGray(QImage* theWrappedObject) const; QImage alphaChannel(QImage* theWrappedObject) const; int bitPlaneCount(QImage* theWrappedObject) const; @@ -630,7 +634,7 @@ QKeySequence* new_QKeySequence(QKeySequence::StandardKey key); QKeySequence* new_QKeySequence(const QKeySequence& ks); QKeySequence* new_QKeySequence(const QString& key, QKeySequence::SequenceFormat format = QKeySequence::NativeText); QKeySequence* new_QKeySequence(int k1, int k2 = 0, int k3 = 0, int k4 = 0); -void delete_QKeySequence(QKeySequence* obj) { delete obj; } +void delete_QKeySequence(QKeySequence* obj) { delete obj; } int count(QKeySequence* theWrappedObject) const; QKeySequence static_QKeySequence_fromString(const QString& str, QKeySequence::SequenceFormat format = QKeySequence::PortableText); bool isEmpty(QKeySequence* theWrappedObject) const; @@ -665,7 +669,7 @@ public slots: QMatrix* new_QMatrix(); QMatrix* new_QMatrix(const QMatrix& other); QMatrix* new_QMatrix(qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy); -void delete_QMatrix(QMatrix* obj) { delete obj; } +void delete_QMatrix(QMatrix* obj) { delete obj; } qreal determinant(QMatrix* theWrappedObject) const; qreal dx(QMatrix* theWrappedObject) const; qreal dy(QMatrix* theWrappedObject) const; @@ -721,7 +725,7 @@ QPalette* new_QPalette(const QBrush& windowText, const QBrush& button, const Q QPalette* new_QPalette(const QColor& button); QPalette* new_QPalette(const QColor& button, const QColor& window); QPalette* new_QPalette(const QPalette& palette); -void delete_QPalette(QPalette* obj) { delete obj; } +void delete_QPalette(QPalette* obj) { delete obj; } const QBrush* alternateBase(QPalette* theWrappedObject) const; const QBrush* base(QPalette* theWrappedObject) const; const QBrush* brightText(QPalette* theWrappedObject) const; @@ -780,7 +784,7 @@ QPen* new_QPen(Qt::PenStyle arg__1); QPen* new_QPen(const QBrush& brush, qreal width, Qt::PenStyle s = Qt::SolidLine, Qt::PenCapStyle c = Qt::SquareCap, Qt::PenJoinStyle j = Qt::BevelJoin); QPen* new_QPen(const QColor& color); QPen* new_QPen(const QPen& pen); -void delete_QPen(QPen* obj) { delete obj; } +void delete_QPen(QPen* obj) { delete obj; } QBrush brush(QPen* theWrappedObject) const; Qt::PenCapStyle capStyle(QPen* theWrappedObject) const; QColor color(QPen* theWrappedObject) const; @@ -819,22 +823,22 @@ void delete_QPen(QPen* obj) { delete obj; } class PythonQtShell_QPixmap : public QPixmap { public: - PythonQtShell_QPixmap():QPixmap(),_wrapper(NULL) {}; - PythonQtShell_QPixmap(const QPixmap& arg__1):QPixmap(arg__1),_wrapper(NULL) {}; - PythonQtShell_QPixmap(const QSize& arg__1):QPixmap(arg__1),_wrapper(NULL) {}; - PythonQtShell_QPixmap(const QString& fileName, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor):QPixmap(fileName, format, flags),_wrapper(NULL) {}; - PythonQtShell_QPixmap(int w, int h):QPixmap(w, h),_wrapper(NULL) {}; - - ~PythonQtShell_QPixmap(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPixmap():QPixmap(),_wrapper(nullptr) {}; + PythonQtShell_QPixmap(const QPixmap& arg__1):QPixmap(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QPixmap(const QSize& arg__1):QPixmap(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QPixmap(const QString& fileName, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor):QPixmap(fileName, format, flags),_wrapper(nullptr) {}; + PythonQtShell_QPixmap(int w, int h):QPixmap(w, h),_wrapper(nullptr) {}; + + ~PythonQtShell_QPixmap() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPixmap : public QPixmap @@ -854,7 +858,7 @@ QPixmap* new_QPixmap(const QPixmap& arg__1); QPixmap* new_QPixmap(const QSize& arg__1); QPixmap* new_QPixmap(const QString& fileName, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); QPixmap* new_QPixmap(int w, int h); -void delete_QPixmap(QPixmap* obj) { delete obj; } +void delete_QPixmap(QPixmap* obj) { delete obj; } qint64 cacheKey(QPixmap* theWrappedObject) const; bool convertFromImage(QPixmap* theWrappedObject, const QImage& img, Qt::ImageConversionFlags flags = Qt::AutoColor); QPixmap copy(QPixmap* theWrappedObject, const QRect& rect = QRect()) const; @@ -921,7 +925,7 @@ QPolygon* new_QPolygon(const QPolygon& other); QPolygon* new_QPolygon(const QRect& r, bool closed = false); QPolygon* new_QPolygon(const QVector& v); QPolygon* new_QPolygon(int size); -void delete_QPolygon(QPolygon* obj) { delete obj; } +void delete_QPolygon(QPolygon* obj) { delete obj; } void append(QPolygon* theWrappedObject, const QPoint& t); void append(QPolygon* theWrappedObject, const QVector& l); const QPoint* at(QPolygon* theWrappedObject, int i) const; @@ -1011,7 +1015,7 @@ QRegion* new_QRegion(const QPolygon& pa, Qt::FillRule fillRule = Qt::OddEvenFi QRegion* new_QRegion(const QRect& r, QRegion::RegionType t = QRegion::Rectangle); QRegion* new_QRegion(const QRegion& region); QRegion* new_QRegion(int x, int y, int w, int h, QRegion::RegionType t = QRegion::Rectangle); -void delete_QRegion(QRegion* obj) { delete obj; } +void delete_QRegion(QRegion* obj) { delete obj; } const QRect* begin(QRegion* theWrappedObject) const; QRect boundingRect(QRegion* theWrappedObject) const; const QRect* cbegin(QRegion* theWrappedObject) const; @@ -1072,7 +1076,7 @@ QSizePolicy* new_QSizePolicy(const QSizePolicy& other) { QSizePolicy* a = new QSizePolicy(); *((QSizePolicy*)a) = other; return a; } -void delete_QSizePolicy(QSizePolicy* obj) { delete obj; } +void delete_QSizePolicy(QSizePolicy* obj) { delete obj; } QSizePolicy::ControlType controlType(QSizePolicy* theWrappedObject) const; Qt::Orientations expandingDirections(QSizePolicy* theWrappedObject) const; bool hasHeightForWidth(QSizePolicy* theWrappedObject) const; @@ -1121,7 +1125,7 @@ public slots: QTextFormat* new_QTextFormat(); QTextFormat* new_QTextFormat(const QTextFormat& rhs); QTextFormat* new_QTextFormat(int type); -void delete_QTextFormat(QTextFormat* obj) { delete obj; } +void delete_QTextFormat(QTextFormat* obj) { delete obj; } QBrush background(QTextFormat* theWrappedObject) const; bool boolProperty(QTextFormat* theWrappedObject, int propertyId) const; QBrush brushProperty(QTextFormat* theWrappedObject, int propertyId) const; @@ -1194,7 +1198,7 @@ QTextLength* new_QTextLength(const QTextLength& other) { QTextLength* a = new QTextLength(); *((QTextLength*)a) = other; return a; } -void delete_QTextLength(QTextLength* obj) { delete obj; } +void delete_QTextLength(QTextLength* obj) { delete obj; } bool __ne__(QTextLength* theWrappedObject, const QTextLength& other) const; void writeTo(QTextLength* theWrappedObject, QDataStream& arg__1); bool __eq__(QTextLength* theWrappedObject, const QTextLength& other) const; diff --git a/generated_cpp_511/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp b/generated_cpp_511/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp index 6bc8c5259..1c8e83f29 100644 --- a/generated_cpp_511/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp +++ b/generated_cpp_511/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp @@ -5,24 +5,24 @@ void PythonQt_init_QtGuiBuiltin(PyObject* module) { PythonQt::priv()->registerCPPClass("QBitmap", "QPixmap", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QBrush", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QColor", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QCursor", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QFont", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QIcon", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QBrush", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QColor", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCursor", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QFont", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QIcon", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QImage", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::self()->addParentClass("QImage", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerCPPClass("QKeySequence", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QMatrix", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QPalette", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QPen", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QKeySequence", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMatrix", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPalette", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPen", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QPixmap", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::self()->addParentClass("QPixmap", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerCPPClass("QPolygon", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QRegion", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_And|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceXor|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_Xor); -PythonQt::priv()->registerCPPClass("QSizePolicy", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTextFormat", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTextLength", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPolygon", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QRegion", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_And|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceXor|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_Xor); +PythonQt::priv()->registerCPPClass("QSizePolicy", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextFormat", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextLength", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); } 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..3664e8dd7 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 @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -52,9 +53,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -74,9 +75,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -96,20 +97,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -129,20 +130,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -162,20 +163,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -195,20 +196,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QAudioFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&format0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFormatSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -228,20 +229,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAudioFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAudioFormat returnValue; - void* args[1] = {NULL}; + QAudioFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("preferredFormat", methodInfo, result); } else { returnValue = *((QAudioFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -261,20 +262,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedByteOrders", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -294,20 +295,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedChannelCounts", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -327,20 +328,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedCodecs", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -360,20 +361,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleRates", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -393,20 +394,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleSizes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -426,20 +427,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleTypes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -459,9 +460,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -549,20 +550,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferSize", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -582,20 +583,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesReady", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -615,9 +616,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -637,9 +638,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -659,20 +660,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("elapsedUSecs", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -692,20 +693,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAudio::Error"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAudio::Error returnValue; - void* args[1] = {NULL}; + QAudio::Error returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((QAudio::Error*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -725,20 +726,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -758,20 +759,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -791,20 +792,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAudioFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAudioFormat returnValue; - void* args[1] = {NULL}; + QAudioFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { returnValue = *((QAudioFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -824,20 +825,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("notifyInterval", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -857,20 +858,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("periodSize", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -890,20 +891,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("processedUSecs", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -923,9 +924,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -945,9 +946,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -967,9 +968,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -989,9 +990,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QAudioFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fmt0}; + void* args[2] = {nullptr, (void*)&fmt0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1011,9 +1012,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&milliSeconds0}; + void* args[2] = {nullptr, (void*)&milliSeconds0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1033,9 +1034,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1055,20 +1056,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QIODevice* returnValue; - void* args[1] = {NULL}; + QIODevice* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("start", methodInfo, result); } else { returnValue = *((QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1076,7 +1077,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QAbstractAudioInput::start(QIODevice* device0) { @@ -1088,9 +1089,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1110,20 +1111,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAudio::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAudio::State returnValue; - void* args[1] = {NULL}; + QAudio::State returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QAudio::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1143,9 +1144,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1165,9 +1166,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1187,9 +1188,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1209,20 +1210,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qreal returnValue = 0; - void* args[1] = {NULL}; + qreal returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1365,20 +1366,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferSize", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1398,20 +1399,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesFree", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1431,20 +1432,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("category", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1464,9 +1465,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1486,9 +1487,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1508,20 +1509,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("elapsedUSecs", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1541,20 +1542,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAudio::Error"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAudio::Error returnValue; - void* args[1] = {NULL}; + QAudio::Error returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((QAudio::Error*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1574,20 +1575,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1607,20 +1608,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1640,20 +1641,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAudioFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAudioFormat returnValue; - void* args[1] = {NULL}; + QAudioFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { returnValue = *((QAudioFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1673,20 +1674,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("notifyInterval", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1706,20 +1707,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("periodSize", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1739,20 +1740,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("processedUSecs", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1772,9 +1773,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1794,9 +1795,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1816,9 +1817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1838,9 +1839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1860,9 +1861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QAudioFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fmt0}; + void* args[2] = {nullptr, (void*)&fmt0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1882,9 +1883,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&milliSeconds0}; + void* args[2] = {nullptr, (void*)&milliSeconds0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1904,9 +1905,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1926,20 +1927,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QIODevice* returnValue; - void* args[1] = {NULL}; + QIODevice* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("start", methodInfo, result); } else { returnValue = *((QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1947,7 +1948,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QAbstractAudioOutput::start(QIODevice* device0) { @@ -1959,9 +1960,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1981,20 +1982,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAudio::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAudio::State returnValue; - void* args[1] = {NULL}; + QAudio::State returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QAudio::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2014,9 +2015,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2036,9 +2037,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2058,9 +2059,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2080,20 +2081,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qreal returnValue = 0; - void* args[1] = {NULL}; + qreal returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2246,20 +2247,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVariant returnValue; - void* args[1] = {NULL}; + QVariant returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2279,20 +2280,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"uchar*" , "QAbstractVideoBuffer::MapMode" , "int*" , "int*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - uchar* returnValue; - void* args[4] = {NULL, (void*)&mode0, (void*)&numBytes1, (void*)&bytesPerLine2}; + uchar* returnValue{}; + void* args[4] = {nullptr, (void*)&mode0, (void*)&numBytes1, (void*)&bytesPerLine2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("map", methodInfo, result); } else { returnValue = *((uchar**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2300,7 +2301,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractVideoBuffer::MapMode PythonQtShell_QAbstractVideoBuffer::mapMode() const { @@ -2312,20 +2313,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractVideoBuffer::MapMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractVideoBuffer::MapMode returnValue; - void* args[1] = {NULL}; + QAbstractVideoBuffer::MapMode returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapMode", methodInfo, result); } else { returnValue = *((QAbstractVideoBuffer::MapMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2345,9 +2346,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2367,9 +2368,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2429,9 +2430,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2451,9 +2452,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2473,20 +2474,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2506,20 +2507,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2539,20 +2540,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QVideoSurfaceFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&format0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFormatSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2572,20 +2573,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVideoSurfaceFormat" , "const QVideoSurfaceFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVideoSurfaceFormat returnValue; - void* args[2] = {NULL, (void*)&format0}; + QVideoSurfaceFormat returnValue{}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nearestFormat", methodInfo, result); } else { returnValue = *((QVideoSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2605,20 +2606,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QVideoFrame&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&frame0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&frame0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("present", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2638,20 +2639,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QVideoSurfaceFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&format0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("start", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2671,9 +2672,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2693,20 +2694,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "QAbstractVideoBuffer::HandleType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QList returnValue; - void* args[2] = {NULL, (void*)&type0}; + QList returnValue{}; + void* args[2] = {nullptr, (void*)&type0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedPixelFormats", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2726,9 +2727,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2911,20 +2912,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMultimedia::AvailabilityStatus returnValue; - void* args[1] = {NULL}; + QMultimedia::AvailabilityStatus returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); } else { returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2944,20 +2945,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2977,9 +2978,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2999,9 +3000,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3021,20 +3022,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3054,20 +3055,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3087,20 +3088,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3120,20 +3121,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaService* returnValue; - void* args[1] = {NULL}; + QMediaService* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3153,9 +3154,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3175,9 +3176,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3290,20 +3291,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAudioFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAudioFormat returnValue; - void* args[1] = {NULL}; + QAudioFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("audioFormat", methodInfo, result); } else { returnValue = *((QAudioFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3323,20 +3324,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3356,9 +3357,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3378,9 +3379,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3400,20 +3401,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3433,20 +3434,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3466,20 +3467,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3499,20 +3500,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("position", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3532,20 +3533,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAudioBuffer"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAudioBuffer returnValue; - void* args[1] = {NULL}; + QAudioBuffer returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); } else { returnValue = *((QAudioBuffer*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3565,9 +3566,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QAudioFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3587,9 +3588,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3609,9 +3610,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fileName0}; + void* args[2] = {nullptr, (void*)&fileName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3631,20 +3632,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QIODevice* returnValue; - void* args[1] = {NULL}; + QIODevice* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sourceDevice", methodInfo, result); } else { returnValue = *((QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3652,7 +3653,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QString PythonQtShell_QAudioDecoderControl::sourceFilename() const { @@ -3664,20 +3665,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sourceFilename", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3697,9 +3698,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3719,20 +3720,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAudioDecoder::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAudioDecoder::State returnValue; - void* args[1] = {NULL}; + QAudioDecoder::State returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QAudioDecoder::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3752,9 +3753,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3774,9 +3775,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4089,20 +4090,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAudioEncoderSettings"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAudioEncoderSettings returnValue; - void* args[1] = {NULL}; + QAudioEncoderSettings returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("audioSettings", methodInfo, result); } else { returnValue = *((QAudioEncoderSettings*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4122,9 +4123,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4144,20 +4145,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&codecName0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&codecName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("codecDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4177,9 +4178,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4199,20 +4200,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4232,20 +4233,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4265,9 +4266,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QAudioEncoderSettings&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&settings0}; + void* args[2] = {nullptr, (void*)&settings0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4287,20 +4288,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedAudioCodecs", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4320,20 +4321,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QAudioEncoderSettings&" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QList returnValue; - void* args[3] = {NULL, (void*)&settings0, (void*)&continuous1}; + QList returnValue{}; + void* args[3] = {nullptr, (void*)&settings0, (void*)&continuous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleRates", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4353,9 +4354,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4555,9 +4556,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4577,9 +4578,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4599,20 +4600,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4632,20 +4633,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4665,9 +4666,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4809,20 +4810,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("activeInput", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4842,20 +4843,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableInputs", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4875,9 +4876,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4897,9 +4898,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4919,20 +4920,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("defaultInput", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4952,20 +4953,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4985,20 +4986,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5018,20 +5019,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&name0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5051,9 +5052,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5073,9 +5074,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5138,9 +5139,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5160,9 +5161,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5182,20 +5183,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5215,20 +5216,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5248,9 +5249,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5402,20 +5403,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("activeOutput", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5435,20 +5436,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableOutputs", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5468,9 +5469,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5490,9 +5491,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5512,20 +5513,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("defaultOutput", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5545,20 +5546,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5578,20 +5579,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5611,20 +5612,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&name0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("outputDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5644,9 +5645,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5666,9 +5667,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5731,9 +5732,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5753,9 +5754,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5775,20 +5776,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5808,20 +5809,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5841,9 +5842,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5901,9 +5902,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5923,9 +5924,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5945,20 +5946,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5978,20 +5979,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6011,20 +6012,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue; - void* args[1] = {NULL}; + QMediaObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6044,20 +6045,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&object0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&object0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6077,9 +6078,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6142,20 +6143,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAudio::Role"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAudio::Role returnValue; - void* args[1] = {NULL}; + QAudio::Role returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("audioRole", methodInfo, result); } else { returnValue = *((QAudio::Role*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6175,9 +6176,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6197,9 +6198,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6219,20 +6220,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6252,20 +6253,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6285,9 +6286,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAudio::Role"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&role0}; + void* args[2] = {nullptr, (void*)&role0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6307,20 +6308,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedAudioRoles", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6340,9 +6341,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6400,20 +6401,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "QAudio::Mode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QList returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QList returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableDevices", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6433,20 +6434,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractAudioDeviceInfo*" , "const QByteArray&" , "QAudio::Mode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QAbstractAudioDeviceInfo* returnValue; - void* args[3] = {NULL, (void*)&device0, (void*)&mode1}; + QAbstractAudioDeviceInfo* returnValue{}; + void* args[3] = {nullptr, (void*)&device0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createDeviceInfo", methodInfo, result); } else { returnValue = *((QAbstractAudioDeviceInfo**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6454,7 +6455,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractAudioInput* PythonQtShell_QAudioSystemFactoryInterface::createInput(const QByteArray& device0) { @@ -6466,20 +6467,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractAudioInput*" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAbstractAudioInput* returnValue; - void* args[2] = {NULL, (void*)&device0}; + QAbstractAudioInput* returnValue{}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createInput", methodInfo, result); } else { returnValue = *((QAbstractAudioInput**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6487,7 +6488,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractAudioOutput* PythonQtShell_QAudioSystemFactoryInterface::createOutput(const QByteArray& device0) { @@ -6499,20 +6500,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractAudioOutput*" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAbstractAudioOutput* returnValue; - void* args[2] = {NULL, (void*)&device0}; + QAbstractAudioOutput* returnValue{}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createOutput", methodInfo, result); } else { returnValue = *((QAbstractAudioOutput**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6520,7 +6521,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAudioSystemFactoryInterface* PythonQtWrapper_QAudioSystemFactoryInterface::new_QAudioSystemFactoryInterface() { @@ -6562,20 +6563,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "QAudio::Mode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QList returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QList returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableDevices", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6595,20 +6596,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractAudioDeviceInfo*" , "const QByteArray&" , "QAudio::Mode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QAbstractAudioDeviceInfo* returnValue; - void* args[3] = {NULL, (void*)&device0, (void*)&mode1}; + QAbstractAudioDeviceInfo* returnValue{}; + void* args[3] = {nullptr, (void*)&device0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createDeviceInfo", methodInfo, result); } else { returnValue = *((QAbstractAudioDeviceInfo**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6616,7 +6617,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractAudioInput* PythonQtShell_QAudioSystemPlugin::createInput(const QByteArray& device0) { @@ -6628,20 +6629,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractAudioInput*" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAbstractAudioInput* returnValue; - void* args[2] = {NULL, (void*)&device0}; + QAbstractAudioInput* returnValue{}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createInput", methodInfo, result); } else { returnValue = *((QAbstractAudioInput**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6649,7 +6650,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractAudioOutput* PythonQtShell_QAudioSystemPlugin::createOutput(const QByteArray& device0) { @@ -6661,20 +6662,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractAudioOutput*" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAbstractAudioOutput* returnValue; - void* args[2] = {NULL, (void*)&device0}; + QAbstractAudioOutput* returnValue{}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createOutput", methodInfo, result); } else { returnValue = *((QAbstractAudioOutput**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6682,7 +6683,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAudioSystemPlugin* PythonQtWrapper_QAudioSystemPlugin::new_QAudioSystemPlugin(QObject* parent) { @@ -6737,20 +6738,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMultimedia::AvailabilityStatus returnValue; - void* args[1] = {NULL}; + QMultimedia::AvailabilityStatus returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); } else { returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6770,20 +6771,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6803,9 +6804,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6825,9 +6826,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6847,20 +6848,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6880,20 +6881,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6913,20 +6914,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6946,20 +6947,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaService* returnValue; - void* args[1] = {NULL}; + QMediaService* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6979,9 +6980,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7001,9 +7002,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7178,20 +7179,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVideoFrame::PixelFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVideoFrame::PixelFormat returnValue; - void* args[1] = {NULL}; + QVideoFrame::PixelFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferFormat", methodInfo, result); } else { returnValue = *((QVideoFrame::PixelFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7211,9 +7212,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7233,9 +7234,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7255,20 +7256,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7288,20 +7289,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7321,9 +7322,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QVideoFrame::PixelFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7343,20 +7344,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedBufferFormats", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7376,9 +7377,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7436,20 +7437,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QCameraImageCapture::CaptureDestinations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QCameraImageCapture::CaptureDestinations returnValue; - void* args[1] = {NULL}; + QCameraImageCapture::CaptureDestinations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("captureDestination", methodInfo, result); } else { returnValue = *((QCameraImageCapture::CaptureDestinations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7469,9 +7470,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7491,9 +7492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7513,20 +7514,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7546,20 +7547,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7579,20 +7580,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCameraImageCapture::CaptureDestinations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&destination0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&destination0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isCaptureDestinationSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7612,9 +7613,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraImageCapture::CaptureDestinations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&destination0}; + void* args[2] = {nullptr, (void*)&destination0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7634,9 +7635,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7694,20 +7695,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCameraControl::PropertyChangeType" , "QCamera::Status"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&changeType0, (void*)&status1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&changeType0, (void*)&status1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canChangeProperty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7727,20 +7728,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QCamera::CaptureModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QCamera::CaptureModes returnValue; - void* args[1] = {NULL}; + QCamera::CaptureModes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("captureMode", methodInfo, result); } else { returnValue = *((QCamera::CaptureModes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7760,9 +7761,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7782,9 +7783,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7804,20 +7805,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7837,20 +7838,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7870,20 +7871,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCamera::CaptureModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&mode0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isCaptureModeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7903,9 +7904,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCamera::CaptureModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7925,9 +7926,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCamera::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&state0}; + void* args[2] = {nullptr, (void*)&state0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7947,20 +7948,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QCamera::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QCamera::State returnValue; - void* args[1] = {NULL}; + QCamera::State returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QCamera::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7980,20 +7981,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QCamera::Status"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QCamera::Status returnValue; - void* args[1] = {NULL}; + QCamera::Status returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("status", methodInfo, result); } else { returnValue = *((QCamera::Status*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8013,9 +8014,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8195,20 +8196,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "QCameraExposureControl::ExposureParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)¶meter0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)¶meter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("actualValue", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8228,9 +8229,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8250,9 +8251,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8272,20 +8273,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8305,20 +8306,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8338,20 +8339,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCameraExposureControl::ExposureParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)¶meter0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)¶meter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isParameterSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8371,20 +8372,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "QCameraExposureControl::ExposureParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)¶meter0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)¶meter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("requestedValue", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8404,20 +8405,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCameraExposureControl::ExposureParameter" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)¶meter0, (void*)&value1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)¶meter0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setValue", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8437,20 +8438,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "QCameraExposureControl::ExposureParameter" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QList returnValue; - void* args[3] = {NULL, (void*)¶meter0, (void*)&continuous1}; + QList returnValue{}; + void* args[3] = {nullptr, (void*)¶meter0, (void*)&continuous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedParameterRange", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8470,9 +8471,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8540,9 +8541,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8562,9 +8563,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8584,20 +8585,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8617,20 +8618,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8650,20 +8651,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEventFeedbackEnabled", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8683,20 +8684,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEventFeedbackLocked", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8716,9 +8717,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraFeedbackControl::EventType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8738,20 +8739,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setEventFeedbackEnabled", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8771,20 +8772,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&filePath1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&filePath1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setEventFeedbackSound", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8804,9 +8805,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8874,9 +8875,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8896,9 +8897,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8918,20 +8919,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8951,20 +8952,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8984,20 +8985,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QCameraExposure::FlashModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QCameraExposure::FlashModes returnValue; - void* args[1] = {NULL}; + QCameraExposure::FlashModes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flashMode", methodInfo, result); } else { returnValue = *((QCameraExposure::FlashModes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9017,20 +9018,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCameraExposure::FlashModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&mode0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFlashModeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9050,20 +9051,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFlashReady", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9083,9 +9084,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraExposure::FlashModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9105,9 +9106,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h index 1f2074146..cc01f4075 100644 --- a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h +++ b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h @@ -45,6 +45,7 @@ #include #include #include +#include #include #include #include @@ -55,28 +56,28 @@ class PythonQtShell_QAbstractAudioDeviceInfo : public QAbstractAudioDeviceInfo { public: - PythonQtShell_QAbstractAudioDeviceInfo():QAbstractAudioDeviceInfo(),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractAudioDeviceInfo(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual QString deviceName() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isFormatSupported(const QAudioFormat& format) const; -virtual QAudioFormat preferredFormat() const; -virtual QList supportedByteOrders(); -virtual QList supportedChannelCounts(); -virtual QStringList supportedCodecs(); -virtual QList supportedSampleRates(); -virtual QList supportedSampleSizes(); -virtual QList supportedSampleTypes(); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractAudioDeviceInfo():QAbstractAudioDeviceInfo(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractAudioDeviceInfo() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QString deviceName() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isFormatSupported(const QAudioFormat& format) const override; +QAudioFormat preferredFormat() const override; +QList supportedByteOrders() override; +QList supportedChannelCounts() override; +QStringList supportedCodecs() override; +QList supportedSampleRates() override; +QList supportedSampleSizes() override; +QList supportedSampleTypes() override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAudioDeviceInfo : public QAbstractAudioDeviceInfo @@ -97,7 +98,7 @@ class PythonQtWrapper_QAbstractAudioDeviceInfo : public QObject public: public slots: QAbstractAudioDeviceInfo* new_QAbstractAudioDeviceInfo(); -void delete_QAbstractAudioDeviceInfo(QAbstractAudioDeviceInfo* obj) { delete obj; } +void delete_QAbstractAudioDeviceInfo(QAbstractAudioDeviceInfo* obj) { delete obj; } QString deviceName(QAbstractAudioDeviceInfo* theWrappedObject) const; QString py_q_deviceName(QAbstractAudioDeviceInfo* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioDeviceInfo*)theWrappedObject)->py_q_deviceName());} bool isFormatSupported(QAbstractAudioDeviceInfo* theWrappedObject, const QAudioFormat& format) const; @@ -125,39 +126,39 @@ void delete_QAbstractAudioDeviceInfo(QAbstractAudioDeviceInfo* obj) { delete obj class PythonQtShell_QAbstractAudioInput : public QAbstractAudioInput { public: - PythonQtShell_QAbstractAudioInput():QAbstractAudioInput(),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractAudioInput(); - -virtual int bufferSize() const; -virtual int bytesReady() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual qint64 elapsedUSecs() const; -virtual QAudio::Error error() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QAudioFormat format() const; -virtual int notifyInterval() const; -virtual int periodSize() const; -virtual qint64 processedUSecs() const; -virtual void reset(); -virtual void resume(); -virtual void setBufferSize(int value); -virtual void setFormat(const QAudioFormat& fmt); -virtual void setNotifyInterval(int milliSeconds); -virtual void setVolume(qreal arg__1); -virtual QIODevice* start(); -virtual void start(QIODevice* device); -virtual QAudio::State state() const; -virtual void stop(); -virtual void suspend(); -virtual void timerEvent(QTimerEvent* event); -virtual qreal volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractAudioInput():QAbstractAudioInput(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractAudioInput() override; + +int bufferSize() const override; +int bytesReady() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 elapsedUSecs() const override; +QAudio::Error error() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QAudioFormat format() const override; +int notifyInterval() const override; +int periodSize() const override; +qint64 processedUSecs() const override; +void reset() override; +void resume() override; +void setBufferSize(int value) override; +void setFormat(const QAudioFormat& fmt) override; +void setNotifyInterval(int milliSeconds) override; +void setVolume(qreal arg__1) override; +QIODevice* start() override; +void start(QIODevice* device) override; +QAudio::State state() const override; +void stop() override; +void suspend() override; +void timerEvent(QTimerEvent* event) override; +qreal volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAudioInput : public QAbstractAudioInput @@ -189,7 +190,7 @@ class PythonQtWrapper_QAbstractAudioInput : public QObject public: public slots: QAbstractAudioInput* new_QAbstractAudioInput(); -void delete_QAbstractAudioInput(QAbstractAudioInput* obj) { delete obj; } +void delete_QAbstractAudioInput(QAbstractAudioInput* obj) { delete obj; } int bufferSize(QAbstractAudioInput* theWrappedObject) const; int py_q_bufferSize(QAbstractAudioInput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_bufferSize());} int bytesReady(QAbstractAudioInput* theWrappedObject) const; @@ -239,41 +240,41 @@ void delete_QAbstractAudioInput(QAbstractAudioInput* obj) { delete obj; } class PythonQtShell_QAbstractAudioOutput : public QAbstractAudioOutput { public: - PythonQtShell_QAbstractAudioOutput():QAbstractAudioOutput(),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractAudioOutput(); - -virtual int bufferSize() const; -virtual int bytesFree() const; -virtual QString category() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual qint64 elapsedUSecs() const; -virtual QAudio::Error error() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QAudioFormat format() const; -virtual int notifyInterval() const; -virtual int periodSize() const; -virtual qint64 processedUSecs() const; -virtual void reset(); -virtual void resume(); -virtual void setBufferSize(int value); -virtual void setCategory(const QString& arg__1); -virtual void setFormat(const QAudioFormat& fmt); -virtual void setNotifyInterval(int milliSeconds); -virtual void setVolume(qreal arg__1); -virtual QIODevice* start(); -virtual void start(QIODevice* device); -virtual QAudio::State state() const; -virtual void stop(); -virtual void suspend(); -virtual void timerEvent(QTimerEvent* event); -virtual qreal volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractAudioOutput():QAbstractAudioOutput(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractAudioOutput() override; + +int bufferSize() const override; +int bytesFree() const override; +QString category() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 elapsedUSecs() const override; +QAudio::Error error() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QAudioFormat format() const override; +int notifyInterval() const override; +int periodSize() const override; +qint64 processedUSecs() const override; +void reset() override; +void resume() override; +void setBufferSize(int value) override; +void setCategory(const QString& arg__1) override; +void setFormat(const QAudioFormat& fmt) override; +void setNotifyInterval(int milliSeconds) override; +void setVolume(qreal arg__1) override; +QIODevice* start() override; +void start(QIODevice* device) override; +QAudio::State state() const override; +void stop() override; +void suspend() override; +void timerEvent(QTimerEvent* event) override; +qreal volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAudioOutput : public QAbstractAudioOutput @@ -307,7 +308,7 @@ class PythonQtWrapper_QAbstractAudioOutput : public QObject public: public slots: QAbstractAudioOutput* new_QAbstractAudioOutput(); -void delete_QAbstractAudioOutput(QAbstractAudioOutput* obj) { delete obj; } +void delete_QAbstractAudioOutput(QAbstractAudioOutput* obj) { delete obj; } int bufferSize(QAbstractAudioOutput* theWrappedObject) const; int py_q_bufferSize(QAbstractAudioOutput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_bufferSize());} int bytesFree(QAbstractAudioOutput* theWrappedObject) const; @@ -361,17 +362,17 @@ void delete_QAbstractAudioOutput(QAbstractAudioOutput* obj) { delete obj; } class PythonQtShell_QAbstractVideoBuffer : public QAbstractVideoBuffer { public: - PythonQtShell_QAbstractVideoBuffer(QAbstractVideoBuffer::HandleType type):QAbstractVideoBuffer(type),_wrapper(NULL) {}; + PythonQtShell_QAbstractVideoBuffer(QAbstractVideoBuffer::HandleType type):QAbstractVideoBuffer(type),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractVideoBuffer(); + ~PythonQtShell_QAbstractVideoBuffer() override; -virtual QVariant handle() const; -virtual uchar* map(QAbstractVideoBuffer::MapMode mode, int* numBytes, int* bytesPerLine); -virtual QAbstractVideoBuffer::MapMode mapMode() const; -virtual void release(); -virtual void unmap(); +QVariant handle() const override; +uchar* map(QAbstractVideoBuffer::MapMode mode, int* numBytes, int* bytesPerLine) override; +QAbstractVideoBuffer::MapMode mapMode() const override; +void release() override; +void unmap() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractVideoBuffer : public QAbstractVideoBuffer @@ -393,7 +394,7 @@ enum MapMode{ NotMapped = QAbstractVideoBuffer::NotMapped, ReadOnly = QAbstractVideoBuffer::ReadOnly, WriteOnly = QAbstractVideoBuffer::WriteOnly, ReadWrite = QAbstractVideoBuffer::ReadWrite}; public slots: QAbstractVideoBuffer* new_QAbstractVideoBuffer(QAbstractVideoBuffer::HandleType type); -void delete_QAbstractVideoBuffer(QAbstractVideoBuffer* obj) { delete obj; } +void delete_QAbstractVideoBuffer(QAbstractVideoBuffer* obj) { delete obj; } QVariant handle(QAbstractVideoBuffer* theWrappedObject) const; QVariant py_q_handle(QAbstractVideoBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractVideoBuffer*)theWrappedObject)->py_q_handle());} QAbstractVideoBuffer::HandleType handleType(QAbstractVideoBuffer* theWrappedObject) const; @@ -414,25 +415,25 @@ void delete_QAbstractVideoBuffer(QAbstractVideoBuffer* obj) { delete obj; } class PythonQtShell_QAbstractVideoSurface : public QAbstractVideoSurface { public: - PythonQtShell_QAbstractVideoSurface(QObject* parent = nullptr):QAbstractVideoSurface(parent),_wrapper(NULL) {}; + PythonQtShell_QAbstractVideoSurface(QObject* parent = nullptr):QAbstractVideoSurface(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractVideoSurface(); + ~PythonQtShell_QAbstractVideoSurface() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isFormatSupported(const QVideoSurfaceFormat& format) const; -virtual QVideoSurfaceFormat nearestFormat(const QVideoSurfaceFormat& format) const; -virtual bool present(const QVideoFrame& frame); -virtual bool start(const QVideoSurfaceFormat& format); -virtual void stop(); -virtual QList supportedPixelFormats(QAbstractVideoBuffer::HandleType type = QAbstractVideoBuffer::NoHandle) const; -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isFormatSupported(const QVideoSurfaceFormat& format) const override; +QVideoSurfaceFormat nearestFormat(const QVideoSurfaceFormat& format) const override; +bool present(const QVideoFrame& frame) override; +bool start(const QVideoSurfaceFormat& format) override; +void stop() override; +QList supportedPixelFormats(QAbstractVideoBuffer::HandleType type = QAbstractVideoBuffer::NoHandle) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractVideoSurface : public QAbstractVideoSurface @@ -455,7 +456,7 @@ enum Error{ NoError = QAbstractVideoSurface::NoError, UnsupportedFormatError = QAbstractVideoSurface::UnsupportedFormatError, IncorrectFormatError = QAbstractVideoSurface::IncorrectFormatError, StoppedError = QAbstractVideoSurface::StoppedError, ResourceError = QAbstractVideoSurface::ResourceError}; public slots: QAbstractVideoSurface* new_QAbstractVideoSurface(QObject* parent = nullptr); -void delete_QAbstractVideoSurface(QAbstractVideoSurface* obj) { delete obj; } +void delete_QAbstractVideoSurface(QAbstractVideoSurface* obj) { delete obj; } QAbstractVideoSurface::Error error(QAbstractVideoSurface* theWrappedObject) const; bool isActive(QAbstractVideoSurface* theWrappedObject) const; bool isFormatSupported(QAbstractVideoSurface* theWrappedObject, const QVideoSurfaceFormat& format) const; @@ -510,7 +511,7 @@ QAudioBuffer* new_QAudioBuffer(); QAudioBuffer* new_QAudioBuffer(const QAudioBuffer& other); QAudioBuffer* new_QAudioBuffer(const QByteArray& data, const QAudioFormat& format, qint64 startTime = -1); QAudioBuffer* new_QAudioBuffer(int numFrames, const QAudioFormat& format, qint64 startTime = -1); -void delete_QAudioBuffer(QAudioBuffer* obj) { delete obj; } +void delete_QAudioBuffer(QAudioBuffer* obj) { delete obj; } int byteCount(QAudioBuffer* theWrappedObject) const; const void* constData(QAudioBuffer* theWrappedObject) const; void* data(QAudioBuffer* theWrappedObject); @@ -532,24 +533,24 @@ void delete_QAudioBuffer(QAudioBuffer* obj) { delete obj; } class PythonQtShell_QAudioDecoder : public QAudioDecoder { public: - PythonQtShell_QAudioDecoder(QObject* parent = nullptr):QAudioDecoder(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioDecoder(QObject* parent = nullptr):QAudioDecoder(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioDecoder(); + ~PythonQtShell_QAudioDecoder() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void timerEvent(QTimerEvent* event); -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioDecoder : public QAudioDecoder @@ -563,7 +564,7 @@ class PythonQtWrapper_QAudioDecoder : public QObject public: public slots: QAudioDecoder* new_QAudioDecoder(QObject* parent = nullptr); -void delete_QAudioDecoder(QAudioDecoder* obj) { delete obj; } +void delete_QAudioDecoder(QAudioDecoder* obj) { delete obj; } QAudioFormat audioFormat(QAudioDecoder* theWrappedObject) const; bool py_q_bind(QAudioDecoder* theWrappedObject, QObject* arg__1){ return (((PythonQtPublicPromoter_QAudioDecoder*)theWrappedObject)->py_q_bind(arg__1));} bool bufferAvailable(QAudioDecoder* theWrappedObject) const; @@ -589,32 +590,32 @@ void delete_QAudioDecoder(QAudioDecoder* obj) { delete obj; } class PythonQtShell_QAudioDecoderControl : public QAudioDecoderControl { public: - PythonQtShell_QAudioDecoderControl(QObject* parent = nullptr):QAudioDecoderControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAudioDecoderControl(); - -virtual QAudioFormat audioFormat() const; -virtual bool bufferAvailable() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual qint64 duration() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual qint64 position() const; -virtual QAudioBuffer read(); -virtual void setAudioFormat(const QAudioFormat& format); -virtual void setSourceDevice(QIODevice* device); -virtual void setSourceFilename(const QString& fileName); -virtual QIODevice* sourceDevice() const; -virtual QString sourceFilename() const; -virtual void start(); -virtual QAudioDecoder::State state() const; -virtual void stop(); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAudioDecoderControl(QObject* parent = nullptr):QAudioDecoderControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAudioDecoderControl() override; + +QAudioFormat audioFormat() const override; +bool bufferAvailable() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +qint64 position() const override; +QAudioBuffer read() override; +void setAudioFormat(const QAudioFormat& format) override; +void setSourceDevice(QIODevice* device) override; +void setSourceFilename(const QString& fileName) override; +QIODevice* sourceDevice() const override; +QString sourceFilename() const override; +void start() override; +QAudioDecoder::State state() const override; +void stop() override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioDecoderControl : public QAudioDecoderControl @@ -639,7 +640,7 @@ class PythonQtWrapper_QAudioDecoderControl : public QObject public: public slots: QAudioDecoderControl* new_QAudioDecoderControl(QObject* parent = nullptr); -void delete_QAudioDecoderControl(QAudioDecoderControl* obj) { delete obj; } +void delete_QAudioDecoderControl(QAudioDecoderControl* obj) { delete obj; } QAudioFormat audioFormat(QAudioDecoderControl* theWrappedObject) const; QAudioFormat py_q_audioFormat(QAudioDecoderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_audioFormat());} bool bufferAvailable(QAudioDecoderControl* theWrappedObject) const; @@ -678,7 +679,7 @@ class PythonQtWrapper_QAudioDeviceInfo : public QObject public slots: QAudioDeviceInfo* new_QAudioDeviceInfo(); QAudioDeviceInfo* new_QAudioDeviceInfo(const QAudioDeviceInfo& other); -void delete_QAudioDeviceInfo(QAudioDeviceInfo* obj) { delete obj; } +void delete_QAudioDeviceInfo(QAudioDeviceInfo* obj) { delete obj; } QList static_QAudioDeviceInfo_availableDevices(QAudio::Mode mode); QAudioDeviceInfo static_QAudioDeviceInfo_defaultInputDevice(); QAudioDeviceInfo static_QAudioDeviceInfo_defaultOutputDevice(); @@ -709,7 +710,7 @@ class PythonQtWrapper_QAudioEncoderSettings : public QObject public slots: QAudioEncoderSettings* new_QAudioEncoderSettings(); QAudioEncoderSettings* new_QAudioEncoderSettings(const QAudioEncoderSettings& other); -void delete_QAudioEncoderSettings(QAudioEncoderSettings* obj) { delete obj; } +void delete_QAudioEncoderSettings(QAudioEncoderSettings* obj) { delete obj; } int bitRate(QAudioEncoderSettings* theWrappedObject) const; int channelCount(QAudioEncoderSettings* theWrappedObject) const; QString codec(QAudioEncoderSettings* theWrappedObject) const; @@ -740,24 +741,24 @@ void delete_QAudioEncoderSettings(QAudioEncoderSettings* obj) { delete obj; } class PythonQtShell_QAudioEncoderSettingsControl : public QAudioEncoderSettingsControl { public: - PythonQtShell_QAudioEncoderSettingsControl(QObject* parent = nullptr):QAudioEncoderSettingsControl(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioEncoderSettingsControl(QObject* parent = nullptr):QAudioEncoderSettingsControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioEncoderSettingsControl(); + ~PythonQtShell_QAudioEncoderSettingsControl() override; -virtual QAudioEncoderSettings audioSettings() const; -virtual void childEvent(QChildEvent* event); -virtual QString codecDescription(const QString& codecName) const; -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void setAudioSettings(const QAudioEncoderSettings& settings); -virtual QStringList supportedAudioCodecs() const; -virtual QList supportedSampleRates(const QAudioEncoderSettings& settings, bool* continuous = nullptr) const; -virtual void timerEvent(QTimerEvent* event); +QAudioEncoderSettings audioSettings() const override; +void childEvent(QChildEvent* event) override; +QString codecDescription(const QString& codecName) const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setAudioSettings(const QAudioEncoderSettings& settings) override; +QStringList supportedAudioCodecs() const override; +QList supportedSampleRates(const QAudioEncoderSettings& settings, bool* continuous = nullptr) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioEncoderSettingsControl : public QAudioEncoderSettingsControl @@ -774,7 +775,7 @@ class PythonQtWrapper_QAudioEncoderSettingsControl : public QObject public: public slots: QAudioEncoderSettingsControl* new_QAudioEncoderSettingsControl(QObject* parent = nullptr); -void delete_QAudioEncoderSettingsControl(QAudioEncoderSettingsControl* obj) { delete obj; } +void delete_QAudioEncoderSettingsControl(QAudioEncoderSettingsControl* obj) { delete obj; } QAudioEncoderSettings audioSettings(QAudioEncoderSettingsControl* theWrappedObject) const; QAudioEncoderSettings py_q_audioSettings(QAudioEncoderSettingsControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioEncoderSettingsControl*)theWrappedObject)->py_q_audioSettings());} QString codecDescription(QAudioEncoderSettingsControl* theWrappedObject, const QString& codecName) const; @@ -802,7 +803,7 @@ enum SampleType{ public slots: QAudioFormat* new_QAudioFormat(); QAudioFormat* new_QAudioFormat(const QAudioFormat& other); -void delete_QAudioFormat(QAudioFormat* obj) { delete obj; } +void delete_QAudioFormat(QAudioFormat* obj) { delete obj; } QAudioFormat::Endian byteOrder(QAudioFormat* theWrappedObject) const; int bytesForDuration(QAudioFormat* theWrappedObject, qint64 duration) const; int bytesForFrames(QAudioFormat* theWrappedObject, int frameCount) const; @@ -837,20 +838,20 @@ void delete_QAudioFormat(QAudioFormat* obj) { delete obj; } class PythonQtShell_QAudioInput : public QAudioInput { public: - PythonQtShell_QAudioInput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioInput(audioDeviceInfo, format, parent),_wrapper(NULL) {}; - PythonQtShell_QAudioInput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioInput(format, parent),_wrapper(NULL) {}; + PythonQtShell_QAudioInput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioInput(audioDeviceInfo, format, parent),_wrapper(nullptr) {}; + PythonQtShell_QAudioInput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioInput(format, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioInput(); + ~PythonQtShell_QAudioInput() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioInput : public QObject @@ -859,7 +860,7 @@ class PythonQtWrapper_QAudioInput : public QObject public slots: QAudioInput* new_QAudioInput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr); QAudioInput* new_QAudioInput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr); -void delete_QAudioInput(QAudioInput* obj) { delete obj; } +void delete_QAudioInput(QAudioInput* obj) { delete obj; } int bufferSize(QAudioInput* theWrappedObject) const; int bytesReady(QAudioInput* theWrappedObject) const; qint64 elapsedUSecs(QAudioInput* theWrappedObject) const; @@ -888,24 +889,24 @@ void delete_QAudioInput(QAudioInput* obj) { delete obj; } class PythonQtShell_QAudioInputSelectorControl : public QAudioInputSelectorControl { public: - PythonQtShell_QAudioInputSelectorControl(QObject* parent = nullptr):QAudioInputSelectorControl(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioInputSelectorControl(QObject* parent = nullptr):QAudioInputSelectorControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioInputSelectorControl(); + ~PythonQtShell_QAudioInputSelectorControl() override; -virtual QString activeInput() const; -virtual QList availableInputs() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual QString defaultInput() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QString inputDescription(const QString& name) const; -virtual void setActiveInput(const QString& name); -virtual void timerEvent(QTimerEvent* event); +QString activeInput() const override; +QList availableInputs() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QString defaultInput() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString inputDescription(const QString& name) const override; +void setActiveInput(const QString& name) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioInputSelectorControl : public QAudioInputSelectorControl @@ -922,7 +923,7 @@ class PythonQtWrapper_QAudioInputSelectorControl : public QObject public: public slots: QAudioInputSelectorControl* new_QAudioInputSelectorControl(QObject* parent = nullptr); -void delete_QAudioInputSelectorControl(QAudioInputSelectorControl* obj) { delete obj; } +void delete_QAudioInputSelectorControl(QAudioInputSelectorControl* obj) { delete obj; } QString activeInput(QAudioInputSelectorControl* theWrappedObject) const; QString py_q_activeInput(QAudioInputSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioInputSelectorControl*)theWrappedObject)->py_q_activeInput());} QList availableInputs(QAudioInputSelectorControl* theWrappedObject) const; @@ -941,20 +942,20 @@ void delete_QAudioInputSelectorControl(QAudioInputSelectorControl* obj) { delete class PythonQtShell_QAudioOutput : public QAudioOutput { public: - PythonQtShell_QAudioOutput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioOutput(audioDeviceInfo, format, parent),_wrapper(NULL) {}; - PythonQtShell_QAudioOutput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioOutput(format, parent),_wrapper(NULL) {}; + PythonQtShell_QAudioOutput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioOutput(audioDeviceInfo, format, parent),_wrapper(nullptr) {}; + PythonQtShell_QAudioOutput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioOutput(format, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioOutput(); + ~PythonQtShell_QAudioOutput() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioOutput : public QObject @@ -963,7 +964,7 @@ class PythonQtWrapper_QAudioOutput : public QObject public slots: QAudioOutput* new_QAudioOutput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr); QAudioOutput* new_QAudioOutput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr); -void delete_QAudioOutput(QAudioOutput* obj) { delete obj; } +void delete_QAudioOutput(QAudioOutput* obj) { delete obj; } int bufferSize(QAudioOutput* theWrappedObject) const; int bytesFree(QAudioOutput* theWrappedObject) const; QString category(QAudioOutput* theWrappedObject) const; @@ -994,24 +995,24 @@ void delete_QAudioOutput(QAudioOutput* obj) { delete obj; } class PythonQtShell_QAudioOutputSelectorControl : public QAudioOutputSelectorControl { public: - PythonQtShell_QAudioOutputSelectorControl(QObject* parent = nullptr):QAudioOutputSelectorControl(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioOutputSelectorControl(QObject* parent = nullptr):QAudioOutputSelectorControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioOutputSelectorControl(); + ~PythonQtShell_QAudioOutputSelectorControl() override; -virtual QString activeOutput() const; -virtual QList availableOutputs() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual QString defaultOutput() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QString outputDescription(const QString& name) const; -virtual void setActiveOutput(const QString& name); -virtual void timerEvent(QTimerEvent* event); +QString activeOutput() const override; +QList availableOutputs() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QString defaultOutput() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString outputDescription(const QString& name) const override; +void setActiveOutput(const QString& name) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioOutputSelectorControl : public QAudioOutputSelectorControl @@ -1028,7 +1029,7 @@ class PythonQtWrapper_QAudioOutputSelectorControl : public QObject public: public slots: QAudioOutputSelectorControl* new_QAudioOutputSelectorControl(QObject* parent = nullptr); -void delete_QAudioOutputSelectorControl(QAudioOutputSelectorControl* obj) { delete obj; } +void delete_QAudioOutputSelectorControl(QAudioOutputSelectorControl* obj) { delete obj; } QString activeOutput(QAudioOutputSelectorControl* theWrappedObject) const; QString py_q_activeOutput(QAudioOutputSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioOutputSelectorControl*)theWrappedObject)->py_q_activeOutput());} QList availableOutputs(QAudioOutputSelectorControl* theWrappedObject) const; @@ -1047,19 +1048,19 @@ void delete_QAudioOutputSelectorControl(QAudioOutputSelectorControl* obj) { dele class PythonQtShell_QAudioProbe : public QAudioProbe { public: - PythonQtShell_QAudioProbe(QObject* parent = nullptr):QAudioProbe(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioProbe(QObject* parent = nullptr):QAudioProbe(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioProbe(); + ~PythonQtShell_QAudioProbe() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioProbe : public QObject @@ -1067,7 +1068,7 @@ class PythonQtWrapper_QAudioProbe : public QObject public: public slots: QAudioProbe* new_QAudioProbe(QObject* parent = nullptr); -void delete_QAudioProbe(QAudioProbe* obj) { delete obj; } +void delete_QAudioProbe(QAudioProbe* obj) { delete obj; } bool isActive(QAudioProbe* theWrappedObject) const; bool setSource(QAudioProbe* theWrappedObject, QMediaObject* source); bool setSource(QAudioProbe* theWrappedObject, QMediaRecorder* source); @@ -1080,21 +1081,21 @@ void delete_QAudioProbe(QAudioProbe* obj) { delete obj; } class PythonQtShell_QAudioRecorder : public QAudioRecorder { public: - PythonQtShell_QAudioRecorder(QObject* parent = nullptr):QAudioRecorder(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioRecorder(QObject* parent = nullptr):QAudioRecorder(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioRecorder(); + ~PythonQtShell_QAudioRecorder() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* object); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* object) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioRecorder : public QObject @@ -1102,7 +1103,7 @@ class PythonQtWrapper_QAudioRecorder : public QObject public: public slots: QAudioRecorder* new_QAudioRecorder(QObject* parent = nullptr); -void delete_QAudioRecorder(QAudioRecorder* obj) { delete obj; } +void delete_QAudioRecorder(QAudioRecorder* obj) { delete obj; } QString audioInput(QAudioRecorder* theWrappedObject) const; QString audioInputDescription(QAudioRecorder* theWrappedObject, const QString& name) const; QStringList audioInputs(QAudioRecorder* theWrappedObject) const; @@ -1116,22 +1117,22 @@ void delete_QAudioRecorder(QAudioRecorder* obj) { delete obj; } class PythonQtShell_QAudioRoleControl : public QAudioRoleControl { public: - PythonQtShell_QAudioRoleControl(QObject* parent = nullptr):QAudioRoleControl(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioRoleControl(QObject* parent = nullptr):QAudioRoleControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioRoleControl(); + ~PythonQtShell_QAudioRoleControl() override; -virtual QAudio::Role audioRole() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void setAudioRole(QAudio::Role role); -virtual QList supportedAudioRoles() const; -virtual void timerEvent(QTimerEvent* event); +QAudio::Role audioRole() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setAudioRole(QAudio::Role role) override; +QList supportedAudioRoles() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioRoleControl : public QAudioRoleControl @@ -1146,7 +1147,7 @@ class PythonQtWrapper_QAudioRoleControl : public QObject public: public slots: QAudioRoleControl* new_QAudioRoleControl(QObject* parent = nullptr); -void delete_QAudioRoleControl(QAudioRoleControl* obj) { delete obj; } +void delete_QAudioRoleControl(QAudioRoleControl* obj) { delete obj; } QAudio::Role audioRole(QAudioRoleControl* theWrappedObject) const; QAudio::Role py_q_audioRole(QAudioRoleControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioRoleControl*)theWrappedObject)->py_q_audioRole());} void setAudioRole(QAudioRoleControl* theWrappedObject, QAudio::Role role); @@ -1162,16 +1163,16 @@ void delete_QAudioRoleControl(QAudioRoleControl* obj) { delete obj; } class PythonQtShell_QAudioSystemFactoryInterface : public QAudioSystemFactoryInterface { public: - PythonQtShell_QAudioSystemFactoryInterface():QAudioSystemFactoryInterface(),_wrapper(NULL) {}; + PythonQtShell_QAudioSystemFactoryInterface():QAudioSystemFactoryInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioSystemFactoryInterface(); + ~PythonQtShell_QAudioSystemFactoryInterface() override; -virtual QList availableDevices(QAudio::Mode arg__1) const; -virtual QAbstractAudioDeviceInfo* createDeviceInfo(const QByteArray& device, QAudio::Mode mode); -virtual QAbstractAudioInput* createInput(const QByteArray& device); -virtual QAbstractAudioOutput* createOutput(const QByteArray& device); +QList availableDevices(QAudio::Mode arg__1) const override; +QAbstractAudioDeviceInfo* createDeviceInfo(const QByteArray& device, QAudio::Mode mode) override; +QAbstractAudioInput* createInput(const QByteArray& device) override; +QAbstractAudioOutput* createOutput(const QByteArray& device) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioSystemFactoryInterface : public QAudioSystemFactoryInterface @@ -1187,7 +1188,7 @@ class PythonQtWrapper_QAudioSystemFactoryInterface : public QObject public: public slots: QAudioSystemFactoryInterface* new_QAudioSystemFactoryInterface(); -void delete_QAudioSystemFactoryInterface(QAudioSystemFactoryInterface* obj) { delete obj; } +void delete_QAudioSystemFactoryInterface(QAudioSystemFactoryInterface* obj) { delete obj; } QList availableDevices(QAudioSystemFactoryInterface* theWrappedObject, QAudio::Mode arg__1) const; QList py_q_availableDevices(QAudioSystemFactoryInterface* theWrappedObject, QAudio::Mode arg__1) const{ return (((PythonQtPublicPromoter_QAudioSystemFactoryInterface*)theWrappedObject)->py_q_availableDevices(arg__1));} QAbstractAudioDeviceInfo* createDeviceInfo(QAudioSystemFactoryInterface* theWrappedObject, const QByteArray& device, QAudio::Mode mode); @@ -1205,18 +1206,18 @@ void delete_QAudioSystemFactoryInterface(QAudioSystemFactoryInterface* obj) { de class PythonQtShell_QAudioSystemPlugin : public QAudioSystemPlugin { public: - PythonQtShell_QAudioSystemPlugin(QObject* parent = nullptr):QAudioSystemPlugin(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioSystemPlugin(QObject* parent = nullptr):QAudioSystemPlugin(parent),_wrapper(nullptr) {}; ~PythonQtShell_QAudioSystemPlugin(); -virtual QList availableDevices(QAudio::Mode arg__1) const; -virtual QAbstractAudioDeviceInfo* createDeviceInfo(const QByteArray& device, QAudio::Mode mode); -virtual QAbstractAudioInput* createInput(const QByteArray& device); -virtual QAbstractAudioOutput* createOutput(const QByteArray& device); +QList availableDevices(QAudio::Mode arg__1) const override; +QAbstractAudioDeviceInfo* createDeviceInfo(const QByteArray& device, QAudio::Mode mode) override; +QAbstractAudioInput* createInput(const QByteArray& device) override; +QAbstractAudioOutput* createOutput(const QByteArray& device) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioSystemPlugin : public QAudioSystemPlugin @@ -1232,7 +1233,7 @@ class PythonQtWrapper_QAudioSystemPlugin : public QObject public: public slots: QAudioSystemPlugin* new_QAudioSystemPlugin(QObject* parent = nullptr); -void delete_QAudioSystemPlugin(QAudioSystemPlugin* obj) { delete obj; } +void delete_QAudioSystemPlugin(QAudioSystemPlugin* obj) { delete obj; } QList availableDevices(QAudioSystemPlugin* theWrappedObject, QAudio::Mode arg__1) const; QList py_q_availableDevices(QAudioSystemPlugin* theWrappedObject, QAudio::Mode arg__1) const{ return (((PythonQtPublicPromoter_QAudioSystemPlugin*)theWrappedObject)->py_q_availableDevices(arg__1));} QAbstractAudioDeviceInfo* createDeviceInfo(QAudioSystemPlugin* theWrappedObject, const QByteArray& device, QAudio::Mode mode); @@ -1250,27 +1251,27 @@ void delete_QAudioSystemPlugin(QAudioSystemPlugin* obj) { delete obj; } class PythonQtShell_QCamera : public QCamera { public: - PythonQtShell_QCamera(QCamera::Position position, QObject* parent = nullptr):QCamera(position, parent),_wrapper(NULL) {}; - PythonQtShell_QCamera(QObject* parent = nullptr):QCamera(parent),_wrapper(NULL) {}; - PythonQtShell_QCamera(const QByteArray& deviceName, QObject* parent = nullptr):QCamera(deviceName, parent),_wrapper(NULL) {}; - PythonQtShell_QCamera(const QCameraInfo& cameraInfo, QObject* parent = nullptr):QCamera(cameraInfo, parent),_wrapper(NULL) {}; + PythonQtShell_QCamera(QCamera::Position position, QObject* parent = nullptr):QCamera(position, parent),_wrapper(nullptr) {}; + PythonQtShell_QCamera(QObject* parent = nullptr):QCamera(parent),_wrapper(nullptr) {}; + PythonQtShell_QCamera(const QByteArray& deviceName, QObject* parent = nullptr):QCamera(deviceName, parent),_wrapper(nullptr) {}; + PythonQtShell_QCamera(const QCameraInfo& cameraInfo, QObject* parent = nullptr):QCamera(cameraInfo, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCamera(); + ~PythonQtShell_QCamera() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void timerEvent(QTimerEvent* event); -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCamera : public QCamera @@ -1294,7 +1295,7 @@ QCamera* new_QCamera(QCamera::Position position, QObject* parent = nullptr); QCamera* new_QCamera(QObject* parent = nullptr); QCamera* new_QCamera(const QByteArray& deviceName, QObject* parent = nullptr); QCamera* new_QCamera(const QCameraInfo& cameraInfo, QObject* parent = nullptr); -void delete_QCamera(QCamera* obj) { delete obj; } +void delete_QCamera(QCamera* obj) { delete obj; } QMultimedia::AvailabilityStatus py_q_availability(QCamera* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCamera*)theWrappedObject)->py_q_availability());} QList static_QCamera_availableDevices(); QCamera::CaptureModes captureMode(QCamera* theWrappedObject) const; @@ -1329,22 +1330,22 @@ void delete_QCamera(QCamera* obj) { delete obj; } class PythonQtShell_QCameraCaptureBufferFormatControl : public QCameraCaptureBufferFormatControl { public: - PythonQtShell_QCameraCaptureBufferFormatControl(QObject* parent = nullptr):QCameraCaptureBufferFormatControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraCaptureBufferFormatControl(QObject* parent = nullptr):QCameraCaptureBufferFormatControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraCaptureBufferFormatControl(); + ~PythonQtShell_QCameraCaptureBufferFormatControl() override; -virtual QVideoFrame::PixelFormat bufferFormat() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void setBufferFormat(QVideoFrame::PixelFormat format); -virtual QList supportedBufferFormats() const; -virtual void timerEvent(QTimerEvent* event); +QVideoFrame::PixelFormat bufferFormat() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setBufferFormat(QVideoFrame::PixelFormat format) override; +QList supportedBufferFormats() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraCaptureBufferFormatControl : public QCameraCaptureBufferFormatControl @@ -1359,7 +1360,7 @@ class PythonQtWrapper_QCameraCaptureBufferFormatControl : public QObject public: public slots: QCameraCaptureBufferFormatControl* new_QCameraCaptureBufferFormatControl(QObject* parent = nullptr); -void delete_QCameraCaptureBufferFormatControl(QCameraCaptureBufferFormatControl* obj) { delete obj; } +void delete_QCameraCaptureBufferFormatControl(QCameraCaptureBufferFormatControl* obj) { delete obj; } QVideoFrame::PixelFormat bufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject) const; QVideoFrame::PixelFormat py_q_bufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraCaptureBufferFormatControl*)theWrappedObject)->py_q_bufferFormat());} void setBufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject, QVideoFrame::PixelFormat format); @@ -1375,22 +1376,22 @@ void delete_QCameraCaptureBufferFormatControl(QCameraCaptureBufferFormatControl* class PythonQtShell_QCameraCaptureDestinationControl : public QCameraCaptureDestinationControl { public: - PythonQtShell_QCameraCaptureDestinationControl(QObject* parent = nullptr):QCameraCaptureDestinationControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraCaptureDestinationControl(QObject* parent = nullptr):QCameraCaptureDestinationControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraCaptureDestinationControl(); + ~PythonQtShell_QCameraCaptureDestinationControl() override; -virtual QCameraImageCapture::CaptureDestinations captureDestination() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations destination) const; -virtual void setCaptureDestination(QCameraImageCapture::CaptureDestinations destination); -virtual void timerEvent(QTimerEvent* event); +QCameraImageCapture::CaptureDestinations captureDestination() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations destination) const override; +void setCaptureDestination(QCameraImageCapture::CaptureDestinations destination) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraCaptureDestinationControl : public QCameraCaptureDestinationControl @@ -1405,7 +1406,7 @@ class PythonQtWrapper_QCameraCaptureDestinationControl : public QObject public: public slots: QCameraCaptureDestinationControl* new_QCameraCaptureDestinationControl(QObject* parent = nullptr); -void delete_QCameraCaptureDestinationControl(QCameraCaptureDestinationControl* obj) { delete obj; } +void delete_QCameraCaptureDestinationControl(QCameraCaptureDestinationControl* obj) { delete obj; } QCameraImageCapture::CaptureDestinations captureDestination(QCameraCaptureDestinationControl* theWrappedObject) const; QCameraImageCapture::CaptureDestinations py_q_captureDestination(QCameraCaptureDestinationControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraCaptureDestinationControl*)theWrappedObject)->py_q_captureDestination());} bool isCaptureDestinationSupported(QCameraCaptureDestinationControl* theWrappedObject, QCameraImageCapture::CaptureDestinations destination) const; @@ -1421,26 +1422,26 @@ void delete_QCameraCaptureDestinationControl(QCameraCaptureDestinationControl* o class PythonQtShell_QCameraControl : public QCameraControl { public: - PythonQtShell_QCameraControl(QObject* parent = nullptr):QCameraControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraControl(QObject* parent = nullptr):QCameraControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraControl(); + ~PythonQtShell_QCameraControl() override; -virtual bool canChangeProperty(QCameraControl::PropertyChangeType changeType, QCamera::Status status) const; -virtual QCamera::CaptureModes captureMode() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isCaptureModeSupported(QCamera::CaptureModes mode) const; -virtual void setCaptureMode(QCamera::CaptureModes arg__1); -virtual void setState(QCamera::State state); -virtual QCamera::State state() const; -virtual QCamera::Status status() const; -virtual void timerEvent(QTimerEvent* event); +bool canChangeProperty(QCameraControl::PropertyChangeType changeType, QCamera::Status status) const override; +QCamera::CaptureModes captureMode() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isCaptureModeSupported(QCamera::CaptureModes mode) const override; +void setCaptureMode(QCamera::CaptureModes arg__1) override; +void setState(QCamera::State state) override; +QCamera::State state() const override; +QCamera::Status status() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraControl : public QCameraControl @@ -1462,7 +1463,7 @@ enum PropertyChangeType{ CaptureMode = QCameraControl::CaptureMode, ImageEncodingSettings = QCameraControl::ImageEncodingSettings, VideoEncodingSettings = QCameraControl::VideoEncodingSettings, Viewfinder = QCameraControl::Viewfinder, ViewfinderSettings = QCameraControl::ViewfinderSettings}; public slots: QCameraControl* new_QCameraControl(QObject* parent = nullptr); -void delete_QCameraControl(QCameraControl* obj) { delete obj; } +void delete_QCameraControl(QCameraControl* obj) { delete obj; } bool canChangeProperty(QCameraControl* theWrappedObject, QCameraControl::PropertyChangeType changeType, QCamera::Status status) const; bool py_q_canChangeProperty(QCameraControl* theWrappedObject, QCameraControl::PropertyChangeType changeType, QCamera::Status status) const{ return (((PythonQtPublicPromoter_QCameraControl*)theWrappedObject)->py_q_canChangeProperty(changeType, status));} QCamera::CaptureModes captureMode(QCameraControl* theWrappedObject) const; @@ -1521,24 +1522,24 @@ public slots: class PythonQtShell_QCameraExposureControl : public QCameraExposureControl { public: - PythonQtShell_QCameraExposureControl(QObject* parent = nullptr):QCameraExposureControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraExposureControl(QObject* parent = nullptr):QCameraExposureControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraExposureControl(); + ~PythonQtShell_QCameraExposureControl() override; -virtual QVariant actualValue(QCameraExposureControl::ExposureParameter parameter) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isParameterSupported(QCameraExposureControl::ExposureParameter parameter) const; -virtual QVariant requestedValue(QCameraExposureControl::ExposureParameter parameter) const; -virtual bool setValue(QCameraExposureControl::ExposureParameter parameter, const QVariant& value); -virtual QList supportedParameterRange(QCameraExposureControl::ExposureParameter parameter, bool* continuous) const; -virtual void timerEvent(QTimerEvent* event); +QVariant actualValue(QCameraExposureControl::ExposureParameter parameter) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isParameterSupported(QCameraExposureControl::ExposureParameter parameter) const override; +QVariant requestedValue(QCameraExposureControl::ExposureParameter parameter) const override; +bool setValue(QCameraExposureControl::ExposureParameter parameter, const QVariant& value) override; +QList supportedParameterRange(QCameraExposureControl::ExposureParameter parameter, bool* continuous) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraExposureControl : public QCameraExposureControl @@ -1555,7 +1556,7 @@ class PythonQtWrapper_QCameraExposureControl : public QObject public: public slots: QCameraExposureControl* new_QCameraExposureControl(QObject* parent = nullptr); -void delete_QCameraExposureControl(QCameraExposureControl* obj) { delete obj; } +void delete_QCameraExposureControl(QCameraExposureControl* obj) { delete obj; } QVariant actualValue(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const; QVariant py_q_actualValue(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const{ return (((PythonQtPublicPromoter_QCameraExposureControl*)theWrappedObject)->py_q_actualValue(parameter));} bool isParameterSupported(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const; @@ -1575,24 +1576,24 @@ void delete_QCameraExposureControl(QCameraExposureControl* obj) { delete obj; } class PythonQtShell_QCameraFeedbackControl : public QCameraFeedbackControl { public: - PythonQtShell_QCameraFeedbackControl(QObject* parent = nullptr):QCameraFeedbackControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraFeedbackControl(QObject* parent = nullptr):QCameraFeedbackControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraFeedbackControl(); + ~PythonQtShell_QCameraFeedbackControl() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1) const; -virtual bool isEventFeedbackLocked(QCameraFeedbackControl::EventType arg__1) const; -virtual void resetEventFeedback(QCameraFeedbackControl::EventType arg__1); -virtual bool setEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1, bool arg__2); -virtual bool setEventFeedbackSound(QCameraFeedbackControl::EventType arg__1, const QString& filePath); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1) const override; +bool isEventFeedbackLocked(QCameraFeedbackControl::EventType arg__1) const override; +void resetEventFeedback(QCameraFeedbackControl::EventType arg__1) override; +bool setEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1, bool arg__2) override; +bool setEventFeedbackSound(QCameraFeedbackControl::EventType arg__1, const QString& filePath) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraFeedbackControl : public QCameraFeedbackControl @@ -1612,7 +1613,7 @@ enum EventType{ ViewfinderStarted = QCameraFeedbackControl::ViewfinderStarted, ViewfinderStopped = QCameraFeedbackControl::ViewfinderStopped, ImageCaptured = QCameraFeedbackControl::ImageCaptured, ImageSaved = QCameraFeedbackControl::ImageSaved, ImageError = QCameraFeedbackControl::ImageError, RecordingStarted = QCameraFeedbackControl::RecordingStarted, RecordingInProgress = QCameraFeedbackControl::RecordingInProgress, RecordingStopped = QCameraFeedbackControl::RecordingStopped, AutoFocusInProgress = QCameraFeedbackControl::AutoFocusInProgress, AutoFocusLocked = QCameraFeedbackControl::AutoFocusLocked, AutoFocusFailed = QCameraFeedbackControl::AutoFocusFailed}; public slots: QCameraFeedbackControl* new_QCameraFeedbackControl(QObject* parent = nullptr); -void delete_QCameraFeedbackControl(QCameraFeedbackControl* obj) { delete obj; } +void delete_QCameraFeedbackControl(QCameraFeedbackControl* obj) { delete obj; } bool isEventFeedbackEnabled(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1) const; bool py_q_isEventFeedbackEnabled(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1) const{ return (((PythonQtPublicPromoter_QCameraFeedbackControl*)theWrappedObject)->py_q_isEventFeedbackEnabled(arg__1));} bool isEventFeedbackLocked(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1) const; @@ -1632,23 +1633,23 @@ void delete_QCameraFeedbackControl(QCameraFeedbackControl* obj) { delete obj; } class PythonQtShell_QCameraFlashControl : public QCameraFlashControl { public: - PythonQtShell_QCameraFlashControl(QObject* parent = nullptr):QCameraFlashControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraFlashControl(QObject* parent = nullptr):QCameraFlashControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraFlashControl(); + ~PythonQtShell_QCameraFlashControl() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QCameraExposure::FlashModes flashMode() const; -virtual bool isFlashModeSupported(QCameraExposure::FlashModes mode) const; -virtual bool isFlashReady() const; -virtual void setFlashMode(QCameraExposure::FlashModes mode); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QCameraExposure::FlashModes flashMode() const override; +bool isFlashModeSupported(QCameraExposure::FlashModes mode) const override; +bool isFlashReady() const override; +void setFlashMode(QCameraExposure::FlashModes mode) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraFlashControl : public QCameraFlashControl @@ -1664,7 +1665,7 @@ class PythonQtWrapper_QCameraFlashControl : public QObject public: public slots: QCameraFlashControl* new_QCameraFlashControl(QObject* parent = nullptr); -void delete_QCameraFlashControl(QCameraFlashControl* obj) { delete obj; } +void delete_QCameraFlashControl(QCameraFlashControl* obj) { delete obj; } QCameraExposure::FlashModes flashMode(QCameraFlashControl* theWrappedObject) const; QCameraExposure::FlashModes py_q_flashMode(QCameraFlashControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraFlashControl*)theWrappedObject)->py_q_flashMode());} bool isFlashModeSupported(QCameraFlashControl* theWrappedObject, QCameraExposure::FlashModes mode) const; 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..74c35d077 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 @@ -25,7 +25,11 @@ #include #include #include +#include +#include +#include #include +#include #include #include #include @@ -48,9 +52,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -58,6 +64,8 @@ #include #include #include +#include +#include #include #include #include @@ -155,9 +163,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -177,9 +185,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -199,20 +207,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPointF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPointF returnValue; - void* args[1] = {NULL}; + QPointF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("customFocusPoint", methodInfo, result); } else { returnValue = *((QPointF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -232,20 +240,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -265,20 +273,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -298,20 +306,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QCameraFocus::FocusModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QCameraFocus::FocusModes returnValue; - void* args[1] = {NULL}; + QCameraFocus::FocusModes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusMode", methodInfo, result); } else { returnValue = *((QCameraFocus::FocusModes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -331,20 +339,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QCameraFocus::FocusPointMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QCameraFocus::FocusPointMode returnValue; - void* args[1] = {NULL}; + QCameraFocus::FocusPointMode returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusPointMode", methodInfo, result); } else { returnValue = *((QCameraFocus::FocusPointMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -364,20 +372,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusZones", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -397,20 +405,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCameraFocus::FocusModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&mode0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFocusModeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -430,20 +438,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCameraFocus::FocusPointMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&mode0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFocusPointModeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -463,9 +471,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -485,9 +493,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraFocus::FocusModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -507,9 +515,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraFocus::FocusPointMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -529,9 +537,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -668,9 +676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -690,9 +698,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -712,20 +720,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -745,20 +753,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -778,20 +786,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue; - void* args[1] = {NULL}; + QMediaObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -811,20 +819,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -844,9 +852,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -969,9 +977,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -991,20 +999,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&fileName0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&fileName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("capture", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1024,9 +1032,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1046,9 +1054,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1068,20 +1076,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QCameraImageCapture::DriveMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QCameraImageCapture::DriveMode returnValue; - void* args[1] = {NULL}; + QCameraImageCapture::DriveMode returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("driveMode", methodInfo, result); } else { returnValue = *((QCameraImageCapture::DriveMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1101,20 +1109,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1134,20 +1142,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1167,20 +1175,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isReadyForCapture", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1200,9 +1208,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraImageCapture::DriveMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1222,9 +1230,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1389,9 +1397,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1411,9 +1419,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1433,20 +1441,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1466,20 +1474,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1499,20 +1507,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCameraImageProcessingControl::ProcessingParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isParameterSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1532,20 +1540,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCameraImageProcessingControl::ProcessingParameter" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)¶meter0, (void*)&value1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)¶meter0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isParameterValueSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1565,20 +1573,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "QCameraImageProcessingControl::ProcessingParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)¶meter0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)¶meter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parameter", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1598,9 +1606,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraImageProcessingControl::ProcessingParameter" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¶meter0, (void*)&value1}; + void* args[3] = {nullptr, (void*)¶meter0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1620,9 +1628,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1756,20 +1764,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&deviceName0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&deviceName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cameraOrientation", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1789,20 +1797,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QCamera::Position" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QCamera::Position returnValue; - void* args[2] = {NULL, (void*)&deviceName0}; + QCamera::Position returnValue{}; + void* args[2] = {nullptr, (void*)&deviceName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cameraPosition", methodInfo, result); } else { returnValue = *((QCamera::Position*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1822,9 +1830,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1844,9 +1852,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1866,20 +1874,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1899,20 +1907,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1932,9 +1940,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1987,9 +1995,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2009,9 +2017,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2031,20 +2039,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2064,20 +2072,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2097,20 +2105,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QCamera::LockStatus" , "QCamera::LockType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QCamera::LockStatus returnValue; - void* args[2] = {NULL, (void*)&lock0}; + QCamera::LockStatus returnValue{}; + void* args[2] = {nullptr, (void*)&lock0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("lockStatus", methodInfo, result); } else { returnValue = *((QCamera::LockStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2130,9 +2138,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCamera::LockTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&locks0}; + void* args[2] = {nullptr, (void*)&locks0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2152,20 +2160,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QCamera::LockTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QCamera::LockTypes returnValue; - void* args[1] = {NULL}; + QCamera::LockTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedLocks", methodInfo, result); } else { returnValue = *((QCamera::LockTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2185,9 +2193,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2207,9 +2215,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCamera::LockTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&locks0}; + void* args[2] = {nullptr, (void*)&locks0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2272,9 +2280,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2294,9 +2302,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2316,9 +2324,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2338,9 +2346,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2360,9 +2368,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2382,9 +2390,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2404,20 +2412,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2437,9 +2445,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2459,9 +2467,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2481,9 +2489,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2503,9 +2511,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2525,9 +2533,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2547,20 +2555,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2580,20 +2588,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2613,9 +2621,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2635,20 +2643,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2668,9 +2676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2690,20 +2698,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2723,20 +2731,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2756,9 +2764,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2778,9 +2786,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2800,9 +2808,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2822,20 +2830,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2855,9 +2863,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2877,9 +2885,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2899,9 +2907,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2921,20 +2929,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue; - void* args[1] = {NULL}; + QMediaObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2954,20 +2962,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2987,20 +2995,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3020,9 +3028,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3042,9 +3050,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3064,9 +3072,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3086,9 +3094,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3108,9 +3116,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3130,20 +3138,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3163,20 +3171,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3196,9 +3204,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3218,20 +3226,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3251,9 +3259,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3273,20 +3281,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&object0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&object0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3306,9 +3314,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3328,20 +3336,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3361,9 +3369,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3383,20 +3391,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3416,9 +3424,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3438,9 +3446,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3460,9 +3468,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3514,6 +3522,11 @@ qreal PythonQtWrapper_QCameraViewfinderSettings::minimumFrameRate(QCameraViewfi return ( theWrappedObject->minimumFrameRate()); } +bool PythonQtWrapper_QCameraViewfinderSettings::__ne__(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + QCameraViewfinderSettings* PythonQtWrapper_QCameraViewfinderSettings::operator_assign(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& other) { return &( (*theWrappedObject)= other); @@ -3590,9 +3603,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3612,9 +3625,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3634,20 +3647,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3667,20 +3680,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3700,20 +3713,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QCameraViewfinderSettingsControl::ViewfinderParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)¶meter0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)¶meter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isViewfinderParameterSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3733,9 +3746,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraViewfinderSettingsControl::ViewfinderParameter" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¶meter0, (void*)&value1}; + void* args[3] = {nullptr, (void*)¶meter0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3755,9 +3768,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3777,20 +3790,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "QCameraViewfinderSettingsControl::ViewfinderParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)¶meter0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)¶meter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewfinderParameter", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3848,9 +3861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3870,9 +3883,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3892,20 +3905,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3925,20 +3938,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3958,9 +3971,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QCameraViewfinderSettings&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&settings0}; + void* args[2] = {nullptr, (void*)&settings0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3980,20 +3993,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedViewfinderSettings", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4013,9 +4026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4035,20 +4048,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QCameraViewfinderSettings"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QCameraViewfinderSettings returnValue; - void* args[1] = {NULL}; + QCameraViewfinderSettings returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewfinderSettings", methodInfo, result); } else { returnValue = *((QCameraViewfinderSettings*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4106,9 +4119,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4128,20 +4141,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qreal returnValue = 0; - void* args[1] = {NULL}; + qreal returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("currentDigitalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4161,20 +4174,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qreal returnValue = 0; - void* args[1] = {NULL}; + qreal returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("currentOpticalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4194,9 +4207,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4216,20 +4229,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4249,20 +4262,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4282,20 +4295,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qreal returnValue = 0; - void* args[1] = {NULL}; + qreal returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumDigitalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4315,20 +4328,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qreal returnValue = 0; - void* args[1] = {NULL}; + qreal returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumOpticalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4348,20 +4361,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qreal returnValue = 0; - void* args[1] = {NULL}; + qreal returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("requestedDigitalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4381,20 +4394,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qreal returnValue = 0; - void* args[1] = {NULL}; + qreal returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("requestedOpticalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4414,9 +4427,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4436,9 +4449,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&optical0, (void*)&digital1}; + void* args[3] = {nullptr, (void*)&optical0, (void*)&digital1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4514,6 +4527,11 @@ QCamera::FrameRateRange* PythonQtWrapper_QCamera__FrameRateRange::new_QCamera__F { return new PythonQtShell_QCamera__FrameRateRange(minimum, maximum); } +bool PythonQtWrapper_QCamera__FrameRateRange::__ne__(QCamera::FrameRateRange* theWrappedObject, const QCamera::FrameRateRange& r2) +{ + return ( (*theWrappedObject)!= r2); +} + bool PythonQtWrapper_QCamera__FrameRateRange::__eq__(QCamera::FrameRateRange* theWrappedObject, const QCamera::FrameRateRange& r2) { return ( (*theWrappedObject)== r2); @@ -4525,6 +4543,28 @@ PythonQtShell_QGraphicsVideoItem::~PythonQtShell_QGraphicsVideoItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QGraphicsVideoItem::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::advance(phase0); +} QRectF PythonQtShell_QGraphicsVideoItem::boundingRect() const { if (_wrapper) { @@ -4535,20 +4575,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4568,9 +4608,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4580,6 +4620,127 @@ if (_wrapper) { } QGraphicsVideoItem::childEvent(event0); } +bool PythonQtShell_QGraphicsVideoItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsVideoItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsVideoItem::contains(const QPointF& point0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::contains(point0); +} +void PythonQtShell_QGraphicsVideoItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::contextMenuEvent(event0); +} void PythonQtShell_QGraphicsVideoItem::customEvent(QEvent* event0) { if (_wrapper) { @@ -4590,9 +4751,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4602,6 +4763,94 @@ if (_wrapper) { } QGraphicsVideoItem::customEvent(event0); } +void PythonQtShell_QGraphicsVideoItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::dropEvent(event0); +} bool PythonQtShell_QGraphicsVideoItem::event(QEvent* ev0) { if (_wrapper) { @@ -4612,20 +4861,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&ev0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4645,20 +4894,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4668,88 +4917,74 @@ if (_wrapper) { } return QGraphicsVideoItem::eventFilter(watched0, event1); } -QVariant PythonQtShell_QGraphicsVideoItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +QVariant PythonQtShell_QGraphicsVideoItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsVideoItem::itemChange(change0, value1); + return QGraphicsVideoItem::extension(variant0); } -QMediaObject* PythonQtShell_QGraphicsVideoItem::mediaObject() const +void PythonQtShell_QGraphicsVideoItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mediaObject"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMediaObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); - } else { - returnValue = *((QMediaObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsVideoItem::mediaObject(); + QGraphicsVideoItem::focusInEvent(event0); } -void PythonQtShell_QGraphicsVideoItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsVideoItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4757,54 +4992,43 @@ if (_wrapper) { } } } - QGraphicsVideoItem::paint(painter0, option1, widget2); + QGraphicsVideoItem::focusOutEvent(event0); } -bool PythonQtShell_QGraphicsVideoItem::setMediaObject(QMediaObject* object0) +void PythonQtShell_QGraphicsVideoItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setMediaObject"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QMediaObject*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&object0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsVideoItem::setMediaObject(object0); + QGraphicsVideoItem::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsVideoItem::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsVideoItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4812,38 +5036,658 @@ if (_wrapper) { } } } - QGraphicsVideoItem::timerEvent(event0); + QGraphicsVideoItem::hoverLeaveEvent(event0); } -QGraphicsVideoItem* PythonQtWrapper_QGraphicsVideoItem::new_QGraphicsVideoItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsVideoItem(parent); } - -const QMetaObject* PythonQtShell_QGraphicsVideoItem::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsVideoItem::staticMetaObject); - } else { - return &QGraphicsVideoItem::staticMetaObject; +void PythonQtShell_QGraphicsVideoItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } } } -int PythonQtShell_QGraphicsVideoItem::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsVideoItem::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + QGraphicsVideoItem::hoverMoveEvent(event0); } -Qt::AspectRatioMode PythonQtWrapper_QGraphicsVideoItem::aspectRatioMode(QGraphicsVideoItem* theWrappedObject) const +void PythonQtShell_QGraphicsVideoItem::inputMethodEvent(QInputMethodEvent* event0) { - return ( theWrappedObject->aspectRatioMode()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsVideoItem::boundingRect(QGraphicsVideoItem* theWrappedObject) const + QGraphicsVideoItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsVideoItem::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsVideoItem::isObscuredBy(const QGraphicsItem* item0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isObscuredBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::isObscuredBy(item0); +} +QVariant PythonQtShell_QGraphicsVideoItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsVideoItem::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::keyReleaseEvent(event0); +} +QMediaObject* PythonQtShell_QGraphicsVideoItem::mediaObject() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mediaObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QMediaObject* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); + } else { + returnValue = *((QMediaObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::mediaObject(); +} +void PythonQtShell_QGraphicsVideoItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->boundingRect()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::mouseDoubleClickEvent(event0); } +void PythonQtShell_QGraphicsVideoItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsVideoItem::opaqueArea() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("opaqueArea"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::opaqueArea(); +} +void PythonQtShell_QGraphicsVideoItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::paint(painter0, option1, widget2); +} +bool PythonQtShell_QGraphicsVideoItem::sceneEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsVideoItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsVideoItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::setExtension(extension0, variant1); +} +bool PythonQtShell_QGraphicsVideoItem::setMediaObject(QMediaObject* object0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setMediaObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QMediaObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&object0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::setMediaObject(object0); +} +QPainterPath PythonQtShell_QGraphicsVideoItem::shape() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::shape(); +} +bool PythonQtShell_QGraphicsVideoItem::supportsExtension(QGraphicsItem::Extension extension0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::supportsExtension(extension0); +} +void PythonQtShell_QGraphicsVideoItem::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::timerEvent(event0); +} +int PythonQtShell_QGraphicsVideoItem::type() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::type(); +} +void PythonQtShell_QGraphicsVideoItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::wheelEvent(event0); +} +QGraphicsVideoItem* PythonQtWrapper_QGraphicsVideoItem::new_QGraphicsVideoItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsVideoItem(parent); } -QVariant PythonQtWrapper_QGraphicsVideoItem::itemChange(QGraphicsVideoItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) +const QMetaObject* PythonQtShell_QGraphicsVideoItem::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsVideoItem::staticMetaObject); + } else { + return &QGraphicsVideoItem::staticMetaObject; + } +} +int PythonQtShell_QGraphicsVideoItem::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsVideoItem::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::AspectRatioMode PythonQtWrapper_QGraphicsVideoItem::aspectRatioMode(QGraphicsVideoItem* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->promoted_itemChange(change, value)); + return ( theWrappedObject->aspectRatioMode()); } QSizeF PythonQtWrapper_QGraphicsVideoItem::nativeSize(QGraphicsVideoItem* theWrappedObject) const @@ -4856,11 +5700,6 @@ QPointF PythonQtWrapper_QGraphicsVideoItem::offset(QGraphicsVideoItem* theWrapp return ( theWrappedObject->offset()); } -void PythonQtWrapper_QGraphicsVideoItem::paint(QGraphicsVideoItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - void PythonQtWrapper_QGraphicsVideoItem::setAspectRatioMode(QGraphicsVideoItem* theWrappedObject, Qt::AspectRatioMode mode) { ( theWrappedObject->setAspectRatioMode(mode)); @@ -4897,9 +5736,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4919,9 +5758,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4941,20 +5780,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4974,20 +5813,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5007,20 +5846,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&codec0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&codec0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("imageCodecDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5040,20 +5879,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QImageEncoderSettings"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QImageEncoderSettings returnValue; - void* args[1] = {NULL}; + QImageEncoderSettings returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("imageSettings", methodInfo, result); } else { returnValue = *((QImageEncoderSettings*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5073,9 +5912,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QImageEncoderSettings&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&settings0}; + void* args[2] = {nullptr, (void*)&settings0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5095,20 +5934,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedImageCodecs", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5128,20 +5967,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QImageEncoderSettings&" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QList returnValue; - void* args[3] = {NULL, (void*)&settings0, (void*)&continuous1}; + QList returnValue{}; + void* args[3] = {nullptr, (void*)&settings0, (void*)&continuous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedResolutions", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5161,9 +6000,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5316,9 +6155,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5338,9 +6177,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5360,20 +6199,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5393,20 +6232,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5426,9 +6265,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5471,20 +6310,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMultimedia::AvailabilityStatus returnValue; - void* args[1] = {NULL}; + QMultimedia::AvailabilityStatus returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); } else { returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5504,9 +6343,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5526,9 +6365,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5548,20 +6387,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5581,20 +6420,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5614,9 +6453,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5664,20 +6503,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue; - void* args[1] = {NULL}; + QMediaObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5685,7 +6524,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } bool PythonQtShell_QMediaBindableInterface::setMediaObject(QMediaObject* object0) { @@ -5697,20 +6536,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&object0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&object0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5750,9 +6589,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5772,20 +6611,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&formatMimeType0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&formatMimeType0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("containerDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5805,20 +6644,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("containerFormat", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5838,9 +6677,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5860,20 +6699,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5893,20 +6732,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5926,9 +6765,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5948,20 +6787,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedContainers", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5981,9 +6820,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6121,9 +6960,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6143,9 +6982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6165,20 +7004,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6198,20 +7037,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6231,9 +7070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6276,9 +7115,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6298,20 +7137,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qreal returnValue = 0; - void* args[1] = {NULL}; + qreal returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("crossfadeTime", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6331,9 +7170,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6353,20 +7192,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6386,20 +7225,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6419,20 +7258,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isCrossfadeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6452,20 +7291,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaContent"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaContent returnValue; - void* args[1] = {NULL}; + QMediaContent returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextMedia", methodInfo, result); } else { returnValue = *((QMediaContent*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6485,9 +7324,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&crossfadeTime0}; + void* args[2] = {nullptr, (void*)&crossfadeTime0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6507,9 +7346,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMediaContent&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&media0}; + void* args[2] = {nullptr, (void*)&media0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6529,9 +7368,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6599,9 +7438,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6621,20 +7460,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QNetworkConfiguration"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QNetworkConfiguration returnValue; - void* args[1] = {NULL}; + QNetworkConfiguration returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("currentConfiguration", methodInfo, result); } else { returnValue = *((QNetworkConfiguration*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6654,9 +7493,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6676,20 +7515,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6709,20 +7548,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6742,9 +7581,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&configuration0}; + void* args[2] = {nullptr, (void*)&configuration0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6764,9 +7603,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6819,20 +7658,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMultimedia::AvailabilityStatus returnValue; - void* args[1] = {NULL}; + QMultimedia::AvailabilityStatus returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); } else { returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6852,20 +7691,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6885,9 +7724,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6907,9 +7746,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6929,20 +7768,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6962,20 +7801,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6995,20 +7834,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7028,20 +7867,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaService* returnValue; - void* args[1] = {NULL}; + QMediaService* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7061,9 +7900,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7083,9 +7922,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7188,20 +8027,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMultimedia::AvailabilityStatus returnValue; - void* args[1] = {NULL}; + QMultimedia::AvailabilityStatus returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); } else { returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7221,20 +8060,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7254,9 +8093,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7276,9 +8115,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7298,20 +8137,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7331,20 +8170,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7364,20 +8203,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7397,20 +8236,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaService* returnValue; - void* args[1] = {NULL}; + QMediaService* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7430,9 +8269,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7452,9 +8291,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7642,20 +8481,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaTimeRange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaTimeRange returnValue; - void* args[1] = {NULL}; + QMediaTimeRange returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availablePlaybackRanges", methodInfo, result); } else { returnValue = *((QMediaTimeRange*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7675,20 +8514,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferStatus", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7708,9 +8547,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7730,9 +8569,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7752,20 +8591,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7785,20 +8624,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7818,20 +8657,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7851,20 +8690,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAudioAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7884,20 +8723,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isMuted", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7917,20 +8756,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSeekable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7950,20 +8789,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isVideoAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7983,20 +8822,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaContent"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaContent returnValue; - void* args[1] = {NULL}; + QMediaContent returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("media", methodInfo, result); } else { returnValue = *((QMediaContent*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8016,20 +8855,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaPlayer::MediaStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaPlayer::MediaStatus returnValue; - void* args[1] = {NULL}; + QMediaPlayer::MediaStatus returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaStatus", methodInfo, result); } else { returnValue = *((QMediaPlayer::MediaStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8049,20 +8888,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"const QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - const QIODevice* returnValue; - void* args[1] = {NULL}; + const QIODevice* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaStream", methodInfo, result); } else { returnValue = *((const QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8070,7 +8909,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QMediaPlayerControl::pause() { @@ -8082,9 +8921,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8104,9 +8943,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8126,20 +8965,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qreal returnValue = 0; - void* args[1] = {NULL}; + qreal returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("playbackRate", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8159,20 +8998,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("position", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8192,9 +9031,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMediaContent&" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&media0, (void*)&stream1}; + void* args[3] = {nullptr, (void*)&media0, (void*)&stream1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8214,9 +9053,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mute0}; + void* args[2] = {nullptr, (void*)&mute0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8236,9 +9075,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rate0}; + void* args[2] = {nullptr, (void*)&rate0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8258,9 +9097,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&position0}; + void* args[2] = {nullptr, (void*)&position0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8280,9 +9119,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&volume0}; + void* args[2] = {nullptr, (void*)&volume0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8302,20 +9141,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaPlayer::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaPlayer::State returnValue; - void* args[1] = {NULL}; + QMediaPlayer::State returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QMediaPlayer::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8335,9 +9174,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8357,9 +9196,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8379,20 +9218,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h index 2077ac8e0..d6590e758 100644 --- a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h +++ b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h @@ -30,7 +30,11 @@ #include #include #include +#include +#include +#include #include +#include #include #include #include @@ -62,9 +66,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -72,6 +78,8 @@ #include #include #include +#include +#include #include #include #include @@ -113,28 +121,28 @@ public slots: class PythonQtShell_QCameraFocusControl : public QCameraFocusControl { public: - PythonQtShell_QCameraFocusControl(QObject* parent = nullptr):QCameraFocusControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCameraFocusControl(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual QPointF customFocusPoint() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QCameraFocus::FocusModes focusMode() const; -virtual QCameraFocus::FocusPointMode focusPointMode() const; -virtual QList focusZones() const; -virtual bool isFocusModeSupported(QCameraFocus::FocusModes mode) const; -virtual bool isFocusPointModeSupported(QCameraFocus::FocusPointMode mode) const; -virtual void setCustomFocusPoint(const QPointF& point); -virtual void setFocusMode(QCameraFocus::FocusModes mode); -virtual void setFocusPointMode(QCameraFocus::FocusPointMode mode); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QCameraFocusControl(QObject* parent = nullptr):QCameraFocusControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraFocusControl() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QPointF customFocusPoint() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QCameraFocus::FocusModes focusMode() const override; +QCameraFocus::FocusPointMode focusPointMode() const override; +QList focusZones() const override; +bool isFocusModeSupported(QCameraFocus::FocusModes mode) const override; +bool isFocusPointModeSupported(QCameraFocus::FocusPointMode mode) const override; +void setCustomFocusPoint(const QPointF& point) override; +void setFocusMode(QCameraFocus::FocusModes mode) override; +void setFocusPointMode(QCameraFocus::FocusPointMode mode) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraFocusControl : public QCameraFocusControl @@ -155,7 +163,7 @@ class PythonQtWrapper_QCameraFocusControl : public QObject public: public slots: QCameraFocusControl* new_QCameraFocusControl(QObject* parent = nullptr); -void delete_QCameraFocusControl(QCameraFocusControl* obj) { delete obj; } +void delete_QCameraFocusControl(QCameraFocusControl* obj) { delete obj; } QPointF customFocusPoint(QCameraFocusControl* theWrappedObject) const; QPointF py_q_customFocusPoint(QCameraFocusControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraFocusControl*)theWrappedObject)->py_q_customFocusPoint());} QCameraFocus::FocusModes focusMode(QCameraFocusControl* theWrappedObject) const; @@ -190,7 +198,7 @@ public slots: QCameraFocusZone* new_QCameraFocusZone(); QCameraFocusZone* new_QCameraFocusZone(const QCameraFocusZone& other); QCameraFocusZone* new_QCameraFocusZone(const QRectF& area, QCameraFocusZone::FocusZoneStatus status = QCameraFocusZone::Selected); -void delete_QCameraFocusZone(QCameraFocusZone* obj) { delete obj; } +void delete_QCameraFocusZone(QCameraFocusZone* obj) { delete obj; } QRectF area(QCameraFocusZone* theWrappedObject) const; bool isValid(QCameraFocusZone* theWrappedObject) const; bool __ne__(QCameraFocusZone* theWrappedObject, const QCameraFocusZone& other) const; @@ -208,21 +216,21 @@ void delete_QCameraFocusZone(QCameraFocusZone* obj) { delete obj; } class PythonQtShell_QCameraImageCapture : public QCameraImageCapture { public: - PythonQtShell_QCameraImageCapture(QMediaObject* mediaObject, QObject* parent = nullptr):QCameraImageCapture(mediaObject, parent),_wrapper(NULL) {}; + PythonQtShell_QCameraImageCapture(QMediaObject* mediaObject, QObject* parent = nullptr):QCameraImageCapture(mediaObject, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraImageCapture(); + ~PythonQtShell_QCameraImageCapture() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* arg__1); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* arg__1) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraImageCapture : public QCameraImageCapture @@ -244,7 +252,7 @@ enum DriveMode{ Q_DECLARE_FLAGS(CaptureDestinations, CaptureDestination) public slots: QCameraImageCapture* new_QCameraImageCapture(QMediaObject* mediaObject, QObject* parent = nullptr); -void delete_QCameraImageCapture(QCameraImageCapture* obj) { delete obj; } +void delete_QCameraImageCapture(QCameraImageCapture* obj) { delete obj; } QMultimedia::AvailabilityStatus availability(QCameraImageCapture* theWrappedObject) const; QVideoFrame::PixelFormat bufferFormat(QCameraImageCapture* theWrappedObject) const; QCameraImageCapture::CaptureDestinations captureDestination(QCameraImageCapture* theWrappedObject) const; @@ -272,24 +280,24 @@ void delete_QCameraImageCapture(QCameraImageCapture* obj) { delete obj; } class PythonQtShell_QCameraImageCaptureControl : public QCameraImageCaptureControl { public: - PythonQtShell_QCameraImageCaptureControl(QObject* parent = nullptr):QCameraImageCaptureControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraImageCaptureControl(QObject* parent = nullptr):QCameraImageCaptureControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraImageCaptureControl(); + ~PythonQtShell_QCameraImageCaptureControl() override; -virtual void cancelCapture(); -virtual int capture(const QString& fileName); -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual QCameraImageCapture::DriveMode driveMode() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isReadyForCapture() const; -virtual void setDriveMode(QCameraImageCapture::DriveMode mode); -virtual void timerEvent(QTimerEvent* event); +void cancelCapture() override; +int capture(const QString& fileName) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QCameraImageCapture::DriveMode driveMode() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isReadyForCapture() const override; +void setDriveMode(QCameraImageCapture::DriveMode mode) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraImageCaptureControl : public QCameraImageCaptureControl @@ -306,7 +314,7 @@ class PythonQtWrapper_QCameraImageCaptureControl : public QObject public: public slots: QCameraImageCaptureControl* new_QCameraImageCaptureControl(QObject* parent = nullptr); -void delete_QCameraImageCaptureControl(QCameraImageCaptureControl* obj) { delete obj; } +void delete_QCameraImageCaptureControl(QCameraImageCaptureControl* obj) { delete obj; } void cancelCapture(QCameraImageCaptureControl* theWrappedObject); void py_q_cancelCapture(QCameraImageCaptureControl* theWrappedObject){ (((PythonQtPublicPromoter_QCameraImageCaptureControl*)theWrappedObject)->py_q_cancelCapture());} int capture(QCameraImageCaptureControl* theWrappedObject, const QString& fileName); @@ -355,23 +363,23 @@ public slots: class PythonQtShell_QCameraImageProcessingControl : public QCameraImageProcessingControl { public: - PythonQtShell_QCameraImageProcessingControl(QObject* parent = nullptr):QCameraImageProcessingControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraImageProcessingControl(QObject* parent = nullptr):QCameraImageProcessingControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraImageProcessingControl(); + ~PythonQtShell_QCameraImageProcessingControl() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isParameterSupported(QCameraImageProcessingControl::ProcessingParameter arg__1) const; -virtual bool isParameterValueSupported(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) const; -virtual QVariant parameter(QCameraImageProcessingControl::ProcessingParameter parameter) const; -virtual void setParameter(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isParameterSupported(QCameraImageProcessingControl::ProcessingParameter arg__1) const override; +bool isParameterValueSupported(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) const override; +QVariant parameter(QCameraImageProcessingControl::ProcessingParameter parameter) const override; +void setParameter(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraImageProcessingControl : public QCameraImageProcessingControl @@ -387,7 +395,7 @@ class PythonQtWrapper_QCameraImageProcessingControl : public QObject public: public slots: QCameraImageProcessingControl* new_QCameraImageProcessingControl(QObject* parent = nullptr); -void delete_QCameraImageProcessingControl(QCameraImageProcessingControl* obj) { delete obj; } +void delete_QCameraImageProcessingControl(QCameraImageProcessingControl* obj) { delete obj; } bool isParameterSupported(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter arg__1) const; bool py_q_isParameterSupported(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter arg__1) const{ return (((PythonQtPublicPromoter_QCameraImageProcessingControl*)theWrappedObject)->py_q_isParameterSupported(arg__1));} bool isParameterValueSupported(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) const; @@ -409,7 +417,7 @@ public slots: QCameraInfo* new_QCameraInfo(const QByteArray& name = QByteArray()); QCameraInfo* new_QCameraInfo(const QCamera& camera); QCameraInfo* new_QCameraInfo(const QCameraInfo& other); -void delete_QCameraInfo(QCameraInfo* obj) { delete obj; } +void delete_QCameraInfo(QCameraInfo* obj) { delete obj; } QList static_QCameraInfo_availableCameras(QCamera::Position position = QCamera::UnspecifiedPosition); QCameraInfo static_QCameraInfo_defaultCamera(); QString description(QCameraInfo* theWrappedObject) const; @@ -431,21 +439,21 @@ void delete_QCameraInfo(QCameraInfo* obj) { delete obj; } class PythonQtShell_QCameraInfoControl : public QCameraInfoControl { public: - PythonQtShell_QCameraInfoControl(QObject* parent = nullptr):QCameraInfoControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraInfoControl(QObject* parent = nullptr):QCameraInfoControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraInfoControl(); + ~PythonQtShell_QCameraInfoControl() override; -virtual int cameraOrientation(const QString& deviceName) const; -virtual QCamera::Position cameraPosition(const QString& deviceName) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +int cameraOrientation(const QString& deviceName) const override; +QCamera::Position cameraPosition(const QString& deviceName) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraInfoControl : public QCameraInfoControl @@ -459,7 +467,7 @@ class PythonQtWrapper_QCameraInfoControl : public QObject public: public slots: QCameraInfoControl* new_QCameraInfoControl(QObject* parent = nullptr); -void delete_QCameraInfoControl(QCameraInfoControl* obj) { delete obj; } +void delete_QCameraInfoControl(QCameraInfoControl* obj) { delete obj; } int cameraOrientation(QCameraInfoControl* theWrappedObject, const QString& deviceName) const; int py_q_cameraOrientation(QCameraInfoControl* theWrappedObject, const QString& deviceName) const{ return (((PythonQtPublicPromoter_QCameraInfoControl*)theWrappedObject)->py_q_cameraOrientation(deviceName));} QCamera::Position cameraPosition(QCameraInfoControl* theWrappedObject, const QString& deviceName) const; @@ -473,23 +481,23 @@ void delete_QCameraInfoControl(QCameraInfoControl* obj) { delete obj; } class PythonQtShell_QCameraLocksControl : public QCameraLocksControl { public: - PythonQtShell_QCameraLocksControl(QObject* parent = nullptr):QCameraLocksControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraLocksControl(QObject* parent = nullptr):QCameraLocksControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraLocksControl(); + ~PythonQtShell_QCameraLocksControl() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QCamera::LockStatus lockStatus(QCamera::LockType lock) const; -virtual void searchAndLock(QCamera::LockTypes locks); -virtual QCamera::LockTypes supportedLocks() const; -virtual void timerEvent(QTimerEvent* event); -virtual void unlock(QCamera::LockTypes locks); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QCamera::LockStatus lockStatus(QCamera::LockType lock) const override; +void searchAndLock(QCamera::LockTypes locks) override; +QCamera::LockTypes supportedLocks() const override; +void timerEvent(QTimerEvent* event) override; +void unlock(QCamera::LockTypes locks) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraLocksControl : public QCameraLocksControl @@ -505,7 +513,7 @@ class PythonQtWrapper_QCameraLocksControl : public QObject public: public slots: QCameraLocksControl* new_QCameraLocksControl(QObject* parent = nullptr); -void delete_QCameraLocksControl(QCameraLocksControl* obj) { delete obj; } +void delete_QCameraLocksControl(QCameraLocksControl* obj) { delete obj; } QCamera::LockStatus lockStatus(QCameraLocksControl* theWrappedObject, QCamera::LockType lock) const; QCamera::LockStatus py_q_lockStatus(QCameraLocksControl* theWrappedObject, QCamera::LockType lock) const{ return (((PythonQtPublicPromoter_QCameraLocksControl*)theWrappedObject)->py_q_lockStatus(lock));} void searchAndLock(QCameraLocksControl* theWrappedObject, QCamera::LockTypes locks); @@ -523,61 +531,61 @@ void delete_QCameraLocksControl(QCameraLocksControl* obj) { delete obj; } class PythonQtShell_QCameraViewfinder : public QCameraViewfinder { public: - PythonQtShell_QCameraViewfinder(QWidget* parent = nullptr):QCameraViewfinder(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCameraViewfinder(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual QMediaObject* mediaObject() const; -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual bool setMediaObject(QMediaObject* object); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QCameraViewfinder(QWidget* parent = nullptr):QCameraViewfinder(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraViewfinder() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +QMediaObject* mediaObject() const override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +bool setMediaObject(QMediaObject* object) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraViewfinder : public QCameraViewfinder @@ -592,7 +600,7 @@ class PythonQtWrapper_QCameraViewfinder : public QObject public: public slots: QCameraViewfinder* new_QCameraViewfinder(QWidget* parent = nullptr); -void delete_QCameraViewfinder(QCameraViewfinder* obj) { delete obj; } +void delete_QCameraViewfinder(QCameraViewfinder* obj) { delete obj; } QMediaObject* py_q_mediaObject(QCameraViewfinder* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraViewfinder*)theWrappedObject)->py_q_mediaObject());} bool py_q_setMediaObject(QCameraViewfinder* theWrappedObject, QMediaObject* object){ return (((PythonQtPublicPromoter_QCameraViewfinder*)theWrappedObject)->py_q_setMediaObject(object));} }; @@ -607,10 +615,11 @@ class PythonQtWrapper_QCameraViewfinderSettings : public QObject public slots: QCameraViewfinderSettings* new_QCameraViewfinderSettings(); QCameraViewfinderSettings* new_QCameraViewfinderSettings(const QCameraViewfinderSettings& other); -void delete_QCameraViewfinderSettings(QCameraViewfinderSettings* obj) { delete obj; } +void delete_QCameraViewfinderSettings(QCameraViewfinderSettings* obj) { delete obj; } bool isNull(QCameraViewfinderSettings* theWrappedObject) const; qreal maximumFrameRate(QCameraViewfinderSettings* theWrappedObject) const; qreal minimumFrameRate(QCameraViewfinderSettings* theWrappedObject) const; + bool __ne__(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& rhs); QCameraViewfinderSettings* operator_assign(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& other); QSize pixelAspectRatio(QCameraViewfinderSettings* theWrappedObject) const; QVideoFrame::PixelFormat pixelFormat(QCameraViewfinderSettings* theWrappedObject) const; @@ -633,22 +642,22 @@ void delete_QCameraViewfinderSettings(QCameraViewfinderSettings* obj) { delete o class PythonQtShell_QCameraViewfinderSettingsControl : public QCameraViewfinderSettingsControl { public: - PythonQtShell_QCameraViewfinderSettingsControl(QObject* parent = nullptr):QCameraViewfinderSettingsControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraViewfinderSettingsControl(QObject* parent = nullptr):QCameraViewfinderSettingsControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraViewfinderSettingsControl(); + ~PythonQtShell_QCameraViewfinderSettingsControl() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isViewfinderParameterSupported(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const; -virtual void setViewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter, const QVariant& value); -virtual void timerEvent(QTimerEvent* event); -virtual QVariant viewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isViewfinderParameterSupported(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const override; +void setViewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter, const QVariant& value) override; +void timerEvent(QTimerEvent* event) override; +QVariant viewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraViewfinderSettingsControl : public QCameraViewfinderSettingsControl @@ -666,7 +675,7 @@ enum ViewfinderParameter{ Resolution = QCameraViewfinderSettingsControl::Resolution, PixelAspectRatio = QCameraViewfinderSettingsControl::PixelAspectRatio, MinimumFrameRate = QCameraViewfinderSettingsControl::MinimumFrameRate, MaximumFrameRate = QCameraViewfinderSettingsControl::MaximumFrameRate, PixelFormat = QCameraViewfinderSettingsControl::PixelFormat, UserParameter = QCameraViewfinderSettingsControl::UserParameter}; public slots: QCameraViewfinderSettingsControl* new_QCameraViewfinderSettingsControl(QObject* parent = nullptr); -void delete_QCameraViewfinderSettingsControl(QCameraViewfinderSettingsControl* obj) { delete obj; } +void delete_QCameraViewfinderSettingsControl(QCameraViewfinderSettingsControl* obj) { delete obj; } bool isViewfinderParameterSupported(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const; bool py_q_isViewfinderParameterSupported(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const{ return (((PythonQtPublicPromoter_QCameraViewfinderSettingsControl*)theWrappedObject)->py_q_isViewfinderParameterSupported(parameter));} void setViewfinderParameter(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter, const QVariant& value); @@ -682,22 +691,22 @@ void delete_QCameraViewfinderSettingsControl(QCameraViewfinderSettingsControl* o class PythonQtShell_QCameraViewfinderSettingsControl2 : public QCameraViewfinderSettingsControl2 { public: - PythonQtShell_QCameraViewfinderSettingsControl2(QObject* parent = nullptr):QCameraViewfinderSettingsControl2(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraViewfinderSettingsControl2(QObject* parent = nullptr):QCameraViewfinderSettingsControl2(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraViewfinderSettingsControl2(); + ~PythonQtShell_QCameraViewfinderSettingsControl2() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void setViewfinderSettings(const QCameraViewfinderSettings& settings); -virtual QList supportedViewfinderSettings() const; -virtual void timerEvent(QTimerEvent* event); -virtual QCameraViewfinderSettings viewfinderSettings() const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setViewfinderSettings(const QCameraViewfinderSettings& settings) override; +QList supportedViewfinderSettings() const override; +void timerEvent(QTimerEvent* event) override; +QCameraViewfinderSettings viewfinderSettings() const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraViewfinderSettingsControl2 : public QCameraViewfinderSettingsControl2 @@ -712,7 +721,7 @@ class PythonQtWrapper_QCameraViewfinderSettingsControl2 : public QObject public: public slots: QCameraViewfinderSettingsControl2* new_QCameraViewfinderSettingsControl2(QObject* parent = nullptr); -void delete_QCameraViewfinderSettingsControl2(QCameraViewfinderSettingsControl2* obj) { delete obj; } +void delete_QCameraViewfinderSettingsControl2(QCameraViewfinderSettingsControl2* obj) { delete obj; } void setViewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject, const QCameraViewfinderSettings& settings); void py_q_setViewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject, const QCameraViewfinderSettings& settings){ (((PythonQtPublicPromoter_QCameraViewfinderSettingsControl2*)theWrappedObject)->py_q_setViewfinderSettings(settings));} QList supportedViewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject) const; @@ -728,26 +737,26 @@ void delete_QCameraViewfinderSettingsControl2(QCameraViewfinderSettingsControl2* class PythonQtShell_QCameraZoomControl : public QCameraZoomControl { public: - PythonQtShell_QCameraZoomControl(QObject* parent = nullptr):QCameraZoomControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraZoomControl(QObject* parent = nullptr):QCameraZoomControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraZoomControl(); + ~PythonQtShell_QCameraZoomControl() override; -virtual void childEvent(QChildEvent* event); -virtual qreal currentDigitalZoom() const; -virtual qreal currentOpticalZoom() const; -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual qreal maximumDigitalZoom() const; -virtual qreal maximumOpticalZoom() const; -virtual qreal requestedDigitalZoom() const; -virtual qreal requestedOpticalZoom() const; -virtual void timerEvent(QTimerEvent* event); -virtual void zoomTo(qreal optical, qreal digital); +void childEvent(QChildEvent* event) override; +qreal currentDigitalZoom() const override; +qreal currentOpticalZoom() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +qreal maximumDigitalZoom() const override; +qreal maximumOpticalZoom() const override; +qreal requestedDigitalZoom() const override; +qreal requestedOpticalZoom() const override; +void timerEvent(QTimerEvent* event) override; +void zoomTo(qreal optical, qreal digital) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraZoomControl : public QCameraZoomControl @@ -766,7 +775,7 @@ class PythonQtWrapper_QCameraZoomControl : public QObject public: public slots: QCameraZoomControl* new_QCameraZoomControl(QObject* parent = nullptr); -void delete_QCameraZoomControl(QCameraZoomControl* obj) { delete obj; } +void delete_QCameraZoomControl(QCameraZoomControl* obj) { delete obj; } qreal currentDigitalZoom(QCameraZoomControl* theWrappedObject) const; qreal py_q_currentDigitalZoom(QCameraZoomControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraZoomControl*)theWrappedObject)->py_q_currentDigitalZoom());} qreal currentOpticalZoom(QCameraZoomControl* theWrappedObject) const; @@ -790,13 +799,13 @@ void delete_QCameraZoomControl(QCameraZoomControl* obj) { delete obj; } class PythonQtShell_QCamera__FrameRateRange : public QCamera::FrameRateRange { public: - PythonQtShell_QCamera__FrameRateRange():QCamera::FrameRateRange(),_wrapper(NULL) {}; - PythonQtShell_QCamera__FrameRateRange(qreal minimum, qreal maximum):QCamera::FrameRateRange(minimum, maximum),_wrapper(NULL) {}; + PythonQtShell_QCamera__FrameRateRange():QCamera::FrameRateRange(),_wrapper(nullptr) {}; + PythonQtShell_QCamera__FrameRateRange(qreal minimum, qreal maximum):QCamera::FrameRateRange(minimum, maximum),_wrapper(nullptr) {}; ~PythonQtShell_QCamera__FrameRateRange(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QCamera__FrameRateRange : public QObject @@ -805,7 +814,8 @@ class PythonQtWrapper_QCamera__FrameRateRange : public QObject public slots: QCamera::FrameRateRange* new_QCamera__FrameRateRange(); QCamera::FrameRateRange* new_QCamera__FrameRateRange(qreal minimum, qreal maximum); -void delete_QCamera__FrameRateRange(QCamera::FrameRateRange* obj) { delete obj; } +void delete_QCamera__FrameRateRange(QCamera::FrameRateRange* obj) { delete obj; } + bool __ne__(QCamera::FrameRateRange* theWrappedObject, const QCamera::FrameRateRange& r2); bool __eq__(QCamera::FrameRateRange* theWrappedObject, const QCamera::FrameRateRange& r2); void py_set_maximumFrameRate(QCamera::FrameRateRange* theWrappedObject, qreal maximumFrameRate){ theWrappedObject->maximumFrameRate = maximumFrameRate; } qreal py_get_maximumFrameRate(QCamera::FrameRateRange* theWrappedObject){ return theWrappedObject->maximumFrameRate; } @@ -820,24 +830,56 @@ qreal py_get_minimumFrameRate(QCamera::FrameRateRange* theWrappedObject){ retur class PythonQtShell_QGraphicsVideoItem : public QGraphicsVideoItem { public: - PythonQtShell_QGraphicsVideoItem(QGraphicsItem* parent = nullptr):QGraphicsVideoItem(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsVideoItem(); - -virtual QRectF boundingRect() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* ev); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual QMediaObject* mediaObject() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual bool setMediaObject(QMediaObject* object); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsVideoItem(QGraphicsItem* parent = nullptr):QGraphicsVideoItem(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsVideoItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void childEvent(QChildEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* ev) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +QMediaObject* mediaObject() const override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +bool setMediaObject(QMediaObject* object) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsVideoItem : public QGraphicsVideoItem @@ -858,16 +900,13 @@ class PythonQtWrapper_QGraphicsVideoItem : public QObject public: public slots: QGraphicsVideoItem* new_QGraphicsVideoItem(QGraphicsItem* parent = nullptr); -void delete_QGraphicsVideoItem(QGraphicsVideoItem* obj) { delete obj; } +void delete_QGraphicsVideoItem(QGraphicsVideoItem* obj) { delete obj; } Qt::AspectRatioMode aspectRatioMode(QGraphicsVideoItem* theWrappedObject) const; - QRectF boundingRect(QGraphicsVideoItem* theWrappedObject) const; QRectF py_q_boundingRect(QGraphicsVideoItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_boundingRect());} - QVariant itemChange(QGraphicsVideoItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); QVariant py_q_itemChange(QGraphicsVideoItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_itemChange(change, value));} QMediaObject* py_q_mediaObject(QGraphicsVideoItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_mediaObject());} QSizeF nativeSize(QGraphicsVideoItem* theWrappedObject) const; QPointF offset(QGraphicsVideoItem* theWrappedObject) const; - void paint(QGraphicsVideoItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsVideoItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_paint(painter, option, widget));} void setAspectRatioMode(QGraphicsVideoItem* theWrappedObject, Qt::AspectRatioMode mode); bool py_q_setMediaObject(QGraphicsVideoItem* theWrappedObject, QMediaObject* object){ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_setMediaObject(object));} @@ -884,24 +923,24 @@ void delete_QGraphicsVideoItem(QGraphicsVideoItem* obj) { delete obj; } class PythonQtShell_QImageEncoderControl : public QImageEncoderControl { public: - PythonQtShell_QImageEncoderControl(QObject* parent = nullptr):QImageEncoderControl(parent),_wrapper(NULL) {}; + PythonQtShell_QImageEncoderControl(QObject* parent = nullptr):QImageEncoderControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QImageEncoderControl(); + ~PythonQtShell_QImageEncoderControl() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QString imageCodecDescription(const QString& codec) const; -virtual QImageEncoderSettings imageSettings() const; -virtual void setImageSettings(const QImageEncoderSettings& settings); -virtual QStringList supportedImageCodecs() const; -virtual QList supportedResolutions(const QImageEncoderSettings& settings, bool* continuous = nullptr) const; -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString imageCodecDescription(const QString& codec) const override; +QImageEncoderSettings imageSettings() const override; +void setImageSettings(const QImageEncoderSettings& settings) override; +QStringList supportedImageCodecs() const override; +QList supportedResolutions(const QImageEncoderSettings& settings, bool* continuous = nullptr) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QImageEncoderControl : public QImageEncoderControl @@ -918,7 +957,7 @@ class PythonQtWrapper_QImageEncoderControl : public QObject public: public slots: QImageEncoderControl* new_QImageEncoderControl(QObject* parent = nullptr); -void delete_QImageEncoderControl(QImageEncoderControl* obj) { delete obj; } +void delete_QImageEncoderControl(QImageEncoderControl* obj) { delete obj; } QString imageCodecDescription(QImageEncoderControl* theWrappedObject, const QString& codec) const; QString py_q_imageCodecDescription(QImageEncoderControl* theWrappedObject, const QString& codec) const{ return (((PythonQtPublicPromoter_QImageEncoderControl*)theWrappedObject)->py_q_imageCodecDescription(codec));} QImageEncoderSettings imageSettings(QImageEncoderControl* theWrappedObject) const; @@ -941,7 +980,7 @@ class PythonQtWrapper_QImageEncoderSettings : public QObject public slots: QImageEncoderSettings* new_QImageEncoderSettings(); QImageEncoderSettings* new_QImageEncoderSettings(const QImageEncoderSettings& other); -void delete_QImageEncoderSettings(QImageEncoderSettings* obj) { delete obj; } +void delete_QImageEncoderSettings(QImageEncoderSettings* obj) { delete obj; } QString codec(QImageEncoderSettings* theWrappedObject) const; QVariant encodingOption(QImageEncoderSettings* theWrappedObject, const QString& option) const; QMap encodingOptions(QImageEncoderSettings* theWrappedObject) const; @@ -967,19 +1006,19 @@ void delete_QImageEncoderSettings(QImageEncoderSettings* obj) { delete obj; } class PythonQtShell_QMediaAudioProbeControl : public QMediaAudioProbeControl { public: - PythonQtShell_QMediaAudioProbeControl(QObject* parent = nullptr):QMediaAudioProbeControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaAudioProbeControl(QObject* parent = nullptr):QMediaAudioProbeControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaAudioProbeControl(); + ~PythonQtShell_QMediaAudioProbeControl() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMediaAudioProbeControl : public QObject @@ -987,7 +1026,7 @@ class PythonQtWrapper_QMediaAudioProbeControl : public QObject public: public slots: QMediaAudioProbeControl* new_QMediaAudioProbeControl(QObject* parent = nullptr); -void delete_QMediaAudioProbeControl(QMediaAudioProbeControl* obj) { delete obj; } +void delete_QMediaAudioProbeControl(QMediaAudioProbeControl* obj) { delete obj; } }; @@ -997,20 +1036,20 @@ void delete_QMediaAudioProbeControl(QMediaAudioProbeControl* obj) { delete obj; class PythonQtShell_QMediaAvailabilityControl : public QMediaAvailabilityControl { public: - PythonQtShell_QMediaAvailabilityControl(QObject* parent = nullptr):QMediaAvailabilityControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaAvailabilityControl(QObject* parent = nullptr):QMediaAvailabilityControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaAvailabilityControl(); + ~PythonQtShell_QMediaAvailabilityControl() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +QMultimedia::AvailabilityStatus availability() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaAvailabilityControl : public QMediaAvailabilityControl @@ -1023,7 +1062,7 @@ class PythonQtWrapper_QMediaAvailabilityControl : public QObject public: public slots: QMediaAvailabilityControl* new_QMediaAvailabilityControl(QObject* parent = nullptr); -void delete_QMediaAvailabilityControl(QMediaAvailabilityControl* obj) { delete obj; } +void delete_QMediaAvailabilityControl(QMediaAvailabilityControl* obj) { delete obj; } QMultimedia::AvailabilityStatus availability(QMediaAvailabilityControl* theWrappedObject) const; QMultimedia::AvailabilityStatus py_q_availability(QMediaAvailabilityControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaAvailabilityControl*)theWrappedObject)->py_q_availability());} }; @@ -1035,14 +1074,14 @@ void delete_QMediaAvailabilityControl(QMediaAvailabilityControl* obj) { delete o class PythonQtShell_QMediaBindableInterface : public QMediaBindableInterface { public: - PythonQtShell_QMediaBindableInterface():QMediaBindableInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaBindableInterface():QMediaBindableInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaBindableInterface(); + ~PythonQtShell_QMediaBindableInterface() override; -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* object); +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* object) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaBindableInterface : public QMediaBindableInterface @@ -1057,7 +1096,7 @@ class PythonQtWrapper_QMediaBindableInterface : public QObject public: public slots: QMediaBindableInterface* new_QMediaBindableInterface(); -void delete_QMediaBindableInterface(QMediaBindableInterface* obj) { delete obj; } +void delete_QMediaBindableInterface(QMediaBindableInterface* obj) { delete obj; } QMediaObject* mediaObject(QMediaBindableInterface* theWrappedObject) const; QMediaObject* py_q_mediaObject(QMediaBindableInterface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaBindableInterface*)theWrappedObject)->py_q_mediaObject());} bool setMediaObject(QMediaBindableInterface* theWrappedObject, QMediaObject* object); @@ -1071,23 +1110,23 @@ void delete_QMediaBindableInterface(QMediaBindableInterface* obj) { delete obj; class PythonQtShell_QMediaContainerControl : public QMediaContainerControl { public: - PythonQtShell_QMediaContainerControl(QObject* parent = nullptr):QMediaContainerControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaContainerControl(QObject* parent = nullptr):QMediaContainerControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaContainerControl(); + ~PythonQtShell_QMediaContainerControl() override; -virtual void childEvent(QChildEvent* event); -virtual QString containerDescription(const QString& formatMimeType) const; -virtual QString containerFormat() const; -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void setContainerFormat(const QString& format); -virtual QStringList supportedContainers() const; -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +QString containerDescription(const QString& formatMimeType) const override; +QString containerFormat() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setContainerFormat(const QString& format) override; +QStringList supportedContainers() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaContainerControl : public QMediaContainerControl @@ -1103,7 +1142,7 @@ class PythonQtWrapper_QMediaContainerControl : public QObject public: public slots: QMediaContainerControl* new_QMediaContainerControl(QObject* parent = nullptr); -void delete_QMediaContainerControl(QMediaContainerControl* obj) { delete obj; } +void delete_QMediaContainerControl(QMediaContainerControl* obj) { delete obj; } QString containerDescription(QMediaContainerControl* theWrappedObject, const QString& formatMimeType) const; QString py_q_containerDescription(QMediaContainerControl* theWrappedObject, const QString& formatMimeType) const{ return (((PythonQtPublicPromoter_QMediaContainerControl*)theWrappedObject)->py_q_containerDescription(formatMimeType));} QString containerFormat(QMediaContainerControl* theWrappedObject) const; @@ -1129,7 +1168,7 @@ QMediaContent* new_QMediaContent(const QMediaContent& other); QMediaContent* new_QMediaContent(const QMediaResource& contentResource); QMediaContent* new_QMediaContent(const QNetworkRequest& contentRequest); QMediaContent* new_QMediaContent(const QUrl& contentUrl); -void delete_QMediaContent(QMediaContent* obj) { delete obj; } +void delete_QMediaContent(QMediaContent* obj) { delete obj; } QNetworkRequest canonicalRequest(QMediaContent* theWrappedObject) const; QMediaResource canonicalResource(QMediaContent* theWrappedObject) const; QUrl canonicalUrl(QMediaContent* theWrappedObject) const; @@ -1149,19 +1188,19 @@ void delete_QMediaContent(QMediaContent* obj) { delete obj; } class PythonQtShell_QMediaControl : public QMediaControl { public: - PythonQtShell_QMediaControl(QObject* parent = nullptr):QMediaControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaControl(QObject* parent = nullptr):QMediaControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaControl(); + ~PythonQtShell_QMediaControl() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMediaControl : public QObject @@ -1169,7 +1208,7 @@ class PythonQtWrapper_QMediaControl : public QObject public: public slots: QMediaControl* new_QMediaControl(QObject* parent = nullptr); -void delete_QMediaControl(QMediaControl* obj) { delete obj; } +void delete_QMediaControl(QMediaControl* obj) { delete obj; } }; @@ -1179,24 +1218,24 @@ void delete_QMediaControl(QMediaControl* obj) { delete obj; } class PythonQtShell_QMediaGaplessPlaybackControl : public QMediaGaplessPlaybackControl { public: - PythonQtShell_QMediaGaplessPlaybackControl(QObject* parent = nullptr):QMediaGaplessPlaybackControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaGaplessPlaybackControl(QObject* parent = nullptr):QMediaGaplessPlaybackControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaGaplessPlaybackControl(); + ~PythonQtShell_QMediaGaplessPlaybackControl() override; -virtual void childEvent(QChildEvent* event); -virtual qreal crossfadeTime() const; -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isCrossfadeSupported() const; -virtual QMediaContent nextMedia() const; -virtual void setCrossfadeTime(qreal crossfadeTime); -virtual void setNextMedia(const QMediaContent& media); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +qreal crossfadeTime() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isCrossfadeSupported() const override; +QMediaContent nextMedia() const override; +void setCrossfadeTime(qreal crossfadeTime) override; +void setNextMedia(const QMediaContent& media) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaGaplessPlaybackControl : public QMediaGaplessPlaybackControl @@ -1213,7 +1252,7 @@ class PythonQtWrapper_QMediaGaplessPlaybackControl : public QObject public: public slots: QMediaGaplessPlaybackControl* new_QMediaGaplessPlaybackControl(QObject* parent = nullptr); -void delete_QMediaGaplessPlaybackControl(QMediaGaplessPlaybackControl* obj) { delete obj; } +void delete_QMediaGaplessPlaybackControl(QMediaGaplessPlaybackControl* obj) { delete obj; } qreal crossfadeTime(QMediaGaplessPlaybackControl* theWrappedObject) const; qreal py_q_crossfadeTime(QMediaGaplessPlaybackControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaGaplessPlaybackControl*)theWrappedObject)->py_q_crossfadeTime());} bool isCrossfadeSupported(QMediaGaplessPlaybackControl* theWrappedObject) const; @@ -1233,21 +1272,21 @@ void delete_QMediaGaplessPlaybackControl(QMediaGaplessPlaybackControl* obj) { de class PythonQtShell_QMediaNetworkAccessControl : public QMediaNetworkAccessControl { public: - PythonQtShell_QMediaNetworkAccessControl(QObject* parent = nullptr):QMediaNetworkAccessControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaNetworkAccessControl(QObject* parent = nullptr):QMediaNetworkAccessControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaNetworkAccessControl(); + ~PythonQtShell_QMediaNetworkAccessControl() override; -virtual void childEvent(QChildEvent* event); -virtual QNetworkConfiguration currentConfiguration() const; -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void setConfigurations(const QList& configuration); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +QNetworkConfiguration currentConfiguration() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setConfigurations(const QList& configuration) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaNetworkAccessControl : public QMediaNetworkAccessControl @@ -1261,7 +1300,7 @@ class PythonQtWrapper_QMediaNetworkAccessControl : public QObject public: public slots: QMediaNetworkAccessControl* new_QMediaNetworkAccessControl(QObject* parent = nullptr); -void delete_QMediaNetworkAccessControl(QMediaNetworkAccessControl* obj) { delete obj; } +void delete_QMediaNetworkAccessControl(QMediaNetworkAccessControl* obj) { delete obj; } QNetworkConfiguration currentConfiguration(QMediaNetworkAccessControl* theWrappedObject) const; QNetworkConfiguration py_q_currentConfiguration(QMediaNetworkAccessControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaNetworkAccessControl*)theWrappedObject)->py_q_currentConfiguration());} void setConfigurations(QMediaNetworkAccessControl* theWrappedObject, const QList& configuration); @@ -1275,24 +1314,24 @@ void delete_QMediaNetworkAccessControl(QMediaNetworkAccessControl* obj) { delete class PythonQtShell_QMediaObject : public QMediaObject { public: - PythonQtShell_QMediaObject(QObject* parent, QMediaService* service):QMediaObject(parent, service),_wrapper(NULL) {}; + PythonQtShell_QMediaObject(QObject* parent, QMediaService* service):QMediaObject(parent, service),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaObject(); + ~PythonQtShell_QMediaObject() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void timerEvent(QTimerEvent* event); -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaObject : public QMediaObject @@ -1311,7 +1350,7 @@ class PythonQtWrapper_QMediaObject : public QObject public: public slots: QMediaObject* new_QMediaObject(QObject* parent, QMediaService* service); -void delete_QMediaObject(QMediaObject* obj) { delete obj; } +void delete_QMediaObject(QMediaObject* obj) { delete obj; } void addPropertyWatch(QMediaObject* theWrappedObject, const QByteArray& name); QMultimedia::AvailabilityStatus availability(QMediaObject* theWrappedObject) const; QMultimedia::AvailabilityStatus py_q_availability(QMediaObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaObject*)theWrappedObject)->py_q_availability());} @@ -1338,24 +1377,24 @@ void delete_QMediaObject(QMediaObject* obj) { delete obj; } class PythonQtShell_QMediaPlayer : public QMediaPlayer { public: - PythonQtShell_QMediaPlayer(QObject* parent = nullptr, QMediaPlayer::Flags flags = QMediaPlayer::Flags()):QMediaPlayer(parent, flags),_wrapper(NULL) {}; + PythonQtShell_QMediaPlayer(QObject* parent = nullptr, QMediaPlayer::Flags flags = QMediaPlayer::Flags()):QMediaPlayer(parent, flags),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaPlayer(); + ~PythonQtShell_QMediaPlayer() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void timerEvent(QTimerEvent* event); -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaPlayer : public QMediaPlayer @@ -1375,7 +1414,7 @@ enum Flag{ Q_DECLARE_FLAGS(Flags, Flag) public slots: QMediaPlayer* new_QMediaPlayer(QObject* parent = nullptr, QMediaPlayer::Flags flags = QMediaPlayer::Flags()); -void delete_QMediaPlayer(QMediaPlayer* obj) { delete obj; } +void delete_QMediaPlayer(QMediaPlayer* obj) { delete obj; } QAudio::Role audioRole(QMediaPlayer* theWrappedObject) const; QMultimedia::AvailabilityStatus py_q_availability(QMediaPlayer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayer*)theWrappedObject)->py_q_availability());} bool py_q_bind(QMediaPlayer* theWrappedObject, QObject* arg__1){ return (((PythonQtPublicPromoter_QMediaPlayer*)theWrappedObject)->py_q_bind(arg__1));} @@ -1417,41 +1456,41 @@ void delete_QMediaPlayer(QMediaPlayer* obj) { delete obj; } class PythonQtShell_QMediaPlayerControl : public QMediaPlayerControl { public: - PythonQtShell_QMediaPlayerControl(QObject* parent = nullptr):QMediaPlayerControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMediaPlayerControl(); - -virtual QMediaTimeRange availablePlaybackRanges() const; -virtual int bufferStatus() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual qint64 duration() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isAudioAvailable() const; -virtual bool isMuted() const; -virtual bool isSeekable() const; -virtual bool isVideoAvailable() const; -virtual QMediaContent media() const; -virtual QMediaPlayer::MediaStatus mediaStatus() const; -virtual const QIODevice* mediaStream() const; -virtual void pause(); -virtual void play(); -virtual qreal playbackRate() const; -virtual qint64 position() const; -virtual void setMedia(const QMediaContent& media, QIODevice* stream); -virtual void setMuted(bool mute); -virtual void setPlaybackRate(qreal rate); -virtual void setPosition(qint64 position); -virtual void setVolume(int volume); -virtual QMediaPlayer::State state() const; -virtual void stop(); -virtual void timerEvent(QTimerEvent* event); -virtual int volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMediaPlayerControl(QObject* parent = nullptr):QMediaPlayerControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaPlayerControl() override; + +QMediaTimeRange availablePlaybackRanges() const override; +int bufferStatus() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAudioAvailable() const override; +bool isMuted() const override; +bool isSeekable() const override; +bool isVideoAvailable() const override; +QMediaContent media() const override; +QMediaPlayer::MediaStatus mediaStatus() const override; +const QIODevice* mediaStream() const override; +void pause() override; +void play() override; +qreal playbackRate() const override; +qint64 position() const override; +void setMedia(const QMediaContent& media, QIODevice* stream) override; +void setMuted(bool mute) override; +void setPlaybackRate(qreal rate) override; +void setPosition(qint64 position) override; +void setVolume(int volume) override; +QMediaPlayer::State state() const override; +void stop() override; +void timerEvent(QTimerEvent* event) override; +int volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaPlayerControl : public QMediaPlayerControl @@ -1485,7 +1524,7 @@ class PythonQtWrapper_QMediaPlayerControl : public QObject public: public slots: QMediaPlayerControl* new_QMediaPlayerControl(QObject* parent = nullptr); -void delete_QMediaPlayerControl(QMediaPlayerControl* obj) { delete obj; } +void delete_QMediaPlayerControl(QMediaPlayerControl* obj) { delete obj; } QMediaTimeRange availablePlaybackRanges(QMediaPlayerControl* theWrappedObject) const; QMediaTimeRange py_q_availablePlaybackRanges(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_availablePlaybackRanges());} int bufferStatus(QMediaPlayerControl* theWrappedObject) const; 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..69bef2860 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 @@ -27,6 +27,7 @@ #include #include #include +#include #include #include @@ -44,9 +45,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -66,9 +67,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -88,20 +89,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -121,20 +122,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -154,20 +155,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue; - void* args[1] = {NULL}; + QMediaObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -187,20 +188,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&object0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&object0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -220,9 +221,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -390,9 +391,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -412,9 +413,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -434,20 +435,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -467,20 +468,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -500,20 +501,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue; - void* args[1] = {NULL}; + QMediaObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -533,20 +534,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&object0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&object0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -566,9 +567,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -776,9 +777,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -798,9 +799,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -820,9 +821,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -842,20 +843,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -875,20 +876,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -908,20 +909,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -941,20 +942,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isMuted", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -974,20 +975,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QUrl"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QUrl returnValue; - void* args[1] = {NULL}; + QUrl returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("outputLocation", methodInfo, result); } else { returnValue = *((QUrl*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1007,9 +1008,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&muted0}; + void* args[2] = {nullptr, (void*)&muted0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1029,20 +1030,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&location0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&location0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setOutputLocation", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1062,9 +1063,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMediaRecorder::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&state0}; + void* args[2] = {nullptr, (void*)&state0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1084,9 +1085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&volume0}; + void* args[2] = {nullptr, (void*)&volume0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1106,20 +1107,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaRecorder::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaRecorder::State returnValue; - void* args[1] = {NULL}; + QMediaRecorder::State returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QMediaRecorder::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1139,20 +1140,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaRecorder::Status"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaRecorder::Status returnValue; - void* args[1] = {NULL}; + QMediaRecorder::Status returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("status", methodInfo, result); } else { returnValue = *((QMediaRecorder::Status*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1172,9 +1173,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1194,20 +1195,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qreal returnValue = 0; - void* args[1] = {NULL}; + qreal returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1438,9 +1439,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1460,9 +1461,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1482,20 +1483,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1515,20 +1516,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1548,9 +1549,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMediaControl*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&control0}; + void* args[2] = {nullptr, (void*)&control0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1570,20 +1571,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaControl*" , "const char*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMediaControl* returnValue; - void* args[2] = {NULL, (void*)&name0}; + QMediaControl* returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("requestControl", methodInfo, result); } else { returnValue = *((QMediaControl**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1591,7 +1592,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QMediaService::timerEvent(QTimerEvent* event0) { @@ -1603,9 +1604,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1658,20 +1659,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&device0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cameraOrientation", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1691,20 +1692,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QCamera::Position" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QCamera::Position returnValue; - void* args[2] = {NULL, (void*)&device0}; + QCamera::Position returnValue{}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cameraPosition", methodInfo, result); } else { returnValue = *((QCamera::Position*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1744,20 +1745,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QByteArray" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QByteArray returnValue; - void* args[2] = {NULL, (void*)&service0}; + QByteArray returnValue{}; + void* args[2] = {nullptr, (void*)&service0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("defaultDevice", methodInfo, result); } else { returnValue = *((QByteArray*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1792,20 +1793,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaService*" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMediaService* returnValue; - void* args[2] = {NULL, (void*)&key0}; + QMediaService* returnValue{}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1813,7 +1814,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QMediaServiceProviderFactoryInterface::release(QMediaService* service0) { @@ -1825,9 +1826,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&service0}; + void* args[2] = {nullptr, (void*)&service0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1934,20 +1935,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaService*" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMediaService* returnValue; - void* args[2] = {NULL, (void*)&key0}; + QMediaService* returnValue{}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1955,7 +1956,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QMediaServiceProviderPlugin::release(QMediaService* service0) { @@ -1967,9 +1968,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&service0}; + void* args[2] = {nullptr, (void*)&service0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2022,20 +2023,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QByteArray&" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&service0, (void*)&device1}; + QString returnValue{}; + void* args[3] = {nullptr, (void*)&service0, (void*)&device1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2055,20 +2056,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QList returnValue; - void* args[2] = {NULL, (void*)&service0}; + QList returnValue{}; + void* args[2] = {nullptr, (void*)&service0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devices", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2108,20 +2109,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMultimedia::SupportEstimate" , "const QString&" , "const QStringList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QMultimedia::SupportEstimate returnValue; - void* args[3] = {NULL, (void*)&mimeType0, (void*)&codecs1}; + QMultimedia::SupportEstimate returnValue{}; + void* args[3] = {nullptr, (void*)&mimeType0, (void*)&codecs1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasSupport", methodInfo, result); } else { returnValue = *((QMultimedia::SupportEstimate*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2141,20 +2142,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedMimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2194,9 +2195,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2216,9 +2217,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2238,20 +2239,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2271,20 +2272,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2304,20 +2305,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&streamNumber0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&streamNumber0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isActive", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2337,20 +2338,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&streamNumber0, (void*)&key1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&streamNumber0, (void*)&key1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2370,9 +2371,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&streamNumber0, (void*)&state1}; + void* args[3] = {nullptr, (void*)&streamNumber0, (void*)&state1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2392,20 +2393,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("streamCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2425,20 +2426,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaStreamsControl::StreamType" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMediaStreamsControl::StreamType returnValue; - void* args[2] = {NULL, (void*)&streamNumber0}; + QMediaStreamsControl::StreamType returnValue{}; + void* args[2] = {nullptr, (void*)&streamNumber0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("streamType", methodInfo, result); } else { returnValue = *((QMediaStreamsControl::StreamType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2458,9 +2459,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2546,6 +2547,11 @@ QMediaTimeInterval PythonQtWrapper_QMediaTimeInterval::normalized(QMediaTimeInt return ( theWrappedObject->normalized()); } +bool PythonQtWrapper_QMediaTimeInterval::__ne__(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + bool PythonQtWrapper_QMediaTimeInterval::__eq__(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__2) { return ( (*theWrappedObject)== arg__2); @@ -2629,6 +2635,11 @@ qint64 PythonQtWrapper_QMediaTimeRange::latestTime(QMediaTimeRange* theWrappedO return ( theWrappedObject->latestTime()); } +bool PythonQtWrapper_QMediaTimeRange::__ne__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + QMediaTimeRange PythonQtWrapper_QMediaTimeRange::__add__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2) { return ( (*theWrappedObject)+ arg__2); @@ -2712,9 +2723,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2734,9 +2745,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2756,20 +2767,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2789,20 +2800,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2822,9 +2833,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2867,20 +2878,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableMetaData", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2900,9 +2911,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2922,9 +2933,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2944,20 +2955,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2977,20 +2988,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3010,20 +3021,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isMetaDataAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3043,20 +3054,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&key0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3076,9 +3087,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3136,20 +3147,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableMetaData", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3169,9 +3180,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3191,9 +3202,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3213,20 +3224,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3246,20 +3257,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3279,20 +3290,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isMetaDataAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3312,20 +3323,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isWritable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3345,20 +3356,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&key0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3378,9 +3389,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&key0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&key0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3400,9 +3411,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3472,9 +3483,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3494,9 +3505,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3516,20 +3527,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3549,20 +3560,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3582,20 +3593,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue; - void* args[1] = {NULL}; + QMediaObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3615,20 +3626,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3648,9 +3659,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3738,9 +3749,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3760,9 +3771,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3782,20 +3793,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRadioData::Error"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRadioData::Error returnValue; - void* args[1] = {NULL}; + QRadioData::Error returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((QRadioData::Error*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3815,20 +3826,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3848,20 +3859,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3881,20 +3892,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3914,20 +3925,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAlternativeFrequenciesEnabled", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3947,20 +3958,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRadioData::ProgramType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRadioData::ProgramType returnValue; - void* args[1] = {NULL}; + QRadioData::ProgramType returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("programType", methodInfo, result); } else { returnValue = *((QRadioData::ProgramType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3980,20 +3991,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("programTypeName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4013,20 +4024,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("radioText", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4046,9 +4057,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&enabled0}; + void* args[2] = {nullptr, (void*)&enabled0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4068,20 +4079,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stationId", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4101,20 +4112,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stationName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4134,9 +4145,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4224,20 +4235,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMultimedia::AvailabilityStatus returnValue; - void* args[1] = {NULL}; + QMultimedia::AvailabilityStatus returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); } else { returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4257,20 +4268,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4290,9 +4301,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4312,9 +4323,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4334,20 +4345,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4367,20 +4378,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4400,20 +4411,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4433,20 +4444,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaService* returnValue; - void* args[1] = {NULL}; + QMediaService* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4466,9 +4477,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4488,9 +4499,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4618,20 +4629,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRadioTuner::Band returnValue; - void* args[1] = {NULL}; + QRadioTuner::Band returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("band", methodInfo, result); } else { returnValue = *((QRadioTuner::Band*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4651,9 +4662,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4673,9 +4684,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4695,9 +4706,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4717,20 +4728,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRadioTuner::Error"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRadioTuner::Error returnValue; - void* args[1] = {NULL}; + QRadioTuner::Error returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((QRadioTuner::Error*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4750,20 +4761,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4783,20 +4794,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4816,20 +4827,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4849,20 +4860,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("frequency", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4882,20 +4893,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPair" , "QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPair returnValue; - void* args[2] = {NULL, (void*)&b0}; + QPair returnValue{}; + void* args[2] = {nullptr, (void*)&b0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("frequencyRange", methodInfo, result); } else { returnValue = *((QPair*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4915,20 +4926,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&b0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&b0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("frequencyStep", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4948,20 +4959,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAntennaConnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4981,20 +4992,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&b0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&b0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isBandSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5014,20 +5025,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isMuted", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5047,20 +5058,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSearching", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5080,20 +5091,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isStereo", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5113,9 +5124,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QRadioTuner::SearchMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&searchMode0}; + void* args[2] = {nullptr, (void*)&searchMode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5135,9 +5146,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5157,9 +5168,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5179,9 +5190,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&b0}; + void* args[2] = {nullptr, (void*)&b0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5201,9 +5212,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&frequency0}; + void* args[2] = {nullptr, (void*)&frequency0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5223,9 +5234,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&muted0}; + void* args[2] = {nullptr, (void*)&muted0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5245,9 +5256,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QRadioTuner::StereoMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5267,9 +5278,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&volume0}; + void* args[2] = {nullptr, (void*)&volume0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5289,20 +5300,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("signalStrength", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5322,9 +5333,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5344,20 +5355,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRadioTuner::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRadioTuner::State returnValue; - void* args[1] = {NULL}; + QRadioTuner::State returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QRadioTuner::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5377,20 +5388,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRadioTuner::StereoMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRadioTuner::StereoMode returnValue; - void* args[1] = {NULL}; + QRadioTuner::StereoMode returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stereoMode", methodInfo, result); } else { returnValue = *((QRadioTuner::StereoMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5410,9 +5421,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5432,9 +5443,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5454,20 +5465,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5640,9 +5651,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5662,9 +5673,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5684,20 +5695,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5717,20 +5728,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5750,9 +5761,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5825,9 +5836,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5847,9 +5858,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5869,20 +5880,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5902,20 +5913,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5935,9 +5946,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6055,9 +6066,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6077,9 +6088,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6099,20 +6110,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("defaultDevice", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6132,20 +6143,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6165,20 +6176,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&index0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6198,20 +6209,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&index0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6231,20 +6242,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6264,20 +6275,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6297,20 +6308,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedDevice", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6330,9 +6341,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6352,9 +6363,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6537,9 +6548,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6559,9 +6570,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6581,20 +6592,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6614,20 +6625,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6647,9 +6658,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QVideoEncoderSettings&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&settings0}; + void* args[2] = {nullptr, (void*)&settings0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6669,20 +6680,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QVideoEncoderSettings&" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QList returnValue; - void* args[3] = {NULL, (void*)&settings0, (void*)&continuous1}; + QList returnValue{}; + void* args[3] = {nullptr, (void*)&settings0, (void*)&continuous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedFrameRates", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6702,20 +6713,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QVideoEncoderSettings&" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QList returnValue; - void* args[3] = {NULL, (void*)&settings0, (void*)&continuous1}; + QList returnValue{}; + void* args[3] = {nullptr, (void*)&settings0, (void*)&continuous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedResolutions", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6735,20 +6746,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedVideoCodecs", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6768,9 +6779,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6790,20 +6801,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&codec0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&codec0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("videoCodecDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6823,20 +6834,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVideoEncoderSettings"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVideoEncoderSettings returnValue; - void* args[1] = {NULL}; + QVideoEncoderSettings returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("videoSettings", methodInfo, result); } else { returnValue = *((QVideoEncoderSettings*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7113,9 +7124,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7135,9 +7146,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7157,20 +7168,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7190,20 +7201,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7223,9 +7234,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h index 23ce62a44..5995f9a27 100644 --- a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h +++ b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -46,21 +47,21 @@ class PythonQtShell_QMediaPlaylist : public QMediaPlaylist { public: - PythonQtShell_QMediaPlaylist(QObject* parent = nullptr):QMediaPlaylist(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaPlaylist(QObject* parent = nullptr):QMediaPlaylist(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaPlaylist(); + ~PythonQtShell_QMediaPlaylist() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* object); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* object) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaPlaylist : public QMediaPlaylist @@ -75,7 +76,7 @@ class PythonQtWrapper_QMediaPlaylist : public QObject public: public slots: QMediaPlaylist* new_QMediaPlaylist(QObject* parent = nullptr); -void delete_QMediaPlaylist(QMediaPlaylist* obj) { delete obj; } +void delete_QMediaPlaylist(QMediaPlaylist* obj) { delete obj; } bool addMedia(QMediaPlaylist* theWrappedObject, const QList& items); bool addMedia(QMediaPlaylist* theWrappedObject, const QMediaContent& content); bool clear(QMediaPlaylist* theWrappedObject); @@ -113,21 +114,21 @@ void delete_QMediaPlaylist(QMediaPlaylist* obj) { delete obj; } class PythonQtShell_QMediaRecorder : public QMediaRecorder { public: - PythonQtShell_QMediaRecorder(QMediaObject* mediaObject, QObject* parent = nullptr):QMediaRecorder(mediaObject, parent),_wrapper(NULL) {}; + PythonQtShell_QMediaRecorder(QMediaObject* mediaObject, QObject* parent = nullptr):QMediaRecorder(mediaObject, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaRecorder(); + ~PythonQtShell_QMediaRecorder() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* object); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* object) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaRecorder : public QMediaRecorder @@ -142,7 +143,7 @@ class PythonQtWrapper_QMediaRecorder : public QObject public: public slots: QMediaRecorder* new_QMediaRecorder(QMediaObject* mediaObject, QObject* parent = nullptr); -void delete_QMediaRecorder(QMediaRecorder* obj) { delete obj; } +void delete_QMediaRecorder(QMediaRecorder* obj) { delete obj; } QUrl actualLocation(QMediaRecorder* theWrappedObject) const; QString audioCodecDescription(QMediaRecorder* theWrappedObject, const QString& codecName) const; QAudioEncoderSettings audioSettings(QMediaRecorder* theWrappedObject) const; @@ -187,30 +188,30 @@ void delete_QMediaRecorder(QMediaRecorder* obj) { delete obj; } class PythonQtShell_QMediaRecorderControl : public QMediaRecorderControl { public: - PythonQtShell_QMediaRecorderControl(QObject* parent = nullptr):QMediaRecorderControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMediaRecorderControl(); - -virtual void applySettings(); -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual qint64 duration() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isMuted() const; -virtual QUrl outputLocation() const; -virtual void setMuted(bool muted); -virtual bool setOutputLocation(const QUrl& location); -virtual void setState(QMediaRecorder::State state); -virtual void setVolume(qreal volume); -virtual QMediaRecorder::State state() const; -virtual QMediaRecorder::Status status() const; -virtual void timerEvent(QTimerEvent* event); -virtual qreal volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMediaRecorderControl(QObject* parent = nullptr):QMediaRecorderControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaRecorderControl() override; + +void applySettings() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isMuted() const override; +QUrl outputLocation() const override; +void setMuted(bool muted) override; +bool setOutputLocation(const QUrl& location) override; +void setState(QMediaRecorder::State state) override; +void setVolume(qreal volume) override; +QMediaRecorder::State state() const override; +QMediaRecorder::Status status() const override; +void timerEvent(QTimerEvent* event) override; +qreal volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaRecorderControl : public QMediaRecorderControl @@ -233,7 +234,7 @@ class PythonQtWrapper_QMediaRecorderControl : public QObject public: public slots: QMediaRecorderControl* new_QMediaRecorderControl(QObject* parent = nullptr); -void delete_QMediaRecorderControl(QMediaRecorderControl* obj) { delete obj; } +void delete_QMediaRecorderControl(QMediaRecorderControl* obj) { delete obj; } void applySettings(QMediaRecorderControl* theWrappedObject); void py_q_applySettings(QMediaRecorderControl* theWrappedObject){ (((PythonQtPublicPromoter_QMediaRecorderControl*)theWrappedObject)->py_q_applySettings());} qint64 duration(QMediaRecorderControl* theWrappedObject) const; @@ -267,7 +268,7 @@ QMediaResource* new_QMediaResource(); QMediaResource* new_QMediaResource(const QMediaResource& other); QMediaResource* new_QMediaResource(const QNetworkRequest& request, const QString& mimeType = QString()); QMediaResource* new_QMediaResource(const QUrl& url, const QString& mimeType = QString()); -void delete_QMediaResource(QMediaResource* obj) { delete obj; } +void delete_QMediaResource(QMediaResource* obj) { delete obj; } int audioBitRate(QMediaResource* theWrappedObject) const; QString audioCodec(QMediaResource* theWrappedObject) const; int channelCount(QMediaResource* theWrappedObject) const; @@ -304,21 +305,21 @@ void delete_QMediaResource(QMediaResource* obj) { delete obj; } class PythonQtShell_QMediaService : public QMediaService { public: - PythonQtShell_QMediaService(QObject* parent):QMediaService(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaService(QObject* parent):QMediaService(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaService(); + ~PythonQtShell_QMediaService() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void releaseControl(QMediaControl* control); -virtual QMediaControl* requestControl(const char* name); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void releaseControl(QMediaControl* control) override; +QMediaControl* requestControl(const char* name) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaService : public QMediaService @@ -332,7 +333,7 @@ class PythonQtWrapper_QMediaService : public QObject public: public slots: QMediaService* new_QMediaService(QObject* parent); -void delete_QMediaService(QMediaService* obj) { delete obj; } +void delete_QMediaService(QMediaService* obj) { delete obj; } void releaseControl(QMediaService* theWrappedObject, QMediaControl* control); void py_q_releaseControl(QMediaService* theWrappedObject, QMediaControl* control){ (((PythonQtPublicPromoter_QMediaService*)theWrappedObject)->py_q_releaseControl(control));} QMediaControl* requestControl(QMediaService* theWrappedObject, const char* name); @@ -346,14 +347,14 @@ void delete_QMediaService(QMediaService* obj) { delete obj; } class PythonQtShell_QMediaServiceCameraInfoInterface : public QMediaServiceCameraInfoInterface { public: - PythonQtShell_QMediaServiceCameraInfoInterface():QMediaServiceCameraInfoInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceCameraInfoInterface():QMediaServiceCameraInfoInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceCameraInfoInterface(); + ~PythonQtShell_QMediaServiceCameraInfoInterface() override; -virtual int cameraOrientation(const QByteArray& device) const; -virtual QCamera::Position cameraPosition(const QByteArray& device) const; +int cameraOrientation(const QByteArray& device) const override; +QCamera::Position cameraPosition(const QByteArray& device) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceCameraInfoInterface : public QMediaServiceCameraInfoInterface @@ -367,7 +368,7 @@ class PythonQtWrapper_QMediaServiceCameraInfoInterface : public QObject public: public slots: QMediaServiceCameraInfoInterface* new_QMediaServiceCameraInfoInterface(); -void delete_QMediaServiceCameraInfoInterface(QMediaServiceCameraInfoInterface* obj) { delete obj; } +void delete_QMediaServiceCameraInfoInterface(QMediaServiceCameraInfoInterface* obj) { delete obj; } int cameraOrientation(QMediaServiceCameraInfoInterface* theWrappedObject, const QByteArray& device) const; int py_q_cameraOrientation(QMediaServiceCameraInfoInterface* theWrappedObject, const QByteArray& device) const{ return (((PythonQtPublicPromoter_QMediaServiceCameraInfoInterface*)theWrappedObject)->py_q_cameraOrientation(device));} QCamera::Position cameraPosition(QMediaServiceCameraInfoInterface* theWrappedObject, const QByteArray& device) const; @@ -381,13 +382,13 @@ void delete_QMediaServiceCameraInfoInterface(QMediaServiceCameraInfoInterface* o class PythonQtShell_QMediaServiceDefaultDeviceInterface : public QMediaServiceDefaultDeviceInterface { public: - PythonQtShell_QMediaServiceDefaultDeviceInterface():QMediaServiceDefaultDeviceInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceDefaultDeviceInterface():QMediaServiceDefaultDeviceInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceDefaultDeviceInterface(); + ~PythonQtShell_QMediaServiceDefaultDeviceInterface() override; -virtual QByteArray defaultDevice(const QByteArray& service) const; +QByteArray defaultDevice(const QByteArray& service) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceDefaultDeviceInterface : public QMediaServiceDefaultDeviceInterface @@ -400,7 +401,7 @@ class PythonQtWrapper_QMediaServiceDefaultDeviceInterface : public QObject public: public slots: QMediaServiceDefaultDeviceInterface* new_QMediaServiceDefaultDeviceInterface(); -void delete_QMediaServiceDefaultDeviceInterface(QMediaServiceDefaultDeviceInterface* obj) { delete obj; } +void delete_QMediaServiceDefaultDeviceInterface(QMediaServiceDefaultDeviceInterface* obj) { delete obj; } QByteArray defaultDevice(QMediaServiceDefaultDeviceInterface* theWrappedObject, const QByteArray& service) const; QByteArray py_q_defaultDevice(QMediaServiceDefaultDeviceInterface* theWrappedObject, const QByteArray& service) const{ return (((PythonQtPublicPromoter_QMediaServiceDefaultDeviceInterface*)theWrappedObject)->py_q_defaultDevice(service));} }; @@ -412,14 +413,14 @@ void delete_QMediaServiceDefaultDeviceInterface(QMediaServiceDefaultDeviceInterf class PythonQtShell_QMediaServiceProviderFactoryInterface : public QMediaServiceProviderFactoryInterface { public: - PythonQtShell_QMediaServiceProviderFactoryInterface():QMediaServiceProviderFactoryInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceProviderFactoryInterface():QMediaServiceProviderFactoryInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceProviderFactoryInterface(); + ~PythonQtShell_QMediaServiceProviderFactoryInterface() override; -virtual QMediaService* create(const QString& key); -virtual void release(QMediaService* service); +QMediaService* create(const QString& key) override; +void release(QMediaService* service) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceProviderFactoryInterface : public QMediaServiceProviderFactoryInterface @@ -433,7 +434,7 @@ class PythonQtWrapper_QMediaServiceProviderFactoryInterface : public QObject public: public slots: QMediaServiceProviderFactoryInterface* new_QMediaServiceProviderFactoryInterface(); -void delete_QMediaServiceProviderFactoryInterface(QMediaServiceProviderFactoryInterface* obj) { delete obj; } +void delete_QMediaServiceProviderFactoryInterface(QMediaServiceProviderFactoryInterface* obj) { delete obj; } QMediaService* create(QMediaServiceProviderFactoryInterface* theWrappedObject, const QString& key); QMediaService* py_q_create(QMediaServiceProviderFactoryInterface* theWrappedObject, const QString& key){ return (((PythonQtPublicPromoter_QMediaServiceProviderFactoryInterface*)theWrappedObject)->py_q_create(key));} void release(QMediaServiceProviderFactoryInterface* theWrappedObject, QMediaService* service); @@ -458,7 +459,7 @@ QMediaServiceProviderHint* new_QMediaServiceProviderHint(QCamera::Position posi QMediaServiceProviderHint* new_QMediaServiceProviderHint(const QByteArray& device); QMediaServiceProviderHint* new_QMediaServiceProviderHint(const QMediaServiceProviderHint& other); QMediaServiceProviderHint* new_QMediaServiceProviderHint(const QString& mimeType, const QStringList& codecs); -void delete_QMediaServiceProviderHint(QMediaServiceProviderHint* obj) { delete obj; } +void delete_QMediaServiceProviderHint(QMediaServiceProviderHint* obj) { delete obj; } QCamera::Position cameraPosition(QMediaServiceProviderHint* theWrappedObject) const; QStringList codecs(QMediaServiceProviderHint* theWrappedObject) const; QByteArray device(QMediaServiceProviderHint* theWrappedObject) const; @@ -478,16 +479,16 @@ void delete_QMediaServiceProviderHint(QMediaServiceProviderHint* obj) { delete o class PythonQtShell_QMediaServiceProviderPlugin : public QMediaServiceProviderPlugin { public: - PythonQtShell_QMediaServiceProviderPlugin():QMediaServiceProviderPlugin(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceProviderPlugin():QMediaServiceProviderPlugin(),_wrapper(nullptr) {}; ~PythonQtShell_QMediaServiceProviderPlugin(); -virtual QMediaService* create(const QString& key); -virtual void release(QMediaService* service); +QMediaService* create(const QString& key) override; +void release(QMediaService* service) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceProviderPlugin : public QMediaServiceProviderPlugin @@ -501,7 +502,7 @@ class PythonQtWrapper_QMediaServiceProviderPlugin : public QObject public: public slots: QMediaServiceProviderPlugin* new_QMediaServiceProviderPlugin(); -void delete_QMediaServiceProviderPlugin(QMediaServiceProviderPlugin* obj) { delete obj; } +void delete_QMediaServiceProviderPlugin(QMediaServiceProviderPlugin* obj) { delete obj; } QMediaService* create(QMediaServiceProviderPlugin* theWrappedObject, const QString& key); QMediaService* py_q_create(QMediaServiceProviderPlugin* theWrappedObject, const QString& key){ return (((PythonQtPublicPromoter_QMediaServiceProviderPlugin*)theWrappedObject)->py_q_create(key));} void release(QMediaServiceProviderPlugin* theWrappedObject, QMediaService* service); @@ -515,14 +516,14 @@ void delete_QMediaServiceProviderPlugin(QMediaServiceProviderPlugin* obj) { dele class PythonQtShell_QMediaServiceSupportedDevicesInterface : public QMediaServiceSupportedDevicesInterface { public: - PythonQtShell_QMediaServiceSupportedDevicesInterface():QMediaServiceSupportedDevicesInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceSupportedDevicesInterface():QMediaServiceSupportedDevicesInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceSupportedDevicesInterface(); + ~PythonQtShell_QMediaServiceSupportedDevicesInterface() override; -virtual QString deviceDescription(const QByteArray& service, const QByteArray& device); -virtual QList devices(const QByteArray& service) const; +QString deviceDescription(const QByteArray& service, const QByteArray& device) override; +QList devices(const QByteArray& service) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceSupportedDevicesInterface : public QMediaServiceSupportedDevicesInterface @@ -536,7 +537,7 @@ class PythonQtWrapper_QMediaServiceSupportedDevicesInterface : public QObject public: public slots: QMediaServiceSupportedDevicesInterface* new_QMediaServiceSupportedDevicesInterface(); -void delete_QMediaServiceSupportedDevicesInterface(QMediaServiceSupportedDevicesInterface* obj) { delete obj; } +void delete_QMediaServiceSupportedDevicesInterface(QMediaServiceSupportedDevicesInterface* obj) { delete obj; } QString deviceDescription(QMediaServiceSupportedDevicesInterface* theWrappedObject, const QByteArray& service, const QByteArray& device); QString py_q_deviceDescription(QMediaServiceSupportedDevicesInterface* theWrappedObject, const QByteArray& service, const QByteArray& device){ return (((PythonQtPublicPromoter_QMediaServiceSupportedDevicesInterface*)theWrappedObject)->py_q_deviceDescription(service, device));} QList devices(QMediaServiceSupportedDevicesInterface* theWrappedObject, const QByteArray& service) const; @@ -550,14 +551,14 @@ void delete_QMediaServiceSupportedDevicesInterface(QMediaServiceSupportedDevices class PythonQtShell_QMediaServiceSupportedFormatsInterface : public QMediaServiceSupportedFormatsInterface { public: - PythonQtShell_QMediaServiceSupportedFormatsInterface():QMediaServiceSupportedFormatsInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceSupportedFormatsInterface():QMediaServiceSupportedFormatsInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceSupportedFormatsInterface(); + ~PythonQtShell_QMediaServiceSupportedFormatsInterface() override; -virtual QMultimedia::SupportEstimate hasSupport(const QString& mimeType, const QStringList& codecs) const; -virtual QStringList supportedMimeTypes() const; +QMultimedia::SupportEstimate hasSupport(const QString& mimeType, const QStringList& codecs) const override; +QStringList supportedMimeTypes() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceSupportedFormatsInterface : public QMediaServiceSupportedFormatsInterface @@ -571,7 +572,7 @@ class PythonQtWrapper_QMediaServiceSupportedFormatsInterface : public QObject public: public slots: QMediaServiceSupportedFormatsInterface* new_QMediaServiceSupportedFormatsInterface(); -void delete_QMediaServiceSupportedFormatsInterface(QMediaServiceSupportedFormatsInterface* obj) { delete obj; } +void delete_QMediaServiceSupportedFormatsInterface(QMediaServiceSupportedFormatsInterface* obj) { delete obj; } QMultimedia::SupportEstimate hasSupport(QMediaServiceSupportedFormatsInterface* theWrappedObject, const QString& mimeType, const QStringList& codecs) const; QMultimedia::SupportEstimate py_q_hasSupport(QMediaServiceSupportedFormatsInterface* theWrappedObject, const QString& mimeType, const QStringList& codecs) const{ return (((PythonQtPublicPromoter_QMediaServiceSupportedFormatsInterface*)theWrappedObject)->py_q_hasSupport(mimeType, codecs));} QStringList supportedMimeTypes(QMediaServiceSupportedFormatsInterface* theWrappedObject) const; @@ -585,24 +586,24 @@ void delete_QMediaServiceSupportedFormatsInterface(QMediaServiceSupportedFormats class PythonQtShell_QMediaStreamsControl : public QMediaStreamsControl { public: - PythonQtShell_QMediaStreamsControl(QObject* parent = nullptr):QMediaStreamsControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaStreamsControl(QObject* parent = nullptr):QMediaStreamsControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaStreamsControl(); + ~PythonQtShell_QMediaStreamsControl() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isActive(int streamNumber); -virtual QVariant metaData(int streamNumber, const QString& key); -virtual void setActive(int streamNumber, bool state); -virtual int streamCount(); -virtual QMediaStreamsControl::StreamType streamType(int streamNumber); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isActive(int streamNumber) override; +QVariant metaData(int streamNumber, const QString& key) override; +void setActive(int streamNumber, bool state) override; +int streamCount() override; +QMediaStreamsControl::StreamType streamType(int streamNumber) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaStreamsControl : public QMediaStreamsControl @@ -622,7 +623,7 @@ enum StreamType{ UnknownStream = QMediaStreamsControl::UnknownStream, VideoStream = QMediaStreamsControl::VideoStream, AudioStream = QMediaStreamsControl::AudioStream, SubPictureStream = QMediaStreamsControl::SubPictureStream, DataStream = QMediaStreamsControl::DataStream}; public slots: QMediaStreamsControl* new_QMediaStreamsControl(QObject* parent = nullptr); -void delete_QMediaStreamsControl(QMediaStreamsControl* obj) { delete obj; } +void delete_QMediaStreamsControl(QMediaStreamsControl* obj) { delete obj; } bool isActive(QMediaStreamsControl* theWrappedObject, int streamNumber); bool py_q_isActive(QMediaStreamsControl* theWrappedObject, int streamNumber){ return (((PythonQtPublicPromoter_QMediaStreamsControl*)theWrappedObject)->py_q_isActive(streamNumber));} QVariant metaData(QMediaStreamsControl* theWrappedObject, int streamNumber, const QString& key); @@ -646,11 +647,12 @@ public slots: QMediaTimeInterval* new_QMediaTimeInterval(); QMediaTimeInterval* new_QMediaTimeInterval(const QMediaTimeInterval& arg__1); QMediaTimeInterval* new_QMediaTimeInterval(qint64 start, qint64 end); -void delete_QMediaTimeInterval(QMediaTimeInterval* obj) { delete obj; } +void delete_QMediaTimeInterval(QMediaTimeInterval* obj) { delete obj; } bool contains(QMediaTimeInterval* theWrappedObject, qint64 time) const; qint64 end(QMediaTimeInterval* theWrappedObject) const; bool isNormal(QMediaTimeInterval* theWrappedObject) const; QMediaTimeInterval normalized(QMediaTimeInterval* theWrappedObject) const; + bool __ne__(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__2); bool __eq__(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__2); qint64 start(QMediaTimeInterval* theWrappedObject) const; QMediaTimeInterval translated(QMediaTimeInterval* theWrappedObject, qint64 offset) const; @@ -668,7 +670,7 @@ QMediaTimeRange* new_QMediaTimeRange(); QMediaTimeRange* new_QMediaTimeRange(const QMediaTimeInterval& arg__1); QMediaTimeRange* new_QMediaTimeRange(const QMediaTimeRange& range); QMediaTimeRange* new_QMediaTimeRange(qint64 start, qint64 end); -void delete_QMediaTimeRange(QMediaTimeRange* obj) { delete obj; } +void delete_QMediaTimeRange(QMediaTimeRange* obj) { delete obj; } void addInterval(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& interval); void addInterval(QMediaTimeRange* theWrappedObject, qint64 start, qint64 end); void addTimeRange(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1); @@ -679,6 +681,7 @@ void delete_QMediaTimeRange(QMediaTimeRange* obj) { delete obj; } bool isContinuous(QMediaTimeRange* theWrappedObject) const; bool isEmpty(QMediaTimeRange* theWrappedObject) const; qint64 latestTime(QMediaTimeRange* theWrappedObject) const; + bool __ne__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2); QMediaTimeRange __add__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2); QMediaTimeRange* __iadd__(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& arg__1); QMediaTimeRange* __iadd__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1); @@ -702,19 +705,19 @@ void delete_QMediaTimeRange(QMediaTimeRange* obj) { delete obj; } class PythonQtShell_QMediaVideoProbeControl : public QMediaVideoProbeControl { public: - PythonQtShell_QMediaVideoProbeControl(QObject* parent = nullptr):QMediaVideoProbeControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaVideoProbeControl(QObject* parent = nullptr):QMediaVideoProbeControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaVideoProbeControl(); + ~PythonQtShell_QMediaVideoProbeControl() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMediaVideoProbeControl : public QObject @@ -722,7 +725,7 @@ class PythonQtWrapper_QMediaVideoProbeControl : public QObject public: public slots: QMediaVideoProbeControl* new_QMediaVideoProbeControl(QObject* parent = nullptr); -void delete_QMediaVideoProbeControl(QMediaVideoProbeControl* obj) { delete obj; } +void delete_QMediaVideoProbeControl(QMediaVideoProbeControl* obj) { delete obj; } }; @@ -732,22 +735,22 @@ void delete_QMediaVideoProbeControl(QMediaVideoProbeControl* obj) { delete obj; class PythonQtShell_QMetaDataReaderControl : public QMetaDataReaderControl { public: - PythonQtShell_QMetaDataReaderControl(QObject* parent = nullptr):QMetaDataReaderControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMetaDataReaderControl(QObject* parent = nullptr):QMetaDataReaderControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMetaDataReaderControl(); + ~PythonQtShell_QMetaDataReaderControl() override; -virtual QStringList availableMetaData() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isMetaDataAvailable() const; -virtual QVariant metaData(const QString& key) const; -virtual void timerEvent(QTimerEvent* event); +QStringList availableMetaData() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isMetaDataAvailable() const override; +QVariant metaData(const QString& key) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMetaDataReaderControl : public QMetaDataReaderControl @@ -762,7 +765,7 @@ class PythonQtWrapper_QMetaDataReaderControl : public QObject public: public slots: QMetaDataReaderControl* new_QMetaDataReaderControl(QObject* parent = nullptr); -void delete_QMetaDataReaderControl(QMetaDataReaderControl* obj) { delete obj; } +void delete_QMetaDataReaderControl(QMetaDataReaderControl* obj) { delete obj; } QStringList availableMetaData(QMetaDataReaderControl* theWrappedObject) const; QStringList py_q_availableMetaData(QMetaDataReaderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMetaDataReaderControl*)theWrappedObject)->py_q_availableMetaData());} bool isMetaDataAvailable(QMetaDataReaderControl* theWrappedObject) const; @@ -778,24 +781,24 @@ void delete_QMetaDataReaderControl(QMetaDataReaderControl* obj) { delete obj; } class PythonQtShell_QMetaDataWriterControl : public QMetaDataWriterControl { public: - PythonQtShell_QMetaDataWriterControl(QObject* parent = nullptr):QMetaDataWriterControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMetaDataWriterControl(QObject* parent = nullptr):QMetaDataWriterControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMetaDataWriterControl(); + ~PythonQtShell_QMetaDataWriterControl() override; -virtual QStringList availableMetaData() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isMetaDataAvailable() const; -virtual bool isWritable() const; -virtual QVariant metaData(const QString& key) const; -virtual void setMetaData(const QString& key, const QVariant& value); -virtual void timerEvent(QTimerEvent* event); +QStringList availableMetaData() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isMetaDataAvailable() const override; +bool isWritable() const override; +QVariant metaData(const QString& key) const override; +void setMetaData(const QString& key, const QVariant& value) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMetaDataWriterControl : public QMetaDataWriterControl @@ -812,7 +815,7 @@ class PythonQtWrapper_QMetaDataWriterControl : public QObject public: public slots: QMetaDataWriterControl* new_QMetaDataWriterControl(QObject* parent = nullptr); -void delete_QMetaDataWriterControl(QMetaDataWriterControl* obj) { delete obj; } +void delete_QMetaDataWriterControl(QMetaDataWriterControl* obj) { delete obj; } QStringList availableMetaData(QMetaDataWriterControl* theWrappedObject) const; QStringList py_q_availableMetaData(QMetaDataWriterControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMetaDataWriterControl*)theWrappedObject)->py_q_availableMetaData());} bool isMetaDataAvailable(QMetaDataWriterControl* theWrappedObject) const; @@ -851,21 +854,21 @@ public slots: class PythonQtShell_QRadioData : public QRadioData { public: - PythonQtShell_QRadioData(QMediaObject* mediaObject, QObject* parent = nullptr):QRadioData(mediaObject, parent),_wrapper(NULL) {}; + PythonQtShell_QRadioData(QMediaObject* mediaObject, QObject* parent = nullptr):QRadioData(mediaObject, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QRadioData(); + ~PythonQtShell_QRadioData() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* arg__1); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* arg__1) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioData : public QRadioData @@ -880,7 +883,7 @@ class PythonQtWrapper_QRadioData : public QObject public: public slots: QRadioData* new_QRadioData(QMediaObject* mediaObject, QObject* parent = nullptr); -void delete_QRadioData(QRadioData* obj) { delete obj; } +void delete_QRadioData(QRadioData* obj) { delete obj; } QMultimedia::AvailabilityStatus availability(QRadioData* theWrappedObject) const; QRadioData::Error error(QRadioData* theWrappedObject) const; QString errorString(QRadioData* theWrappedObject) const; @@ -901,28 +904,28 @@ void delete_QRadioData(QRadioData* obj) { delete obj; } class PythonQtShell_QRadioDataControl : public QRadioDataControl { public: - PythonQtShell_QRadioDataControl(QObject* parent = nullptr):QRadioDataControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRadioDataControl(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual QRadioData::Error error() const; -virtual QString errorString() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isAlternativeFrequenciesEnabled() const; -virtual QRadioData::ProgramType programType() const; -virtual QString programTypeName() const; -virtual QString radioText() const; -virtual void setAlternativeFrequenciesEnabled(bool enabled); -virtual QString stationId() const; -virtual QString stationName() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QRadioDataControl(QObject* parent = nullptr):QRadioDataControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRadioDataControl() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QRadioData::Error error() const override; +QString errorString() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAlternativeFrequenciesEnabled() const override; +QRadioData::ProgramType programType() const override; +QString programTypeName() const override; +QString radioText() const override; +void setAlternativeFrequenciesEnabled(bool enabled) override; +QString stationId() const override; +QString stationName() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioDataControl : public QRadioDataControl @@ -943,7 +946,7 @@ class PythonQtWrapper_QRadioDataControl : public QObject public: public slots: QRadioDataControl* new_QRadioDataControl(QObject* parent = nullptr); -void delete_QRadioDataControl(QRadioDataControl* obj) { delete obj; } +void delete_QRadioDataControl(QRadioDataControl* obj) { delete obj; } QRadioData::Error error(QRadioDataControl* theWrappedObject) const; QRadioData::Error py_q_error(QRadioDataControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioDataControl*)theWrappedObject)->py_q_error());} QString errorString(QRadioDataControl* theWrappedObject) const; @@ -971,24 +974,24 @@ void delete_QRadioDataControl(QRadioDataControl* obj) { delete obj; } class PythonQtShell_QRadioTuner : public QRadioTuner { public: - PythonQtShell_QRadioTuner(QObject* parent = nullptr):QRadioTuner(parent),_wrapper(NULL) {}; + PythonQtShell_QRadioTuner(QObject* parent = nullptr):QRadioTuner(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QRadioTuner(); + ~PythonQtShell_QRadioTuner() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void timerEvent(QTimerEvent* event); -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioTuner : public QRadioTuner @@ -1001,7 +1004,7 @@ class PythonQtWrapper_QRadioTuner : public QObject public: public slots: QRadioTuner* new_QRadioTuner(QObject* parent = nullptr); -void delete_QRadioTuner(QRadioTuner* obj) { delete obj; } +void delete_QRadioTuner(QRadioTuner* obj) { delete obj; } QMultimedia::AvailabilityStatus py_q_availability(QRadioTuner* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTuner*)theWrappedObject)->py_q_availability());} QRadioTuner::Band band(QRadioTuner* theWrappedObject) const; QRadioTuner::Error error(QRadioTuner* theWrappedObject) const; @@ -1029,45 +1032,45 @@ void delete_QRadioTuner(QRadioTuner* obj) { delete obj; } class PythonQtShell_QRadioTunerControl : public QRadioTunerControl { public: - PythonQtShell_QRadioTunerControl(QObject* parent = nullptr):QRadioTunerControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRadioTunerControl(); - -virtual QRadioTuner::Band band() const; -virtual void cancelSearch(); -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual QRadioTuner::Error error() const; -virtual QString errorString() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual int frequency() const; -virtual QPair frequencyRange(QRadioTuner::Band b) const; -virtual int frequencyStep(QRadioTuner::Band b) const; -virtual bool isAntennaConnected() const; -virtual bool isBandSupported(QRadioTuner::Band b) const; -virtual bool isMuted() const; -virtual bool isSearching() const; -virtual bool isStereo() const; -virtual void searchAllStations(QRadioTuner::SearchMode searchMode = QRadioTuner::SearchFast); -virtual void searchBackward(); -virtual void searchForward(); -virtual void setBand(QRadioTuner::Band b); -virtual void setFrequency(int frequency); -virtual void setMuted(bool muted); -virtual void setStereoMode(QRadioTuner::StereoMode mode); -virtual void setVolume(int volume); -virtual int signalStrength() const; -virtual void start(); -virtual QRadioTuner::State state() const; -virtual QRadioTuner::StereoMode stereoMode() const; -virtual void stop(); -virtual void timerEvent(QTimerEvent* event); -virtual int volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QRadioTunerControl(QObject* parent = nullptr):QRadioTunerControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRadioTunerControl() override; + +QRadioTuner::Band band() const override; +void cancelSearch() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QRadioTuner::Error error() const override; +QString errorString() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +int frequency() const override; +QPair frequencyRange(QRadioTuner::Band b) const override; +int frequencyStep(QRadioTuner::Band b) const override; +bool isAntennaConnected() const override; +bool isBandSupported(QRadioTuner::Band b) const override; +bool isMuted() const override; +bool isSearching() const override; +bool isStereo() const override; +void searchAllStations(QRadioTuner::SearchMode searchMode = QRadioTuner::SearchFast) override; +void searchBackward() override; +void searchForward() override; +void setBand(QRadioTuner::Band b) override; +void setFrequency(int frequency) override; +void setMuted(bool muted) override; +void setStereoMode(QRadioTuner::StereoMode mode) override; +void setVolume(int volume) override; +int signalStrength() const override; +void start() override; +QRadioTuner::State state() const override; +QRadioTuner::StereoMode stereoMode() const override; +void stop() override; +void timerEvent(QTimerEvent* event) override; +int volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioTunerControl : public QRadioTunerControl @@ -1105,7 +1108,7 @@ class PythonQtWrapper_QRadioTunerControl : public QObject public: public slots: QRadioTunerControl* new_QRadioTunerControl(QObject* parent = nullptr); -void delete_QRadioTunerControl(QRadioTunerControl* obj) { delete obj; } +void delete_QRadioTunerControl(QRadioTunerControl* obj) { delete obj; } QRadioTuner::Band band(QRadioTunerControl* theWrappedObject) const; QRadioTuner::Band py_q_band(QRadioTunerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_band());} void cancelSearch(QRadioTunerControl* theWrappedObject); @@ -1167,19 +1170,19 @@ void delete_QRadioTunerControl(QRadioTunerControl* obj) { delete obj; } class PythonQtShell_QSound : public QSound { public: - PythonQtShell_QSound(const QString& filename, QObject* parent = nullptr):QSound(filename, parent),_wrapper(NULL) {}; + PythonQtShell_QSound(const QString& filename, QObject* parent = nullptr):QSound(filename, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSound(); + ~PythonQtShell_QSound() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSound : public QObject @@ -1190,7 +1193,7 @@ enum Loop{ Infinite = QSound::Infinite}; public slots: QSound* new_QSound(const QString& filename, QObject* parent = nullptr); -void delete_QSound(QSound* obj) { delete obj; } +void delete_QSound(QSound* obj) { delete obj; } QString fileName(QSound* theWrappedObject) const; bool isFinished(QSound* theWrappedObject) const; int loops(QSound* theWrappedObject) const; @@ -1206,19 +1209,19 @@ void delete_QSound(QSound* obj) { delete obj; } class PythonQtShell_QSoundEffect : public QSoundEffect { public: - PythonQtShell_QSoundEffect(QObject* parent = nullptr):QSoundEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QSoundEffect(QObject* parent = nullptr):QSoundEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSoundEffect(); + ~PythonQtShell_QSoundEffect() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSoundEffect : public QObject @@ -1231,7 +1234,7 @@ enum Status{ Null = QSoundEffect::Null, Loading = QSoundEffect::Loading, Ready = QSoundEffect::Ready, Error = QSoundEffect::Error}; public slots: QSoundEffect* new_QSoundEffect(QObject* parent = nullptr); -void delete_QSoundEffect(QSoundEffect* obj) { delete obj; } +void delete_QSoundEffect(QSoundEffect* obj) { delete obj; } QString category(QSoundEffect* theWrappedObject) const; bool isLoaded(QSoundEffect* theWrappedObject) const; bool isMuted(QSoundEffect* theWrappedObject) const; @@ -1256,25 +1259,25 @@ void delete_QSoundEffect(QSoundEffect* obj) { delete obj; } class PythonQtShell_QVideoDeviceSelectorControl : public QVideoDeviceSelectorControl { public: - PythonQtShell_QVideoDeviceSelectorControl(QObject* parent = nullptr):QVideoDeviceSelectorControl(parent),_wrapper(NULL) {}; + PythonQtShell_QVideoDeviceSelectorControl(QObject* parent = nullptr):QVideoDeviceSelectorControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QVideoDeviceSelectorControl(); + ~PythonQtShell_QVideoDeviceSelectorControl() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual int defaultDevice() const; -virtual int deviceCount() const; -virtual QString deviceDescription(int index) const; -virtual QString deviceName(int index) const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual int selectedDevice() const; -virtual void setSelectedDevice(int index); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int defaultDevice() const override; +int deviceCount() const override; +QString deviceDescription(int index) const override; +QString deviceName(int index) const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +int selectedDevice() const override; +void setSelectedDevice(int index) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoDeviceSelectorControl : public QVideoDeviceSelectorControl @@ -1292,7 +1295,7 @@ class PythonQtWrapper_QVideoDeviceSelectorControl : public QObject public: public slots: QVideoDeviceSelectorControl* new_QVideoDeviceSelectorControl(QObject* parent = nullptr); -void delete_QVideoDeviceSelectorControl(QVideoDeviceSelectorControl* obj) { delete obj; } +void delete_QVideoDeviceSelectorControl(QVideoDeviceSelectorControl* obj) { delete obj; } int defaultDevice(QVideoDeviceSelectorControl* theWrappedObject) const; int py_q_defaultDevice(QVideoDeviceSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoDeviceSelectorControl*)theWrappedObject)->py_q_defaultDevice());} int deviceCount(QVideoDeviceSelectorControl* theWrappedObject) const; @@ -1316,7 +1319,7 @@ class PythonQtWrapper_QVideoEncoderSettings : public QObject public slots: QVideoEncoderSettings* new_QVideoEncoderSettings(); QVideoEncoderSettings* new_QVideoEncoderSettings(const QVideoEncoderSettings& other); -void delete_QVideoEncoderSettings(QVideoEncoderSettings* obj) { delete obj; } +void delete_QVideoEncoderSettings(QVideoEncoderSettings* obj) { delete obj; } int bitRate(QVideoEncoderSettings* theWrappedObject) const; QString codec(QVideoEncoderSettings* theWrappedObject) const; QMultimedia::EncodingMode encodingMode(QVideoEncoderSettings* theWrappedObject) const; @@ -1348,25 +1351,25 @@ void delete_QVideoEncoderSettings(QVideoEncoderSettings* obj) { delete obj; } class PythonQtShell_QVideoEncoderSettingsControl : public QVideoEncoderSettingsControl { public: - PythonQtShell_QVideoEncoderSettingsControl(QObject* parent = nullptr):QVideoEncoderSettingsControl(parent),_wrapper(NULL) {}; + PythonQtShell_QVideoEncoderSettingsControl(QObject* parent = nullptr):QVideoEncoderSettingsControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QVideoEncoderSettingsControl(); + ~PythonQtShell_QVideoEncoderSettingsControl() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void setVideoSettings(const QVideoEncoderSettings& settings); -virtual QList supportedFrameRates(const QVideoEncoderSettings& settings, bool* continuous = nullptr) const; -virtual QList supportedResolutions(const QVideoEncoderSettings& settings, bool* continuous = nullptr) const; -virtual QStringList supportedVideoCodecs() const; -virtual void timerEvent(QTimerEvent* event); -virtual QString videoCodecDescription(const QString& codec) const; -virtual QVideoEncoderSettings videoSettings() const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setVideoSettings(const QVideoEncoderSettings& settings) override; +QList supportedFrameRates(const QVideoEncoderSettings& settings, bool* continuous = nullptr) const override; +QList supportedResolutions(const QVideoEncoderSettings& settings, bool* continuous = nullptr) const override; +QStringList supportedVideoCodecs() const override; +void timerEvent(QTimerEvent* event) override; +QString videoCodecDescription(const QString& codec) const override; +QVideoEncoderSettings videoSettings() const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoEncoderSettingsControl : public QVideoEncoderSettingsControl @@ -1384,7 +1387,7 @@ class PythonQtWrapper_QVideoEncoderSettingsControl : public QObject public: public slots: QVideoEncoderSettingsControl* new_QVideoEncoderSettingsControl(QObject* parent = nullptr); -void delete_QVideoEncoderSettingsControl(QVideoEncoderSettingsControl* obj) { delete obj; } +void delete_QVideoEncoderSettingsControl(QVideoEncoderSettingsControl* obj) { delete obj; } void setVideoSettings(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings); void py_q_setVideoSettings(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings){ (((PythonQtPublicPromoter_QVideoEncoderSettingsControl*)theWrappedObject)->py_q_setVideoSettings(settings));} QList supportedFrameRates(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings, bool* continuous = nullptr) const; @@ -1417,7 +1420,7 @@ QVideoFrame* new_QVideoFrame(QAbstractVideoBuffer* buffer, const QSize& size, QVideoFrame* new_QVideoFrame(const QImage& image); QVideoFrame* new_QVideoFrame(const QVideoFrame& other); QVideoFrame* new_QVideoFrame(int bytes, const QSize& size, int bytesPerLine, QVideoFrame::PixelFormat format); -void delete_QVideoFrame(QVideoFrame* obj) { delete obj; } +void delete_QVideoFrame(QVideoFrame* obj) { delete obj; } QMap availableMetaData(QVideoFrame* theWrappedObject) const; uchar* bits(QVideoFrame* theWrappedObject); const uchar* bits(QVideoFrame* theWrappedObject) const; @@ -1464,19 +1467,19 @@ void delete_QVideoFrame(QVideoFrame* obj) { delete obj; } class PythonQtShell_QVideoProbe : public QVideoProbe { public: - PythonQtShell_QVideoProbe(QObject* parent = nullptr):QVideoProbe(parent),_wrapper(NULL) {}; + PythonQtShell_QVideoProbe(QObject* parent = nullptr):QVideoProbe(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QVideoProbe(); + ~PythonQtShell_QVideoProbe() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QVideoProbe : public QObject @@ -1484,7 +1487,7 @@ class PythonQtWrapper_QVideoProbe : public QObject public: public slots: QVideoProbe* new_QVideoProbe(QObject* parent = nullptr); -void delete_QVideoProbe(QVideoProbe* obj) { delete obj; } +void delete_QVideoProbe(QVideoProbe* obj) { delete obj; } bool isActive(QVideoProbe* theWrappedObject) const; bool setSource(QVideoProbe* theWrappedObject, QMediaObject* source); bool setSource(QVideoProbe* theWrappedObject, QMediaRecorder* source); 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..5f43fd91c 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 @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -53,9 +54,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -75,9 +76,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -97,20 +98,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -130,20 +131,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -163,9 +164,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractVideoSurface*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&surface0}; + void* args[2] = {nullptr, (void*)&surface0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -185,20 +186,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAbstractVideoSurface*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractVideoSurface* returnValue; - void* args[1] = {NULL}; + QAbstractVideoSurface* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surface", methodInfo, result); } else { returnValue = *((QAbstractVideoSurface**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -206,7 +207,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QVideoRendererControl::timerEvent(QTimerEvent* event0) { @@ -218,9 +219,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -434,9 +435,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -456,9 +457,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -478,9 +479,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -500,9 +501,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -522,9 +523,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -544,9 +545,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -566,20 +567,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -599,9 +600,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -621,9 +622,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -643,9 +644,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -665,9 +666,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -687,9 +688,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -709,20 +710,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -742,20 +743,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -775,9 +776,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -797,20 +798,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -830,9 +831,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -852,20 +853,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -885,20 +886,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -918,9 +919,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -940,9 +941,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -962,9 +963,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -984,20 +985,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1017,9 +1018,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1039,9 +1040,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1061,9 +1062,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1083,20 +1084,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue; - void* args[1] = {NULL}; + QMediaObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1116,20 +1117,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1149,20 +1150,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1182,9 +1183,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1204,9 +1205,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1226,9 +1227,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1248,9 +1249,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1270,9 +1271,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1292,20 +1293,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1325,20 +1326,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1358,9 +1359,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1380,20 +1381,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1413,9 +1414,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1435,20 +1436,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&object0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&object0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1468,9 +1469,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1490,20 +1491,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1523,9 +1524,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1545,20 +1546,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1578,9 +1579,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1600,9 +1601,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1622,9 +1623,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1697,20 +1698,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::AspectRatioMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::AspectRatioMode returnValue; - void* args[1] = {NULL}; + Qt::AspectRatioMode returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("aspectRatioMode", methodInfo, result); } else { returnValue = *((Qt::AspectRatioMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1730,20 +1731,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("brightness", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1763,9 +1764,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1785,20 +1786,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contrast", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1818,9 +1819,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1840,20 +1841,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1873,20 +1874,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1906,20 +1907,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hue", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1939,20 +1940,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFullScreen", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1972,20 +1973,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("saturation", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2005,9 +2006,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::AspectRatioMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2027,9 +2028,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&brightness0}; + void* args[2] = {nullptr, (void*)&brightness0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2049,9 +2050,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&contrast0}; + void* args[2] = {nullptr, (void*)&contrast0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2071,9 +2072,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fullScreen0}; + void* args[2] = {nullptr, (void*)&fullScreen0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2093,9 +2094,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&hue0}; + void* args[2] = {nullptr, (void*)&hue0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2115,9 +2116,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&saturation0}; + void* args[2] = {nullptr, (void*)&saturation0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2137,9 +2138,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2159,20 +2160,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue; - void* args[1] = {NULL}; + QWidget* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("videoWidget", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2180,7 +2181,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QVideoWidgetControl* PythonQtWrapper_QVideoWidgetControl::new_QVideoWidgetControl(QObject* parent) { @@ -2280,20 +2281,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::AspectRatioMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::AspectRatioMode returnValue; - void* args[1] = {NULL}; + Qt::AspectRatioMode returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("aspectRatioMode", methodInfo, result); } else { returnValue = *((Qt::AspectRatioMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2313,20 +2314,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("brightness", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2346,9 +2347,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2368,20 +2369,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contrast", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2401,9 +2402,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2423,20 +2424,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("displayRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2456,20 +2457,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2489,20 +2490,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2522,20 +2523,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hue", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2555,20 +2556,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFullScreen", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2588,20 +2589,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2621,9 +2622,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2643,20 +2644,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("saturation", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2676,9 +2677,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::AspectRatioMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2698,9 +2699,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&brightness0}; + void* args[2] = {nullptr, (void*)&brightness0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2720,9 +2721,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&contrast0}; + void* args[2] = {nullptr, (void*)&contrast0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2742,9 +2743,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2764,9 +2765,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fullScreen0}; + void* args[2] = {nullptr, (void*)&fullScreen0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2786,9 +2787,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&hue0}; + void* args[2] = {nullptr, (void*)&hue0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2808,9 +2809,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&saturation0}; + void* args[2] = {nullptr, (void*)&saturation0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2830,9 +2831,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "WId"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&id0}; + void* args[2] = {nullptr, (void*)&id0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2852,9 +2853,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2874,20 +2875,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"WId"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - WId returnValue = 0; - void* args[1] = {NULL}; + WId returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("winId", methodInfo, result); } else { returnValue = *((WId*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h index d13115056..eb70c3eeb 100644 --- a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h +++ b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -46,21 +47,21 @@ class PythonQtShell_QVideoRendererControl : public QVideoRendererControl { public: - PythonQtShell_QVideoRendererControl(QObject* parent = nullptr):QVideoRendererControl(parent),_wrapper(NULL) {}; + PythonQtShell_QVideoRendererControl(QObject* parent = nullptr):QVideoRendererControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QVideoRendererControl(); + ~PythonQtShell_QVideoRendererControl() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void setSurface(QAbstractVideoSurface* surface); -virtual QAbstractVideoSurface* surface() const; -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setSurface(QAbstractVideoSurface* surface) override; +QAbstractVideoSurface* surface() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoRendererControl : public QVideoRendererControl @@ -74,7 +75,7 @@ class PythonQtWrapper_QVideoRendererControl : public QObject public: public slots: QVideoRendererControl* new_QVideoRendererControl(QObject* parent = nullptr); -void delete_QVideoRendererControl(QVideoRendererControl* obj) { delete obj; } +void delete_QVideoRendererControl(QVideoRendererControl* obj) { delete obj; } void setSurface(QVideoRendererControl* theWrappedObject, QAbstractVideoSurface* surface); void py_q_setSurface(QVideoRendererControl* theWrappedObject, QAbstractVideoSurface* surface){ (((PythonQtPublicPromoter_QVideoRendererControl*)theWrappedObject)->py_q_setSurface(surface));} QAbstractVideoSurface* surface(QVideoRendererControl* theWrappedObject) const; @@ -97,7 +98,7 @@ public slots: QVideoSurfaceFormat* new_QVideoSurfaceFormat(); QVideoSurfaceFormat* new_QVideoSurfaceFormat(const QSize& size, QVideoFrame::PixelFormat pixelFormat, QAbstractVideoBuffer::HandleType handleType = QAbstractVideoBuffer::NoHandle); QVideoSurfaceFormat* new_QVideoSurfaceFormat(const QVideoSurfaceFormat& format); -void delete_QVideoSurfaceFormat(QVideoSurfaceFormat* obj) { delete obj; } +void delete_QVideoSurfaceFormat(QVideoSurfaceFormat* obj) { delete obj; } int frameHeight(QVideoSurfaceFormat* theWrappedObject) const; qreal frameRate(QVideoSurfaceFormat* theWrappedObject) const; QSize frameSize(QVideoSurfaceFormat* theWrappedObject) const; @@ -137,61 +138,61 @@ void delete_QVideoSurfaceFormat(QVideoSurfaceFormat* obj) { delete obj; } class PythonQtShell_QVideoWidget : public QVideoWidget { public: - PythonQtShell_QVideoWidget(QWidget* parent = nullptr):QVideoWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QVideoWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual QMediaObject* mediaObject() const; -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual bool setMediaObject(QMediaObject* object); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QVideoWidget(QWidget* parent = nullptr):QVideoWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVideoWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +QMediaObject* mediaObject() const override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +bool setMediaObject(QMediaObject* object) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoWidget : public QVideoWidget @@ -219,7 +220,7 @@ class PythonQtWrapper_QVideoWidget : public QObject public: public slots: QVideoWidget* new_QVideoWidget(QWidget* parent = nullptr); -void delete_QVideoWidget(QVideoWidget* obj) { delete obj; } +void delete_QVideoWidget(QVideoWidget* obj) { delete obj; } Qt::AspectRatioMode aspectRatioMode(QVideoWidget* theWrappedObject) const; int brightness(QVideoWidget* theWrappedObject) const; int contrast(QVideoWidget* theWrappedObject) const; @@ -244,32 +245,32 @@ void delete_QVideoWidget(QVideoWidget* obj) { delete obj; } class PythonQtShell_QVideoWidgetControl : public QVideoWidgetControl { public: - PythonQtShell_QVideoWidgetControl(QObject* parent = nullptr):QVideoWidgetControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QVideoWidgetControl(); - -virtual Qt::AspectRatioMode aspectRatioMode() const; -virtual int brightness() const; -virtual void childEvent(QChildEvent* event); -virtual int contrast() const; -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual int hue() const; -virtual bool isFullScreen() const; -virtual int saturation() const; -virtual void setAspectRatioMode(Qt::AspectRatioMode mode); -virtual void setBrightness(int brightness); -virtual void setContrast(int contrast); -virtual void setFullScreen(bool fullScreen); -virtual void setHue(int hue); -virtual void setSaturation(int saturation); -virtual void timerEvent(QTimerEvent* event); -virtual QWidget* videoWidget(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QVideoWidgetControl(QObject* parent = nullptr):QVideoWidgetControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVideoWidgetControl() override; + +Qt::AspectRatioMode aspectRatioMode() const override; +int brightness() const override; +void childEvent(QChildEvent* event) override; +int contrast() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +int hue() const override; +bool isFullScreen() const override; +int saturation() const override; +void setAspectRatioMode(Qt::AspectRatioMode mode) override; +void setBrightness(int brightness) override; +void setContrast(int contrast) override; +void setFullScreen(bool fullScreen) override; +void setHue(int hue) override; +void setSaturation(int saturation) override; +void timerEvent(QTimerEvent* event) override; +QWidget* videoWidget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoWidgetControl : public QVideoWidgetControl @@ -294,7 +295,7 @@ class PythonQtWrapper_QVideoWidgetControl : public QObject public: public slots: QVideoWidgetControl* new_QVideoWidgetControl(QObject* parent = nullptr); -void delete_QVideoWidgetControl(QVideoWidgetControl* obj) { delete obj; } +void delete_QVideoWidgetControl(QVideoWidgetControl* obj) { delete obj; } Qt::AspectRatioMode aspectRatioMode(QVideoWidgetControl* theWrappedObject) const; Qt::AspectRatioMode py_q_aspectRatioMode(QVideoWidgetControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_aspectRatioMode());} int brightness(QVideoWidgetControl* theWrappedObject) const; @@ -330,37 +331,37 @@ void delete_QVideoWidgetControl(QVideoWidgetControl* obj) { delete obj; } class PythonQtShell_QVideoWindowControl : public QVideoWindowControl { public: - PythonQtShell_QVideoWindowControl(QObject* parent = nullptr):QVideoWindowControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QVideoWindowControl(); - -virtual Qt::AspectRatioMode aspectRatioMode() const; -virtual int brightness() const; -virtual void childEvent(QChildEvent* event); -virtual int contrast() const; -virtual void customEvent(QEvent* event); -virtual QRect displayRect() const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual int hue() const; -virtual bool isFullScreen() const; -virtual QSize nativeSize() const; -virtual void repaint(); -virtual int saturation() const; -virtual void setAspectRatioMode(Qt::AspectRatioMode mode); -virtual void setBrightness(int brightness); -virtual void setContrast(int contrast); -virtual void setDisplayRect(const QRect& rect); -virtual void setFullScreen(bool fullScreen); -virtual void setHue(int hue); -virtual void setSaturation(int saturation); -virtual void setWinId(WId id); -virtual void timerEvent(QTimerEvent* event); -virtual WId winId() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QVideoWindowControl(QObject* parent = nullptr):QVideoWindowControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVideoWindowControl() override; + +Qt::AspectRatioMode aspectRatioMode() const override; +int brightness() const override; +void childEvent(QChildEvent* event) override; +int contrast() const override; +void customEvent(QEvent* event) override; +QRect displayRect() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +int hue() const override; +bool isFullScreen() const override; +QSize nativeSize() const override; +void repaint() override; +int saturation() const override; +void setAspectRatioMode(Qt::AspectRatioMode mode) override; +void setBrightness(int brightness) override; +void setContrast(int contrast) override; +void setDisplayRect(const QRect& rect) override; +void setFullScreen(bool fullScreen) override; +void setHue(int hue) override; +void setSaturation(int saturation) override; +void setWinId(WId id) override; +void timerEvent(QTimerEvent* event) override; +WId winId() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoWindowControl : public QVideoWindowControl @@ -390,7 +391,7 @@ class PythonQtWrapper_QVideoWindowControl : public QObject public: public slots: QVideoWindowControl* new_QVideoWindowControl(QObject* parent = nullptr); -void delete_QVideoWindowControl(QVideoWindowControl* obj) { delete obj; } +void delete_QVideoWindowControl(QVideoWindowControl* obj) { delete obj; } Qt::AspectRatioMode aspectRatioMode(QVideoWindowControl* theWrappedObject) const; Qt::AspectRatioMode py_q_aspectRatioMode(QVideoWindowControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_aspectRatioMode());} int brightness(QVideoWindowControl* theWrappedObject) const; diff --git a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp index 81183896f..1a9ca308b 100644 --- a/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp +++ b/generated_cpp_511/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp @@ -13,14 +13,14 @@ PythonQt::priv()->registerClass(&QAbstractAudioInput::staticMetaObject, "QtMulti PythonQt::priv()->registerClass(&QAbstractAudioOutput::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QAbstractVideoBuffer", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAbstractVideoSurface::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QAudio", "", "QtMultimedia", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QAudioBuffer", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QAudio", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QAudioBuffer", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QAudioDecoder::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAudioDecoderControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QAudioDeviceInfo", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QAudioEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QAudioDeviceInfo", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QAudioEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QAudioEncoderSettingsControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QAudioFormat", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QAudioFormat", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QAudioInput::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAudioInputSelectorControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAudioOutput::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -34,23 +34,23 @@ PythonQt::priv()->registerClass(&QCamera::staticMetaObject, "QtMultimedia", Pyth PythonQt::priv()->registerClass(&QCameraCaptureBufferFormatControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraCaptureDestinationControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QCameraExposure::staticMetaObject, "QtMultimedia", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QCameraExposure::staticMetaObject, "QtMultimedia", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QCameraExposureControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraFeedbackControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraFlashControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QCameraFocus::staticMetaObject, "QtMultimedia", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QCameraFocus::staticMetaObject, "QtMultimedia", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QCameraFocusControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QCameraFocusZone", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCameraFocusZone", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QCameraImageCapture::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QCameraImageCapture", "QMediaBindableInterface",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QCameraImageCaptureControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QCameraImageProcessing::staticMetaObject, "QtMultimedia", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QCameraImageProcessing::staticMetaObject, "QtMultimedia", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QCameraImageProcessingControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QCameraInfo", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCameraInfo", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QCameraInfoControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraLocksControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraViewfinder::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QCameraViewfinderSettings", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QCameraViewfinderSettings", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QCameraViewfinderSettingsControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraViewfinderSettingsControl2::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraZoomControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -58,12 +58,12 @@ PythonQt::priv()->registerCPPClass("QCamera::FrameRateRange", "", "QtMultimedia" PythonQt::priv()->registerClass(&QGraphicsVideoItem::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QGraphicsVideoItem", "QMediaBindableInterface",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QImageEncoderControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QImageEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QImageEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMediaAudioProbeControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaAvailabilityControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaBindableInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaContainerControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMediaContent", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMediaContent", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMediaControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaGaplessPlaybackControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaNetworkAccessControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -75,22 +75,22 @@ PythonQt::self()->addParentClass("QMediaPlaylist", "QMediaBindableInterface",Pyt PythonQt::priv()->registerClass(&QMediaRecorder::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QMediaRecorder", "QMediaBindableInterface",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QMediaRecorderControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMediaResource", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMediaResource", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMediaService::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceCameraInfoInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceDefaultDeviceInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceProviderFactoryInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMediaServiceProviderHint", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMediaServiceProviderHint", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMediaServiceProviderPlugin::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceSupportedDevicesInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceSupportedFormatsInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaStreamsControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMediaTimeInterval", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QMediaTimeRange", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceSubtract|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QMediaTimeInterval", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMediaTimeRange", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceSubtract|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); PythonQt::priv()->registerClass(&QMediaVideoProbeControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMetaDataReaderControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMetaDataWriterControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMultimedia", "", "QtMultimedia", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QMultimedia", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QRadioData::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QRadioData", "QMediaBindableInterface",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QRadioDataControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -99,12 +99,12 @@ PythonQt::priv()->registerClass(&QRadioTunerControl::staticMetaObject, "QtMultim PythonQt::priv()->registerClass(&QSound::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSoundEffect::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QVideoDeviceSelectorControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QVideoEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QVideoEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QVideoEncoderSettingsControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QVideoFrame", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QVideoFrame", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QVideoProbe::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QVideoRendererControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QVideoSurfaceFormat", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QVideoSurfaceFormat", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QVideoWidget::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QVideoWidget", "QMediaBindableInterface",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QVideoWidgetControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); 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..9be5d68a7 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 @@ -38,6 +38,7 @@ #include #include #include +#include #include #include @@ -55,20 +56,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cacheSize", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -88,9 +89,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -110,9 +111,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -132,9 +133,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -154,20 +155,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QIODevice*" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIODevice* returnValue; - void* args[2] = {NULL, (void*)&url0}; + QIODevice* returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -175,7 +176,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } bool PythonQtShell_QAbstractNetworkCache::event(QEvent* event0) { @@ -187,20 +188,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -220,20 +221,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -253,9 +254,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -275,20 +276,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QNetworkCacheMetaData" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QNetworkCacheMetaData returnValue; - void* args[2] = {NULL, (void*)&url0}; + QNetworkCacheMetaData returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); } else { returnValue = *((QNetworkCacheMetaData*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -308,20 +309,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QIODevice*" , "const QNetworkCacheMetaData&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIODevice* returnValue; - void* args[2] = {NULL, (void*)&metaData0}; + QIODevice* returnValue{}; + void* args[2] = {nullptr, (void*)&metaData0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("prepare", methodInfo, result); } else { returnValue = *((QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -329,7 +330,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } bool PythonQtShell_QAbstractNetworkCache::remove(const QUrl& url0) { @@ -341,20 +342,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&url0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("remove", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -374,9 +375,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -396,9 +397,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QNetworkCacheMetaData&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&metaData0}; + void* args[2] = {nullptr, (void*)&metaData0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -476,20 +477,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -509,20 +510,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -542,20 +543,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -575,20 +576,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -608,9 +609,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -630,9 +631,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -652,9 +653,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QHostAddress&" , "unsigned short" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&address0, (void*)&port1, (void*)&mode2}; + void* args[4] = {nullptr, (void*)&address0, (void*)&port1, (void*)&mode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -674,9 +675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "unsigned short" , "QIODevice::OpenMode" , "QAbstractSocket::NetworkLayerProtocol"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; + void* args[5] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -696,9 +697,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -718,9 +719,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -740,20 +741,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -773,20 +774,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -806,20 +807,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -839,20 +840,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&mode0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -872,20 +873,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -905,20 +906,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -938,20 +939,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -971,20 +972,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1004,9 +1005,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1026,20 +1027,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&pos0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1059,9 +1060,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1081,20 +1082,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1114,9 +1115,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1136,20 +1137,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1169,20 +1170,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qintptr"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qintptr returnValue = 0; - void* args[1] = {NULL}; + qintptr returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); } else { returnValue = *((qintptr*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1202,20 +1203,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&option0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1235,9 +1236,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1257,20 +1258,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1290,20 +1291,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1323,20 +1324,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1356,20 +1357,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1389,20 +1390,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1765,9 +1766,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1787,9 +1788,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1809,20 +1810,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1842,20 +1843,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1875,9 +1876,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2428,6 +2429,11 @@ bool PythonQtWrapper_QHstsPolicy::isExpired(QHstsPolicy* theWrappedObject) cons return ( theWrappedObject->isExpired()); } +bool PythonQtWrapper_QHstsPolicy::__ne__(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + QHstsPolicy* PythonQtWrapper_QHstsPolicy::operator_assign(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs) { return &( (*theWrappedObject)= rhs); @@ -2474,9 +2480,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2496,9 +2502,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2518,20 +2524,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2551,20 +2557,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2584,9 +2590,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2713,9 +2719,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2735,9 +2741,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2757,20 +2763,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2790,20 +2796,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2823,20 +2829,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasPendingConnections", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2856,9 +2862,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "quintptr"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&socketDescriptor0}; + void* args[2] = {nullptr, (void*)&socketDescriptor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2878,20 +2884,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLocalSocket*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLocalSocket* returnValue; - void* args[1] = {NULL}; + QLocalSocket* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextPendingConnection", methodInfo, result); } else { returnValue = *((QLocalSocket**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2911,9 +2917,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3046,20 +3052,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3079,20 +3085,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3112,20 +3118,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3145,20 +3151,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3178,9 +3184,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3200,9 +3206,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3222,9 +3228,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3244,20 +3250,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3277,20 +3283,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3310,20 +3316,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3343,20 +3349,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&openMode0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&openMode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3376,20 +3382,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3409,20 +3415,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3442,20 +3448,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3475,20 +3481,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3508,20 +3514,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&pos0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3541,20 +3547,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3574,9 +3580,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3596,20 +3602,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3629,20 +3635,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3662,20 +3668,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3803,9 +3809,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3825,20 +3831,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QNetworkReply*" , "QNetworkAccessManager::Operation" , "const QNetworkRequest&" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QNetworkReply* returnValue; - void* args[4] = {NULL, (void*)&op0, (void*)&request1, (void*)&outgoingData2}; + QNetworkReply* returnValue{}; + void* args[4] = {nullptr, (void*)&op0, (void*)&request1, (void*)&outgoingData2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createRequest", methodInfo, result); } else { returnValue = *((QNetworkReply**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3858,9 +3864,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3880,20 +3886,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3913,20 +3919,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3946,9 +3952,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4481,9 +4487,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4503,9 +4509,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4525,20 +4531,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4558,20 +4564,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4591,9 +4597,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4788,9 +4794,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4810,20 +4816,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QList returnValue; - void* args[2] = {NULL, (void*)&url0}; + QList returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cookiesForUrl", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4843,9 +4849,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4865,20 +4871,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QNetworkCookie&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&cookie0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&cookie0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deleteCookie", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4898,20 +4904,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4931,20 +4937,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4964,20 +4970,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QNetworkCookie&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&cookie0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&cookie0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertCookie", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4997,20 +5003,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QList&" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&cookieList0, (void*)&url1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&cookieList0, (void*)&url1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setCookiesFromUrl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5030,9 +5036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5052,20 +5058,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QNetworkCookie&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&cookie0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&cookie0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("updateCookie", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5085,20 +5091,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QNetworkCookie&" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&cookie0, (void*)&url1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&cookie0, (void*)&url1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validateCookie", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5285,20 +5291,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cacheSize", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5318,9 +5324,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5340,9 +5346,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5362,9 +5368,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5384,20 +5390,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QIODevice*" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIODevice* returnValue; - void* args[2] = {NULL, (void*)&url0}; + QIODevice* returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5417,20 +5423,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5450,20 +5456,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5483,20 +5489,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("expire", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5516,9 +5522,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5538,20 +5544,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QNetworkCacheMetaData" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QNetworkCacheMetaData returnValue; - void* args[2] = {NULL, (void*)&url0}; + QNetworkCacheMetaData returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); } else { returnValue = *((QNetworkCacheMetaData*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5571,20 +5577,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QIODevice*" , "const QNetworkCacheMetaData&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIODevice* returnValue; - void* args[2] = {NULL, (void*)&metaData0}; + QIODevice* returnValue{}; + void* args[2] = {nullptr, (void*)&metaData0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("prepare", methodInfo, result); } else { returnValue = *((QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5604,20 +5610,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&url0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("remove", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5637,9 +5643,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5659,9 +5665,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QNetworkCacheMetaData&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&metaData0}; + void* args[2] = {nullptr, (void*)&metaData0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5977,20 +5983,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QNetworkProxyQuery&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QList returnValue; - void* args[2] = {NULL, (void*)&query0}; + QList returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("queryProxy", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network0.h b/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network0.h index 38764dad3..4071c623a 100644 --- a/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network0.h +++ b/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network0.h @@ -37,6 +37,7 @@ #include #include #include +#include #include #include @@ -45,27 +46,27 @@ class PythonQtShell_QAbstractNetworkCache : public QAbstractNetworkCache { public: - PythonQtShell_QAbstractNetworkCache(QObject* parent = nullptr):QAbstractNetworkCache(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractNetworkCache(); - -virtual qint64 cacheSize() const; -virtual void childEvent(QChildEvent* event); -virtual void clear(); -virtual void customEvent(QEvent* event); -virtual QIODevice* data(const QUrl& url); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void insert(QIODevice* device); -virtual QNetworkCacheMetaData metaData(const QUrl& url); -virtual QIODevice* prepare(const QNetworkCacheMetaData& metaData); -virtual bool remove(const QUrl& url); -virtual void timerEvent(QTimerEvent* event); -virtual void updateMetaData(const QNetworkCacheMetaData& metaData); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractNetworkCache(QObject* parent = nullptr):QAbstractNetworkCache(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractNetworkCache() override; + +qint64 cacheSize() const override; +void childEvent(QChildEvent* event) override; +void clear() override; +void customEvent(QEvent* event) override; +QIODevice* data(const QUrl& url) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void insert(QIODevice* device) override; +QNetworkCacheMetaData metaData(const QUrl& url) override; +QIODevice* prepare(const QNetworkCacheMetaData& metaData) override; +bool remove(const QUrl& url) override; +void timerEvent(QTimerEvent* event) override; +void updateMetaData(const QNetworkCacheMetaData& metaData) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractNetworkCache : public QAbstractNetworkCache @@ -85,7 +86,7 @@ class PythonQtWrapper_QAbstractNetworkCache : public QObject public: public slots: QAbstractNetworkCache* new_QAbstractNetworkCache(QObject* parent = nullptr); -void delete_QAbstractNetworkCache(QAbstractNetworkCache* obj) { delete obj; } +void delete_QAbstractNetworkCache(QAbstractNetworkCache* obj) { delete obj; } qint64 cacheSize(QAbstractNetworkCache* theWrappedObject) const; qint64 py_q_cacheSize(QAbstractNetworkCache* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractNetworkCache*)theWrappedObject)->py_q_cacheSize());} void py_q_clear(QAbstractNetworkCache* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractNetworkCache*)theWrappedObject)->py_q_clear());} @@ -110,46 +111,46 @@ void delete_QAbstractNetworkCache(QAbstractNetworkCache* obj) { delete obj; } class PythonQtShell_QAbstractSocket : public QAbstractSocket { public: - PythonQtShell_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent):QAbstractSocket(socketType, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* event); -virtual void close(); -virtual void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite); -virtual void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); -virtual void customEvent(QEvent* event); -virtual void disconnectFromHost(); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual void resume(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); -virtual void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value); -virtual qint64 size() const; -virtual qintptr socketDescriptor() const; -virtual QVariant socketOption(QAbstractSocket::SocketOption option); -virtual void timerEvent(QTimerEvent* event); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForConnected(int msecs = 30000); -virtual bool waitForDisconnected(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent):QAbstractSocket(socketType, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractSocket() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite) override; +void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) override; +void customEvent(QEvent* event) override; +void disconnectFromHost() override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +void resume() override; +bool seek(qint64 pos) override; +void setReadBufferSize(qint64 size) override; +bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite) override; +void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value) override; +qint64 size() const override; +qintptr socketDescriptor() const override; +QVariant socketOption(QAbstractSocket::SocketOption option) override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForConnected(int msecs = 30000) override; +bool waitForDisconnected(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractSocket : public QAbstractSocket @@ -201,7 +202,7 @@ Q_DECLARE_FLAGS(BindMode, BindFlag) Q_DECLARE_FLAGS(PauseModes, PauseMode) public slots: QAbstractSocket* new_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent); -void delete_QAbstractSocket(QAbstractSocket* obj) { delete obj; } +void delete_QAbstractSocket(QAbstractSocket* obj) { delete obj; } void abort(QAbstractSocket* theWrappedObject); bool py_q_atEnd(QAbstractSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_atEnd());} bool bind(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port = 0, QAbstractSocket::BindMode mode = QAbstractSocket::DefaultForPlatform); @@ -273,7 +274,7 @@ class PythonQtWrapper_QAuthenticator : public QObject public slots: QAuthenticator* new_QAuthenticator(); QAuthenticator* new_QAuthenticator(const QAuthenticator& other); -void delete_QAuthenticator(QAuthenticator* obj) { delete obj; } +void delete_QAuthenticator(QAuthenticator* obj) { delete obj; } bool isNull(QAuthenticator* theWrappedObject) const; bool __ne__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const; bool __eq__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const; @@ -299,7 +300,7 @@ class PythonQtWrapper_QDnsDomainNameRecord : public QObject public slots: QDnsDomainNameRecord* new_QDnsDomainNameRecord(); QDnsDomainNameRecord* new_QDnsDomainNameRecord(const QDnsDomainNameRecord& other); -void delete_QDnsDomainNameRecord(QDnsDomainNameRecord* obj) { delete obj; } +void delete_QDnsDomainNameRecord(QDnsDomainNameRecord* obj) { delete obj; } QString name(QDnsDomainNameRecord* theWrappedObject) const; QDnsDomainNameRecord* operator_assign(QDnsDomainNameRecord* theWrappedObject, const QDnsDomainNameRecord& other); void swap(QDnsDomainNameRecord* theWrappedObject, QDnsDomainNameRecord& other); @@ -317,7 +318,7 @@ class PythonQtWrapper_QDnsHostAddressRecord : public QObject public slots: QDnsHostAddressRecord* new_QDnsHostAddressRecord(); QDnsHostAddressRecord* new_QDnsHostAddressRecord(const QDnsHostAddressRecord& other); -void delete_QDnsHostAddressRecord(QDnsHostAddressRecord* obj) { delete obj; } +void delete_QDnsHostAddressRecord(QDnsHostAddressRecord* obj) { delete obj; } QString name(QDnsHostAddressRecord* theWrappedObject) const; QDnsHostAddressRecord* operator_assign(QDnsHostAddressRecord* theWrappedObject, const QDnsHostAddressRecord& other); void swap(QDnsHostAddressRecord* theWrappedObject, QDnsHostAddressRecord& other); @@ -332,21 +333,21 @@ void delete_QDnsHostAddressRecord(QDnsHostAddressRecord* obj) { delete obj; } class PythonQtShell_QDnsLookup : public QDnsLookup { public: - PythonQtShell_QDnsLookup(QDnsLookup::Type type, const QString& name, QObject* parent = nullptr):QDnsLookup(type, name, parent),_wrapper(NULL) {}; - PythonQtShell_QDnsLookup(QDnsLookup::Type type, const QString& name, const QHostAddress& nameserver, QObject* parent = nullptr):QDnsLookup(type, name, nameserver, parent),_wrapper(NULL) {}; - PythonQtShell_QDnsLookup(QObject* parent = nullptr):QDnsLookup(parent),_wrapper(NULL) {}; + PythonQtShell_QDnsLookup(QDnsLookup::Type type, const QString& name, QObject* parent = nullptr):QDnsLookup(type, name, parent),_wrapper(nullptr) {}; + PythonQtShell_QDnsLookup(QDnsLookup::Type type, const QString& name, const QHostAddress& nameserver, QObject* parent = nullptr):QDnsLookup(type, name, nameserver, parent),_wrapper(nullptr) {}; + PythonQtShell_QDnsLookup(QObject* parent = nullptr):QDnsLookup(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QDnsLookup(); + ~PythonQtShell_QDnsLookup() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDnsLookup : public QObject @@ -356,7 +357,7 @@ public slots: QDnsLookup* new_QDnsLookup(QDnsLookup::Type type, const QString& name, QObject* parent = nullptr); QDnsLookup* new_QDnsLookup(QDnsLookup::Type type, const QString& name, const QHostAddress& nameserver, QObject* parent = nullptr); QDnsLookup* new_QDnsLookup(QObject* parent = nullptr); -void delete_QDnsLookup(QDnsLookup* obj) { delete obj; } +void delete_QDnsLookup(QDnsLookup* obj) { delete obj; } QList canonicalNameRecords(QDnsLookup* theWrappedObject) const; QDnsLookup::Error error(QDnsLookup* theWrappedObject) const; QString errorString(QDnsLookup* theWrappedObject) const; @@ -385,7 +386,7 @@ class PythonQtWrapper_QDnsMailExchangeRecord : public QObject public slots: QDnsMailExchangeRecord* new_QDnsMailExchangeRecord(); QDnsMailExchangeRecord* new_QDnsMailExchangeRecord(const QDnsMailExchangeRecord& other); -void delete_QDnsMailExchangeRecord(QDnsMailExchangeRecord* obj) { delete obj; } +void delete_QDnsMailExchangeRecord(QDnsMailExchangeRecord* obj) { delete obj; } QString exchange(QDnsMailExchangeRecord* theWrappedObject) const; QString name(QDnsMailExchangeRecord* theWrappedObject) const; QDnsMailExchangeRecord* operator_assign(QDnsMailExchangeRecord* theWrappedObject, const QDnsMailExchangeRecord& other); @@ -404,7 +405,7 @@ class PythonQtWrapper_QDnsServiceRecord : public QObject public slots: QDnsServiceRecord* new_QDnsServiceRecord(); QDnsServiceRecord* new_QDnsServiceRecord(const QDnsServiceRecord& other); -void delete_QDnsServiceRecord(QDnsServiceRecord* obj) { delete obj; } +void delete_QDnsServiceRecord(QDnsServiceRecord* obj) { delete obj; } QString name(QDnsServiceRecord* theWrappedObject) const; QDnsServiceRecord* operator_assign(QDnsServiceRecord* theWrappedObject, const QDnsServiceRecord& other); unsigned short port(QDnsServiceRecord* theWrappedObject) const; @@ -425,7 +426,7 @@ class PythonQtWrapper_QDnsTextRecord : public QObject public slots: QDnsTextRecord* new_QDnsTextRecord(); QDnsTextRecord* new_QDnsTextRecord(const QDnsTextRecord& other); -void delete_QDnsTextRecord(QDnsTextRecord* obj) { delete obj; } +void delete_QDnsTextRecord(QDnsTextRecord* obj) { delete obj; } QString name(QDnsTextRecord* theWrappedObject) const; QDnsTextRecord* operator_assign(QDnsTextRecord* theWrappedObject, const QDnsTextRecord& other); void swap(QDnsTextRecord* theWrappedObject, QDnsTextRecord& other); @@ -453,7 +454,7 @@ QHostAddress* new_QHostAddress(const QIPv6Address& ip6Addr); QHostAddress* new_QHostAddress(const QString& address); QHostAddress* new_QHostAddress(const unsigned char* ip6Addr); QHostAddress* new_QHostAddress(unsigned int ip4Addr); -void delete_QHostAddress(QHostAddress* obj) { delete obj; } +void delete_QHostAddress(QHostAddress* obj) { delete obj; } void clear(QHostAddress* theWrappedObject); bool isBroadcast(QHostAddress* theWrappedObject) const; bool isGlobal(QHostAddress* theWrappedObject) const; @@ -503,7 +504,7 @@ enum HostInfoError{ public slots: QHostInfo* new_QHostInfo(const QHostInfo& d); QHostInfo* new_QHostInfo(int lookupId = -1); -void delete_QHostInfo(QHostInfo* obj) { delete obj; } +void delete_QHostInfo(QHostInfo* obj) { delete obj; } void static_QHostInfo_abortHostLookup(int lookupId); QList addresses(QHostInfo* theWrappedObject) const; QHostInfo::HostInfoError error(QHostInfo* theWrappedObject) const; @@ -535,11 +536,12 @@ enum PolicyFlag{ public slots: QHstsPolicy* new_QHstsPolicy(); QHstsPolicy* new_QHstsPolicy(const QHstsPolicy& rhs); -void delete_QHstsPolicy(QHstsPolicy* obj) { delete obj; } +void delete_QHstsPolicy(QHstsPolicy* obj) { delete obj; } QDateTime expiry(QHstsPolicy* theWrappedObject) const; QString host(QHstsPolicy* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; bool includesSubDomains(QHstsPolicy* theWrappedObject) const; bool isExpired(QHstsPolicy* theWrappedObject) const; + bool __ne__(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs); QHstsPolicy* operator_assign(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs); bool __eq__(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs); void setExpiry(QHstsPolicy* theWrappedObject, const QDateTime& expiry); @@ -555,20 +557,20 @@ void delete_QHstsPolicy(QHstsPolicy* obj) { delete obj; } class PythonQtShell_QHttpMultiPart : public QHttpMultiPart { public: - PythonQtShell_QHttpMultiPart(QHttpMultiPart::ContentType contentType, QObject* parent = nullptr):QHttpMultiPart(contentType, parent),_wrapper(NULL) {}; - PythonQtShell_QHttpMultiPart(QObject* parent = nullptr):QHttpMultiPart(parent),_wrapper(NULL) {}; + PythonQtShell_QHttpMultiPart(QHttpMultiPart::ContentType contentType, QObject* parent = nullptr):QHttpMultiPart(contentType, parent),_wrapper(nullptr) {}; + PythonQtShell_QHttpMultiPart(QObject* parent = nullptr):QHttpMultiPart(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QHttpMultiPart(); + ~PythonQtShell_QHttpMultiPart() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QHttpMultiPart : public QObject @@ -580,7 +582,7 @@ enum ContentType{ public slots: QHttpMultiPart* new_QHttpMultiPart(QHttpMultiPart::ContentType contentType, QObject* parent = nullptr); QHttpMultiPart* new_QHttpMultiPart(QObject* parent = nullptr); -void delete_QHttpMultiPart(QHttpMultiPart* obj) { delete obj; } +void delete_QHttpMultiPart(QHttpMultiPart* obj) { delete obj; } void append(QHttpMultiPart* theWrappedObject, const QHttpPart& httpPart); QByteArray boundary(QHttpMultiPart* theWrappedObject) const; void setBoundary(QHttpMultiPart* theWrappedObject, const QByteArray& boundary); @@ -597,7 +599,7 @@ class PythonQtWrapper_QHttpPart : public QObject public slots: QHttpPart* new_QHttpPart(); QHttpPart* new_QHttpPart(const QHttpPart& other); -void delete_QHttpPart(QHttpPart* obj) { delete obj; } +void delete_QHttpPart(QHttpPart* obj) { delete obj; } bool __ne__(QHttpPart* theWrappedObject, const QHttpPart& other) const; QHttpPart* operator_assign(QHttpPart* theWrappedObject, const QHttpPart& other); bool __eq__(QHttpPart* theWrappedObject, const QHttpPart& other) const; @@ -615,12 +617,12 @@ void delete_QHttpPart(QHttpPart* obj) { delete obj; } class PythonQtShell_QIPv6Address : public QIPv6Address { public: - PythonQtShell_QIPv6Address():QIPv6Address(),_wrapper(NULL) {}; + PythonQtShell_QIPv6Address():QIPv6Address(),_wrapper(nullptr) {}; ~PythonQtShell_QIPv6Address(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QIPv6Address : public QObject @@ -632,7 +634,7 @@ QIPv6Address* new_QIPv6Address(const QIPv6Address& other) { PythonQtShell_QIPv6Address* a = new PythonQtShell_QIPv6Address(); *((QIPv6Address*)a) = other; return a; } -void delete_QIPv6Address(QIPv6Address* obj) { delete obj; } +void delete_QIPv6Address(QIPv6Address* obj) { delete obj; } }; @@ -642,22 +644,22 @@ void delete_QIPv6Address(QIPv6Address* obj) { delete obj; } class PythonQtShell_QLocalServer : public QLocalServer { public: - PythonQtShell_QLocalServer(QObject* parent = nullptr):QLocalServer(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLocalServer(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool hasPendingConnections() const; -virtual void incomingConnection(quintptr socketDescriptor); -virtual QLocalSocket* nextPendingConnection(); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QLocalServer(QObject* parent = nullptr):QLocalServer(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QLocalServer() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool hasPendingConnections() const override; +void incomingConnection(quintptr socketDescriptor) override; +QLocalSocket* nextPendingConnection() override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLocalServer : public QLocalServer @@ -678,7 +680,7 @@ enum SocketOption{ Q_DECLARE_FLAGS(SocketOptions, SocketOption) public slots: QLocalServer* new_QLocalServer(QObject* parent = nullptr); -void delete_QLocalServer(QLocalServer* obj) { delete obj; } +void delete_QLocalServer(QLocalServer* obj) { delete obj; } void close(QLocalServer* theWrappedObject); QString errorString(QLocalServer* theWrappedObject) const; QString fullServerName(QLocalServer* theWrappedObject) const; @@ -709,35 +711,35 @@ void delete_QLocalServer(QLocalServer* obj) { delete obj; } class PythonQtShell_QLocalSocket : public QLocalSocket { public: - PythonQtShell_QLocalSocket(QObject* parent = nullptr):QLocalSocket(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLocalSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* event); -virtual void close(); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode openMode = QIODevice::ReadWrite); -virtual qint64 pos() const; -virtual qint64 readData(char* arg__1, qint64 arg__2); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* event); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* arg__1, qint64 arg__2); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QLocalSocket(QObject* parent = nullptr):QLocalSocket(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QLocalSocket() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode openMode = QIODevice::ReadWrite) override; +qint64 pos() const override; +qint64 readData(char* arg__1, qint64 arg__2) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool seek(qint64 pos) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* arg__1, qint64 arg__2) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLocalSocket : public QLocalSocket @@ -766,7 +768,7 @@ enum LocalSocketState{ UnconnectedState = QLocalSocket::UnconnectedState, ConnectingState = QLocalSocket::ConnectingState, ConnectedState = QLocalSocket::ConnectedState, ClosingState = QLocalSocket::ClosingState}; public slots: QLocalSocket* new_QLocalSocket(QObject* parent = nullptr); -void delete_QLocalSocket(QLocalSocket* obj) { delete obj; } +void delete_QLocalSocket(QLocalSocket* obj) { delete obj; } void abort(QLocalSocket* theWrappedObject); qint64 py_q_bytesAvailable(QLocalSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->py_q_bytesAvailable());} qint64 py_q_bytesToWrite(QLocalSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->py_q_bytesToWrite());} @@ -804,20 +806,20 @@ void delete_QLocalSocket(QLocalSocket* obj) { delete obj; } class PythonQtShell_QNetworkAccessManager : public QNetworkAccessManager { public: - PythonQtShell_QNetworkAccessManager(QObject* parent = nullptr):QNetworkAccessManager(parent),_wrapper(NULL) {}; + PythonQtShell_QNetworkAccessManager(QObject* parent = nullptr):QNetworkAccessManager(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QNetworkAccessManager(); + ~PythonQtShell_QNetworkAccessManager() override; -virtual void childEvent(QChildEvent* event); -virtual QNetworkReply* createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = nullptr); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +QNetworkReply* createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = nullptr) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkAccessManager : public QNetworkAccessManager @@ -835,7 +837,7 @@ enum Operation{ HeadOperation = QNetworkAccessManager::HeadOperation, GetOperation = QNetworkAccessManager::GetOperation, PutOperation = QNetworkAccessManager::PutOperation, PostOperation = QNetworkAccessManager::PostOperation, DeleteOperation = QNetworkAccessManager::DeleteOperation, CustomOperation = QNetworkAccessManager::CustomOperation, UnknownOperation = QNetworkAccessManager::UnknownOperation}; public slots: QNetworkAccessManager* new_QNetworkAccessManager(QObject* parent = nullptr); -void delete_QNetworkAccessManager(QNetworkAccessManager* obj) { delete obj; } +void delete_QNetworkAccessManager(QNetworkAccessManager* obj) { delete obj; } QNetworkConfiguration activeConfiguration(QNetworkAccessManager* theWrappedObject) const; void addStrictTransportSecurityHosts(QNetworkAccessManager* theWrappedObject, const QVector& knownHosts); QAbstractNetworkCache* cache(QNetworkAccessManager* theWrappedObject) const; @@ -888,7 +890,7 @@ class PythonQtWrapper_QNetworkAddressEntry : public QObject public slots: QNetworkAddressEntry* new_QNetworkAddressEntry(); QNetworkAddressEntry* new_QNetworkAddressEntry(const QNetworkAddressEntry& other); -void delete_QNetworkAddressEntry(QNetworkAddressEntry* obj) { delete obj; } +void delete_QNetworkAddressEntry(QNetworkAddressEntry* obj) { delete obj; } QHostAddress broadcast(QNetworkAddressEntry* theWrappedObject) const; void clearAddressLifetime(QNetworkAddressEntry* theWrappedObject); QHostAddress ip(QNetworkAddressEntry* theWrappedObject) const; @@ -919,7 +921,7 @@ class PythonQtWrapper_QNetworkCacheMetaData : public QObject public slots: QNetworkCacheMetaData* new_QNetworkCacheMetaData(); QNetworkCacheMetaData* new_QNetworkCacheMetaData(const QNetworkCacheMetaData& other); -void delete_QNetworkCacheMetaData(QNetworkCacheMetaData* obj) { delete obj; } +void delete_QNetworkCacheMetaData(QNetworkCacheMetaData* obj) { delete obj; } QHash attributes(QNetworkCacheMetaData* theWrappedObject) const; QDateTime expirationDate(QNetworkCacheMetaData* theWrappedObject) const; bool isValid(QNetworkCacheMetaData* theWrappedObject) const; @@ -962,7 +964,7 @@ Q_DECLARE_FLAGS(StateFlags, StateFlag) public slots: QNetworkConfiguration* new_QNetworkConfiguration(); QNetworkConfiguration* new_QNetworkConfiguration(const QNetworkConfiguration& other); -void delete_QNetworkConfiguration(QNetworkConfiguration* obj) { delete obj; } +void delete_QNetworkConfiguration(QNetworkConfiguration* obj) { delete obj; } QNetworkConfiguration::BearerType bearerType(QNetworkConfiguration* theWrappedObject) const; QNetworkConfiguration::BearerType bearerTypeFamily(QNetworkConfiguration* theWrappedObject) const; QString bearerTypeName(QNetworkConfiguration* theWrappedObject) const; @@ -990,19 +992,19 @@ void delete_QNetworkConfiguration(QNetworkConfiguration* obj) { delete obj; } class PythonQtShell_QNetworkConfigurationManager : public QNetworkConfigurationManager { public: - PythonQtShell_QNetworkConfigurationManager(QObject* parent = nullptr):QNetworkConfigurationManager(parent),_wrapper(NULL) {}; + PythonQtShell_QNetworkConfigurationManager(QObject* parent = nullptr):QNetworkConfigurationManager(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QNetworkConfigurationManager(); + ~PythonQtShell_QNetworkConfigurationManager() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QNetworkConfigurationManager : public QObject @@ -1015,7 +1017,7 @@ enum Capability{ Q_DECLARE_FLAGS(Capabilities, Capability) public slots: QNetworkConfigurationManager* new_QNetworkConfigurationManager(QObject* parent = nullptr); -void delete_QNetworkConfigurationManager(QNetworkConfigurationManager* obj) { delete obj; } +void delete_QNetworkConfigurationManager(QNetworkConfigurationManager* obj) { delete obj; } QList allConfigurations(QNetworkConfigurationManager* theWrappedObject, QNetworkConfiguration::StateFlags flags = QNetworkConfiguration::StateFlags()) const; QNetworkConfigurationManager::Capabilities capabilities(QNetworkConfigurationManager* theWrappedObject) const; QNetworkConfiguration configurationFromIdentifier(QNetworkConfigurationManager* theWrappedObject, const QString& identifier) const; @@ -1036,7 +1038,7 @@ enum RawForm{ public slots: QNetworkCookie* new_QNetworkCookie(const QByteArray& name = QByteArray(), const QByteArray& value = QByteArray()); QNetworkCookie* new_QNetworkCookie(const QNetworkCookie& other); -void delete_QNetworkCookie(QNetworkCookie* obj) { delete obj; } +void delete_QNetworkCookie(QNetworkCookie* obj) { delete obj; } QString domain(QNetworkCookie* theWrappedObject) const; QDateTime expirationDate(QNetworkCookie* theWrappedObject) const; bool hasSameIdentifier(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const; @@ -1069,25 +1071,25 @@ void delete_QNetworkCookie(QNetworkCookie* obj) { delete obj; } class PythonQtShell_QNetworkCookieJar : public QNetworkCookieJar { public: - PythonQtShell_QNetworkCookieJar(QObject* parent = nullptr):QNetworkCookieJar(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QNetworkCookieJar(); - -virtual void childEvent(QChildEvent* event); -virtual QList cookiesForUrl(const QUrl& url) const; -virtual void customEvent(QEvent* event); -virtual bool deleteCookie(const QNetworkCookie& cookie); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool insertCookie(const QNetworkCookie& cookie); -virtual bool setCookiesFromUrl(const QList& cookieList, const QUrl& url); -virtual void timerEvent(QTimerEvent* event); -virtual bool updateCookie(const QNetworkCookie& cookie); -virtual bool validateCookie(const QNetworkCookie& cookie, const QUrl& url) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QNetworkCookieJar(QObject* parent = nullptr):QNetworkCookieJar(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QNetworkCookieJar() override; + +void childEvent(QChildEvent* event) override; +QList cookiesForUrl(const QUrl& url) const override; +void customEvent(QEvent* event) override; +bool deleteCookie(const QNetworkCookie& cookie) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool insertCookie(const QNetworkCookie& cookie) override; +bool setCookiesFromUrl(const QList& cookieList, const QUrl& url) override; +void timerEvent(QTimerEvent* event) override; +bool updateCookie(const QNetworkCookie& cookie) override; +bool validateCookie(const QNetworkCookie& cookie, const QUrl& url) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkCookieJar : public QNetworkCookieJar @@ -1108,7 +1110,7 @@ class PythonQtWrapper_QNetworkCookieJar : public QObject public: public slots: QNetworkCookieJar* new_QNetworkCookieJar(QObject* parent = nullptr); -void delete_QNetworkCookieJar(QNetworkCookieJar* obj) { delete obj; } +void delete_QNetworkCookieJar(QNetworkCookieJar* obj) { delete obj; } QList allCookies(QNetworkCookieJar* theWrappedObject) const; QList cookiesForUrl(QNetworkCookieJar* theWrappedObject, const QUrl& url) const; QList py_q_cookiesForUrl(QNetworkCookieJar* theWrappedObject, const QUrl& url) const{ return (((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->py_q_cookiesForUrl(url));} @@ -1136,7 +1138,7 @@ public slots: QNetworkDatagram* new_QNetworkDatagram(); QNetworkDatagram* new_QNetworkDatagram(const QByteArray& data, const QHostAddress& destinationAddress = QHostAddress(), unsigned short port = 0); QNetworkDatagram* new_QNetworkDatagram(const QNetworkDatagram& other); -void delete_QNetworkDatagram(QNetworkDatagram* obj) { delete obj; } +void delete_QNetworkDatagram(QNetworkDatagram* obj) { delete obj; } void clear(QNetworkDatagram* theWrappedObject); QByteArray data(QNetworkDatagram* theWrappedObject) const; QHostAddress destinationAddress(QNetworkDatagram* theWrappedObject) const; @@ -1165,28 +1167,28 @@ void delete_QNetworkDatagram(QNetworkDatagram* obj) { delete obj; } class PythonQtShell_QNetworkDiskCache : public QNetworkDiskCache { public: - PythonQtShell_QNetworkDiskCache(QObject* parent = nullptr):QNetworkDiskCache(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QNetworkDiskCache(); - -virtual qint64 cacheSize() const; -virtual void childEvent(QChildEvent* event); -virtual void clear(); -virtual void customEvent(QEvent* event); -virtual QIODevice* data(const QUrl& url); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual qint64 expire(); -virtual void insert(QIODevice* device); -virtual QNetworkCacheMetaData metaData(const QUrl& url); -virtual QIODevice* prepare(const QNetworkCacheMetaData& metaData); -virtual bool remove(const QUrl& url); -virtual void timerEvent(QTimerEvent* event); -virtual void updateMetaData(const QNetworkCacheMetaData& metaData); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QNetworkDiskCache(QObject* parent = nullptr):QNetworkDiskCache(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QNetworkDiskCache() override; + +qint64 cacheSize() const override; +void childEvent(QChildEvent* event) override; +void clear() override; +void customEvent(QEvent* event) override; +QIODevice* data(const QUrl& url) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +qint64 expire() override; +void insert(QIODevice* device) override; +QNetworkCacheMetaData metaData(const QUrl& url) override; +QIODevice* prepare(const QNetworkCacheMetaData& metaData) override; +bool remove(const QUrl& url) override; +void timerEvent(QTimerEvent* event) override; +void updateMetaData(const QNetworkCacheMetaData& metaData) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkDiskCache : public QNetworkDiskCache @@ -1208,7 +1210,7 @@ class PythonQtWrapper_QNetworkDiskCache : public QObject public: public slots: QNetworkDiskCache* new_QNetworkDiskCache(QObject* parent = nullptr); -void delete_QNetworkDiskCache(QNetworkDiskCache* obj) { delete obj; } +void delete_QNetworkDiskCache(QNetworkDiskCache* obj) { delete obj; } QString cacheDirectory(QNetworkDiskCache* theWrappedObject) const; qint64 py_q_cacheSize(QNetworkDiskCache* theWrappedObject) const{ return (((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->py_q_cacheSize());} void py_q_clear(QNetworkDiskCache* theWrappedObject){ (((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->py_q_clear());} @@ -1243,7 +1245,7 @@ Q_DECLARE_FLAGS(InterfaceFlags, InterfaceFlag) public slots: QNetworkInterface* new_QNetworkInterface(); QNetworkInterface* new_QNetworkInterface(const QNetworkInterface& other); -void delete_QNetworkInterface(QNetworkInterface* obj) { delete obj; } +void delete_QNetworkInterface(QNetworkInterface* obj) { delete obj; } QList addressEntries(QNetworkInterface* theWrappedObject) const; QList static_QNetworkInterface_allAddresses(); QList static_QNetworkInterface_allInterfaces(); @@ -1282,7 +1284,7 @@ public slots: QNetworkProxy* new_QNetworkProxy(); QNetworkProxy* new_QNetworkProxy(QNetworkProxy::ProxyType type, const QString& hostName = QString(), unsigned short port = 0, const QString& user = QString(), const QString& password = QString()); QNetworkProxy* new_QNetworkProxy(const QNetworkProxy& other); -void delete_QNetworkProxy(QNetworkProxy* obj) { delete obj; } +void delete_QNetworkProxy(QNetworkProxy* obj) { delete obj; } QNetworkProxy static_QNetworkProxy_applicationProxy(); QNetworkProxy::Capabilities capabilities(QNetworkProxy* theWrappedObject) const; bool hasRawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName) const; @@ -1318,13 +1320,13 @@ void delete_QNetworkProxy(QNetworkProxy* obj) { delete obj; } class PythonQtShell_QNetworkProxyFactory : public QNetworkProxyFactory { public: - PythonQtShell_QNetworkProxyFactory():QNetworkProxyFactory(),_wrapper(NULL) {}; + PythonQtShell_QNetworkProxyFactory():QNetworkProxyFactory(),_wrapper(nullptr) {}; - ~PythonQtShell_QNetworkProxyFactory(); + ~PythonQtShell_QNetworkProxyFactory() override; -virtual QList queryProxy(const QNetworkProxyQuery& query = QNetworkProxyQuery()); +QList queryProxy(const QNetworkProxyQuery& query = QNetworkProxyQuery()) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkProxyFactory : public QNetworkProxyFactory @@ -1337,7 +1339,7 @@ class PythonQtWrapper_QNetworkProxyFactory : public QObject public: public slots: QNetworkProxyFactory* new_QNetworkProxyFactory(); -void delete_QNetworkProxyFactory(QNetworkProxyFactory* obj) { delete obj; } +void delete_QNetworkProxyFactory(QNetworkProxyFactory* obj) { delete obj; } QList static_QNetworkProxyFactory_proxyForQuery(const QNetworkProxyQuery& query); QList queryProxy(QNetworkProxyFactory* theWrappedObject, const QNetworkProxyQuery& query = QNetworkProxyQuery()); QList py_q_queryProxy(QNetworkProxyFactory* theWrappedObject, const QNetworkProxyQuery& query = QNetworkProxyQuery()){ return (((PythonQtPublicPromoter_QNetworkProxyFactory*)theWrappedObject)->py_q_queryProxy(query));} @@ -1366,7 +1368,7 @@ QNetworkProxyQuery* new_QNetworkProxyQuery(const QNetworkProxyQuery& other); QNetworkProxyQuery* new_QNetworkProxyQuery(const QString& hostname, int port, const QString& protocolTag = QString(), QNetworkProxyQuery::QueryType queryType = QNetworkProxyQuery::TcpSocket); QNetworkProxyQuery* new_QNetworkProxyQuery(const QUrl& requestUrl, QNetworkProxyQuery::QueryType queryType = QNetworkProxyQuery::UrlRequest); QNetworkProxyQuery* new_QNetworkProxyQuery(unsigned short bindPort, const QString& protocolTag = QString(), QNetworkProxyQuery::QueryType queryType = QNetworkProxyQuery::TcpServer); -void delete_QNetworkProxyQuery(QNetworkProxyQuery* obj) { delete obj; } +void delete_QNetworkProxyQuery(QNetworkProxyQuery* obj) { delete obj; } int localPort(QNetworkProxyQuery* theWrappedObject) const; QNetworkConfiguration networkConfiguration(QNetworkProxyQuery* theWrappedObject) const; bool __ne__(QNetworkProxyQuery* theWrappedObject, const QNetworkProxyQuery& other) const; 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..742c3affd 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 @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -51,9 +52,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -73,20 +74,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -106,20 +107,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -139,20 +140,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -172,20 +173,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -205,9 +206,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -227,9 +228,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -249,9 +250,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -271,20 +272,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -304,20 +305,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -337,9 +338,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -359,9 +360,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -381,20 +382,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -414,20 +415,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&mode0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -447,20 +448,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -480,20 +481,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -513,20 +514,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -546,20 +547,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -579,20 +580,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&pos0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -612,9 +613,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -634,9 +635,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QSslConfiguration&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -656,20 +657,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -689,9 +690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSslConfiguration&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -711,9 +712,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -733,20 +734,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -766,20 +767,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -799,20 +800,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1090,9 +1091,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1112,9 +1113,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMetaMethod&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&signal0}; + void* args[2] = {nullptr, (void*)&signal0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1134,9 +1135,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1156,9 +1157,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMetaMethod&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&signal0}; + void* args[2] = {nullptr, (void*)&signal0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1178,20 +1179,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1211,20 +1212,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1244,9 +1245,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1952,6 +1953,11 @@ QString PythonQtWrapper_QSslEllipticCurve::longName(QSslEllipticCurve* theWrapp return ( theWrappedObject->longName()); } +bool PythonQtWrapper_QSslEllipticCurve::__ne__(QSslEllipticCurve* theWrappedObject, QSslEllipticCurve rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + bool PythonQtWrapper_QSslEllipticCurve::__eq__(QSslEllipticCurve* theWrappedObject, QSslEllipticCurve rhs) { return ( (*theWrappedObject)== rhs); @@ -2154,6 +2160,11 @@ int PythonQtWrapper_QSslPreSharedKeyAuthenticator::maximumPreSharedKeyLength(QS return ( theWrappedObject->maximumPreSharedKeyLength()); } +bool PythonQtWrapper_QSslPreSharedKeyAuthenticator::__ne__(QSslPreSharedKeyAuthenticator* theWrappedObject, const QSslPreSharedKeyAuthenticator& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + QSslPreSharedKeyAuthenticator* PythonQtWrapper_QSslPreSharedKeyAuthenticator::operator_assign(QSslPreSharedKeyAuthenticator* theWrappedObject, const QSslPreSharedKeyAuthenticator& authenticator) { return &( (*theWrappedObject)= authenticator); @@ -2197,20 +2208,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2230,20 +2241,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2263,20 +2274,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2296,20 +2307,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2329,9 +2340,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2351,9 +2362,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2373,9 +2384,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "unsigned short" , "QIODevice::OpenMode" , "QAbstractSocket::NetworkLayerProtocol"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&hostName0, (void*)&port1, (void*)&openMode2, (void*)&protocol3}; + void* args[5] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&openMode2, (void*)&protocol3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2395,9 +2406,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2417,9 +2428,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2439,20 +2450,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2472,20 +2483,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2505,20 +2516,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2538,20 +2549,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&mode0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2571,20 +2582,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2604,20 +2615,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2637,20 +2648,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2670,20 +2681,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2703,9 +2714,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2725,20 +2736,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&pos0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2758,9 +2769,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2780,20 +2791,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2813,9 +2824,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2835,20 +2846,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2868,20 +2879,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qintptr"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qintptr returnValue = 0; - void* args[1] = {NULL}; + qintptr returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); } else { returnValue = *((qintptr*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2901,20 +2912,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&option0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2934,9 +2945,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2956,20 +2967,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2989,20 +3000,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3022,20 +3033,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3055,20 +3066,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3088,20 +3099,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3420,9 +3431,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3442,9 +3453,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3464,20 +3475,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3497,20 +3508,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3530,20 +3541,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasPendingConnections", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3563,9 +3574,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qintptr"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handle0}; + void* args[2] = {nullptr, (void*)&handle0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3585,20 +3596,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QTcpSocket*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QTcpSocket* returnValue; - void* args[1] = {NULL}; + QTcpSocket* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextPendingConnection", methodInfo, result); } else { returnValue = *((QTcpSocket**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3618,9 +3629,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3763,20 +3774,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3796,20 +3807,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3829,20 +3840,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3862,20 +3873,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3895,9 +3906,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3917,9 +3928,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3939,9 +3950,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QHostAddress&" , "unsigned short" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&address0, (void*)&port1, (void*)&mode2}; + void* args[4] = {nullptr, (void*)&address0, (void*)&port1, (void*)&mode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3961,9 +3972,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "unsigned short" , "QIODevice::OpenMode" , "QAbstractSocket::NetworkLayerProtocol"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; + void* args[5] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3983,9 +3994,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4005,9 +4016,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4027,20 +4038,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4060,20 +4071,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4093,20 +4104,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4126,20 +4137,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&mode0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4159,20 +4170,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4192,20 +4203,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4225,20 +4236,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4258,20 +4269,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4291,9 +4302,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4313,20 +4324,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&pos0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4346,9 +4357,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4368,20 +4379,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4401,9 +4412,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4423,20 +4434,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4456,20 +4467,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qintptr"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qintptr returnValue = 0; - void* args[1] = {NULL}; + qintptr returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); } else { returnValue = *((qintptr*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4489,20 +4500,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&option0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4522,9 +4533,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4544,20 +4555,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4577,20 +4588,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4610,20 +4621,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4643,20 +4654,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4676,20 +4687,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4732,20 +4743,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4765,20 +4776,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4798,20 +4809,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4831,20 +4842,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4864,9 +4875,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4886,9 +4897,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4908,9 +4919,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QHostAddress&" , "unsigned short" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&address0, (void*)&port1, (void*)&mode2}; + void* args[4] = {nullptr, (void*)&address0, (void*)&port1, (void*)&mode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4930,9 +4941,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "unsigned short" , "QIODevice::OpenMode" , "QAbstractSocket::NetworkLayerProtocol"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; + void* args[5] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4952,9 +4963,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4974,9 +4985,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4996,20 +5007,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5029,20 +5040,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5062,20 +5073,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5095,20 +5106,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&mode0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5128,20 +5139,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5161,20 +5172,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5194,20 +5205,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5227,20 +5238,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5260,9 +5271,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5282,20 +5293,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&pos0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5315,9 +5326,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5337,20 +5348,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5370,9 +5381,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5392,20 +5403,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue = 0; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5425,20 +5436,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qintptr"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qintptr returnValue = 0; - void* args[1] = {NULL}; + qintptr returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); } else { returnValue = *((qintptr*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5458,20 +5469,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&option0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5491,9 +5502,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5513,20 +5524,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5546,20 +5557,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5579,20 +5590,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5612,20 +5623,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&msecs0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5645,20 +5656,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue = 0; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network1.h b/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network1.h index e1c0998d2..b5217508a 100644 --- a/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network1.h +++ b/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network1.h @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -42,41 +43,41 @@ class PythonQtShell_QNetworkReply : public QNetworkReply { public: - PythonQtShell_QNetworkReply(QObject* parent = nullptr):QNetworkReply(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QNetworkReply(); - -virtual void abort(); -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* event); -virtual void close(); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void ignoreSslErrors(); -virtual void ignoreSslErrorsImplementation(const QList& arg__1); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual void setSslConfigurationImplementation(const QSslConfiguration& arg__1); -virtual qint64 size() const; -virtual void sslConfigurationImplementation(QSslConfiguration& arg__1) const; -virtual void timerEvent(QTimerEvent* event); -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QNetworkReply(QObject* parent = nullptr):QNetworkReply(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QNetworkReply() override; + +void abort() override; +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void ignoreSslErrors() override; +void ignoreSslErrorsImplementation(const QList& arg__1) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool seek(qint64 pos) override; +void setReadBufferSize(qint64 size) override; +void setSslConfigurationImplementation(const QSslConfiguration& arg__1) override; +qint64 size() const override; +void sslConfigurationImplementation(QSslConfiguration& arg__1) const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkReply : public QNetworkReply @@ -109,7 +110,7 @@ class PythonQtWrapper_QNetworkReply : public QObject public: public slots: QNetworkReply* new_QNetworkReply(QObject* parent = nullptr); -void delete_QNetworkReply(QNetworkReply* obj) { delete obj; } +void delete_QNetworkReply(QNetworkReply* obj) { delete obj; } void py_q_abort(QNetworkReply* theWrappedObject){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_abort());} QVariant attribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code) const; void py_q_close(QNetworkReply* theWrappedObject){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_close());} @@ -170,7 +171,7 @@ enum RedirectPolicy{ public slots: QNetworkRequest* new_QNetworkRequest(const QNetworkRequest& other); QNetworkRequest* new_QNetworkRequest(const QUrl& url = QUrl()); -void delete_QNetworkRequest(QNetworkRequest* obj) { delete obj; } +void delete_QNetworkRequest(QNetworkRequest* obj) { delete obj; } QVariant attribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& defaultValue = QVariant()) const; bool hasRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const; QVariant header(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header) const; @@ -199,21 +200,21 @@ void delete_QNetworkRequest(QNetworkRequest* obj) { delete obj; } class PythonQtShell_QNetworkSession : public QNetworkSession { public: - PythonQtShell_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent = nullptr):QNetworkSession(connConfig, parent),_wrapper(NULL) {}; + PythonQtShell_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent = nullptr):QNetworkSession(connConfig, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QNetworkSession(); + ~PythonQtShell_QNetworkSession() override; -virtual void childEvent(QChildEvent* event); -virtual void connectNotify(const QMetaMethod& signal); -virtual void customEvent(QEvent* event); -virtual void disconnectNotify(const QMetaMethod& signal); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void connectNotify(const QMetaMethod& signal) override; +void customEvent(QEvent* event) override; +void disconnectNotify(const QMetaMethod& signal) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkSession : public QNetworkSession @@ -238,7 +239,7 @@ enum UsagePolicy{ Q_DECLARE_FLAGS(UsagePolicies, UsagePolicy) public slots: QNetworkSession* new_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent = nullptr); -void delete_QNetworkSession(QNetworkSession* obj) { delete obj; } +void delete_QNetworkSession(QNetworkSession* obj) { delete obj; } quint64 activeTime(QNetworkSession* theWrappedObject) const; quint64 bytesReceived(QNetworkSession* theWrappedObject) const; quint64 bytesWritten(QNetworkSession* theWrappedObject) const; @@ -301,7 +302,7 @@ public slots: QSslCertificate* new_QSslCertificate(QIODevice* device, QSsl::EncodingFormat format = QSsl::Pem); QSslCertificate* new_QSslCertificate(const QByteArray& data = QByteArray(), QSsl::EncodingFormat format = QSsl::Pem); QSslCertificate* new_QSslCertificate(const QSslCertificate& other); -void delete_QSslCertificate(QSslCertificate* obj) { delete obj; } +void delete_QSslCertificate(QSslCertificate* obj) { delete obj; } void clear(QSslCertificate* theWrappedObject); QByteArray digest(QSslCertificate* theWrappedObject, QCryptographicHash::Algorithm algorithm = QCryptographicHash::Md5) const; QDateTime effectiveDate(QSslCertificate* theWrappedObject) const; @@ -350,7 +351,7 @@ class PythonQtWrapper_QSslCertificateExtension : public QObject public slots: QSslCertificateExtension* new_QSslCertificateExtension(); QSslCertificateExtension* new_QSslCertificateExtension(const QSslCertificateExtension& other); -void delete_QSslCertificateExtension(QSslCertificateExtension* obj) { delete obj; } +void delete_QSslCertificateExtension(QSslCertificateExtension* obj) { delete obj; } bool isCritical(QSslCertificateExtension* theWrappedObject) const; bool isSupported(QSslCertificateExtension* theWrappedObject) const; QString name(QSslCertificateExtension* theWrappedObject) const; @@ -375,7 +376,7 @@ QSslCipher* new_QSslCipher(); QSslCipher* new_QSslCipher(const QSslCipher& other); QSslCipher* new_QSslCipher(const QString& name); QSslCipher* new_QSslCipher(const QString& name, QSsl::SslProtocol protocol); -void delete_QSslCipher(QSslCipher* obj) { delete obj; } +void delete_QSslCipher(QSslCipher* obj) { delete obj; } QString authenticationMethod(QSslCipher* theWrappedObject) const; QString encryptionMethod(QSslCipher* theWrappedObject) const; bool isNull(QSslCipher* theWrappedObject) const; @@ -403,13 +404,13 @@ void delete_QSslCipher(QSslCipher* obj) { delete obj; } class PythonQtShell_QSslConfiguration : public QSslConfiguration { public: - PythonQtShell_QSslConfiguration():QSslConfiguration(),_wrapper(NULL) {}; - PythonQtShell_QSslConfiguration(const QSslConfiguration& other):QSslConfiguration(other),_wrapper(NULL) {}; + PythonQtShell_QSslConfiguration():QSslConfiguration(),_wrapper(nullptr) {}; + PythonQtShell_QSslConfiguration(const QSslConfiguration& other):QSslConfiguration(other),_wrapper(nullptr) {}; ~PythonQtShell_QSslConfiguration(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSslConfiguration : public QObject @@ -421,7 +422,7 @@ enum NextProtocolNegotiationStatus{ public slots: QSslConfiguration* new_QSslConfiguration(); QSslConfiguration* new_QSslConfiguration(const QSslConfiguration& other); -void delete_QSslConfiguration(QSslConfiguration* obj) { delete obj; } +void delete_QSslConfiguration(QSslConfiguration* obj) { delete obj; } QList allowedNextProtocols(QSslConfiguration* theWrappedObject) const; QMap backendConfiguration(QSslConfiguration* theWrappedObject) const; QList caCertificates(QSslConfiguration* theWrappedObject) const; @@ -484,12 +485,13 @@ class PythonQtWrapper_QSslEllipticCurve : public QObject public: public slots: QSslEllipticCurve* new_QSslEllipticCurve(); -void delete_QSslEllipticCurve(QSslEllipticCurve* obj) { delete obj; } +void delete_QSslEllipticCurve(QSslEllipticCurve* obj) { delete obj; } QSslEllipticCurve static_QSslEllipticCurve_fromLongName(const QString& name); QSslEllipticCurve static_QSslEllipticCurve_fromShortName(const QString& name); bool isTlsNamedCurve(QSslEllipticCurve* theWrappedObject) const; bool isValid(QSslEllipticCurve* theWrappedObject) const; QString longName(QSslEllipticCurve* theWrappedObject) const; + bool __ne__(QSslEllipticCurve* theWrappedObject, QSslEllipticCurve rhs); bool __eq__(QSslEllipticCurve* theWrappedObject, QSslEllipticCurve rhs); QString shortName(QSslEllipticCurve* theWrappedObject) const; QString py_toString(QSslEllipticCurve*); @@ -514,7 +516,7 @@ QSslError* new_QSslError(); QSslError* new_QSslError(QSslError::SslError error); QSslError* new_QSslError(QSslError::SslError error, const QSslCertificate& certificate); QSslError* new_QSslError(const QSslError& other); -void delete_QSslError(QSslError* obj) { delete obj; } +void delete_QSslError(QSslError* obj) { delete obj; } QSslCertificate certificate(QSslError* theWrappedObject) const; QSslError::SslError error(QSslError* theWrappedObject) const; QString errorString(QSslError* theWrappedObject) const; @@ -541,7 +543,7 @@ QSslKey* new_QSslKey(QIODevice* device, QSsl::KeyAlgorithm algorithm, QSsl::En QSslKey* new_QSslKey(Qt::HANDLE handle, QSsl::KeyType type = QSsl::PrivateKey); QSslKey* new_QSslKey(const QByteArray& encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format = QSsl::Pem, QSsl::KeyType type = QSsl::PrivateKey, const QByteArray& passPhrase = QByteArray()); QSslKey* new_QSslKey(const QSslKey& other); -void delete_QSslKey(QSslKey* obj) { delete obj; } +void delete_QSslKey(QSslKey* obj) { delete obj; } QSsl::KeyAlgorithm algorithm(QSslKey* theWrappedObject) const; void clear(QSslKey* theWrappedObject); Qt::HANDLE handle(QSslKey* theWrappedObject) const; @@ -571,11 +573,12 @@ class PythonQtWrapper_QSslPreSharedKeyAuthenticator : public QObject public slots: QSslPreSharedKeyAuthenticator* new_QSslPreSharedKeyAuthenticator(); QSslPreSharedKeyAuthenticator* new_QSslPreSharedKeyAuthenticator(const QSslPreSharedKeyAuthenticator& authenticator); -void delete_QSslPreSharedKeyAuthenticator(QSslPreSharedKeyAuthenticator* obj) { delete obj; } +void delete_QSslPreSharedKeyAuthenticator(QSslPreSharedKeyAuthenticator* obj) { delete obj; } QByteArray identity(QSslPreSharedKeyAuthenticator* theWrappedObject) const; QByteArray identityHint(QSslPreSharedKeyAuthenticator* theWrappedObject) const; int maximumIdentityLength(QSslPreSharedKeyAuthenticator* theWrappedObject) const; int maximumPreSharedKeyLength(QSslPreSharedKeyAuthenticator* theWrappedObject) const; + bool __ne__(QSslPreSharedKeyAuthenticator* theWrappedObject, const QSslPreSharedKeyAuthenticator& rhs); QSslPreSharedKeyAuthenticator* operator_assign(QSslPreSharedKeyAuthenticator* theWrappedObject, const QSslPreSharedKeyAuthenticator& authenticator); QByteArray preSharedKey(QSslPreSharedKeyAuthenticator* theWrappedObject) const; void setIdentity(QSslPreSharedKeyAuthenticator* theWrappedObject, const QByteArray& identity); @@ -593,45 +596,45 @@ void delete_QSslPreSharedKeyAuthenticator(QSslPreSharedKeyAuthenticator* obj) { class PythonQtShell_QSslSocket : public QSslSocket { public: - PythonQtShell_QSslSocket(QObject* parent = nullptr):QSslSocket(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSslSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* event); -virtual void close(); -virtual void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode openMode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); -virtual void customEvent(QEvent* event); -virtual void disconnectFromHost(); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual void resume(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); -virtual void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value); -virtual qint64 size() const; -virtual qintptr socketDescriptor() const; -virtual QVariant socketOption(QAbstractSocket::SocketOption option); -virtual void timerEvent(QTimerEvent* event); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForConnected(int msecs = 30000); -virtual bool waitForDisconnected(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSslSocket(QObject* parent = nullptr):QSslSocket(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSslSocket() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode openMode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) override; +void customEvent(QEvent* event) override; +void disconnectFromHost() override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +void resume() override; +bool seek(qint64 pos) override; +void setReadBufferSize(qint64 size) override; +bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite) override; +void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value) override; +qint64 size() const override; +qintptr socketDescriptor() const override; +QVariant socketOption(QAbstractSocket::SocketOption option) override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForConnected(int msecs = 30000) override; +bool waitForDisconnected(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSslSocket : public QSslSocket @@ -668,7 +671,7 @@ enum SslMode{ UnencryptedMode = QSslSocket::UnencryptedMode, SslClientMode = QSslSocket::SslClientMode, SslServerMode = QSslSocket::SslServerMode}; public slots: QSslSocket* new_QSslSocket(QObject* parent = nullptr); -void delete_QSslSocket(QSslSocket* obj) { delete obj; } +void delete_QSslSocket(QSslSocket* obj) { delete obj; } void abort(QSslSocket* theWrappedObject); void addCaCertificate(QSslSocket* theWrappedObject, const QSslCertificate& certificate); void addCaCertificates(QSslSocket* theWrappedObject, const QList& certificates); @@ -754,22 +757,22 @@ void delete_QSslSocket(QSslSocket* obj) { delete obj; } class PythonQtShell_QTcpServer : public QTcpServer { public: - PythonQtShell_QTcpServer(QObject* parent = nullptr):QTcpServer(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTcpServer(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool hasPendingConnections() const; -virtual void incomingConnection(qintptr handle); -virtual QTcpSocket* nextPendingConnection(); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTcpServer(QObject* parent = nullptr):QTcpServer(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTcpServer() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool hasPendingConnections() const override; +void incomingConnection(qintptr handle) override; +QTcpSocket* nextPendingConnection() override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTcpServer : public QTcpServer @@ -786,7 +789,7 @@ class PythonQtWrapper_QTcpServer : public QObject public: public slots: QTcpServer* new_QTcpServer(QObject* parent = nullptr); -void delete_QTcpServer(QTcpServer* obj) { delete obj; } +void delete_QTcpServer(QTcpServer* obj) { delete obj; } void addPendingConnection(QTcpServer* theWrappedObject, QTcpSocket* socket); void close(QTcpServer* theWrappedObject); QString errorString(QTcpServer* theWrappedObject) const; @@ -819,46 +822,46 @@ void delete_QTcpServer(QTcpServer* obj) { delete obj; } class PythonQtShell_QTcpSocket : public QTcpSocket { public: - PythonQtShell_QTcpSocket(QObject* parent = nullptr):QTcpSocket(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTcpSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* event); -virtual void close(); -virtual void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite); -virtual void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); -virtual void customEvent(QEvent* event); -virtual void disconnectFromHost(); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual void resume(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); -virtual void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value); -virtual qint64 size() const; -virtual qintptr socketDescriptor() const; -virtual QVariant socketOption(QAbstractSocket::SocketOption option); -virtual void timerEvent(QTimerEvent* event); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForConnected(int msecs = 30000); -virtual bool waitForDisconnected(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTcpSocket(QObject* parent = nullptr):QTcpSocket(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTcpSocket() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite) override; +void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) override; +void customEvent(QEvent* event) override; +void disconnectFromHost() override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +void resume() override; +bool seek(qint64 pos) override; +void setReadBufferSize(qint64 size) override; +bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite) override; +void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value) override; +qint64 size() const override; +qintptr socketDescriptor() const override; +QVariant socketOption(QAbstractSocket::SocketOption option) override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForConnected(int msecs = 30000) override; +bool waitForDisconnected(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTcpSocket : public QObject @@ -866,7 +869,7 @@ class PythonQtWrapper_QTcpSocket : public QObject public: public slots: QTcpSocket* new_QTcpSocket(QObject* parent = nullptr); -void delete_QTcpSocket(QTcpSocket* obj) { delete obj; } +void delete_QTcpSocket(QTcpSocket* obj) { delete obj; } bool __nonzero__(QTcpSocket* obj) { return obj->isValid(); } }; @@ -877,46 +880,46 @@ void delete_QTcpSocket(QTcpSocket* obj) { delete obj; } class PythonQtShell_QUdpSocket : public QUdpSocket { public: - PythonQtShell_QUdpSocket(QObject* parent = nullptr):QUdpSocket(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QUdpSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* event); -virtual void close(); -virtual void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite); -virtual void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); -virtual void customEvent(QEvent* event); -virtual void disconnectFromHost(); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual void resume(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); -virtual void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value); -virtual qint64 size() const; -virtual qintptr socketDescriptor() const; -virtual QVariant socketOption(QAbstractSocket::SocketOption option); -virtual void timerEvent(QTimerEvent* event); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForConnected(int msecs = 30000); -virtual bool waitForDisconnected(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QUdpSocket(QObject* parent = nullptr):QUdpSocket(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUdpSocket() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite) override; +void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) override; +void customEvent(QEvent* event) override; +void disconnectFromHost() override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +void resume() override; +bool seek(qint64 pos) override; +void setReadBufferSize(qint64 size) override; +bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite) override; +void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value) override; +qint64 size() const override; +qintptr socketDescriptor() const override; +QVariant socketOption(QAbstractSocket::SocketOption option) override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForConnected(int msecs = 30000) override; +bool waitForDisconnected(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QUdpSocket : public QObject @@ -924,7 +927,7 @@ class PythonQtWrapper_QUdpSocket : public QObject public: public slots: QUdpSocket* new_QUdpSocket(QObject* parent = nullptr); -void delete_QUdpSocket(QUdpSocket* obj) { delete obj; } +void delete_QUdpSocket(QUdpSocket* obj) { delete obj; } bool hasPendingDatagrams(QUdpSocket* theWrappedObject) const; bool joinMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress); bool joinMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress, const QNetworkInterface& iface); diff --git a/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp b/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp index 7b720c707..a974a1181 100644 --- a/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp +++ b/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp @@ -8,63 +8,63 @@ void PythonQt_init_QtNetwork(PyObject* module) { PythonQt::priv()->registerClass(&QAbstractNetworkCache::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAbstractSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QAuthenticator", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDnsDomainNameRecord", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDnsHostAddressRecord", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QAuthenticator", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDnsDomainNameRecord", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDnsHostAddressRecord", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QDnsLookup::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QDnsMailExchangeRecord", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDnsServiceRecord", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDnsTextRecord", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QHostAddress", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QHostInfo", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QHstsPolicy", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDnsMailExchangeRecord", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDnsServiceRecord", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDnsTextRecord", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QHostAddress", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QHostInfo", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QHstsPolicy", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QHttpMultiPart::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QHttpPart", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QHttpPart", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QIPv6Address", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QLocalServer::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QLocalSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QNetworkAccessManager::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QNetworkAddressEntry", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QNetworkCacheMetaData", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QNetworkConfiguration", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QNetworkAddressEntry", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QNetworkCacheMetaData", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QNetworkConfiguration", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QNetworkConfigurationManager::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QNetworkCookie", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QNetworkCookie", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QNetworkCookieJar::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QNetworkDatagram", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QNetworkDatagram", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QNetworkDiskCache::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QNetworkInterface", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QNetworkProxy", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QNetworkInterface", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QNetworkProxy", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QNetworkProxyFactory", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QNetworkProxyQuery", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QNetworkProxyQuery", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QNetworkReply::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QNetworkRequest", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QNetworkRequest", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QNetworkSession::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); #ifndef QT_NO_SSL -PythonQt::priv()->registerCPPClass("QSsl", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QSsl", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); #endif #ifndef QT_NO_SSL -PythonQt::priv()->registerCPPClass("QSslCertificate", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSslCertificate", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); #endif #ifndef QT_NO_SSL -PythonQt::priv()->registerCPPClass("QSslCertificateExtension", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QSslCertificateExtension", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); #endif #ifndef QT_NO_SSL -PythonQt::priv()->registerCPPClass("QSslCipher", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSslCipher", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); #endif #ifndef QT_NO_SSL PythonQt::priv()->registerCPPClass("QSslConfiguration", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); #endif #ifndef QT_NO_SSL -PythonQt::priv()->registerCPPClass("QSslEllipticCurve", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSslEllipticCurve", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); #endif #ifndef QT_NO_SSL -PythonQt::priv()->registerCPPClass("QSslError", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSslError", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); #endif #ifndef QT_NO_SSL -PythonQt::priv()->registerCPPClass("QSslKey", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSslKey", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); #endif #ifndef QT_NO_SSL -PythonQt::priv()->registerCPPClass("QSslPreSharedKeyAuthenticator", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QSslPreSharedKeyAuthenticator", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); #endif #ifndef QT_NO_SSL PythonQt::priv()->registerClass(&QSslSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); 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..2c2954f80 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 @@ -47,6 +47,7 @@ #include #include #include +#include #include #include #include @@ -236,20 +237,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QGLContext*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&shareContext0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&shareContext0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("chooseContext", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -269,20 +270,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QGLContext*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&shareContext0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&shareContext0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -302,9 +303,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -324,9 +325,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -346,9 +347,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -655,6 +656,11 @@ QGLFormat::OpenGLVersionFlags PythonQtWrapper_QGLFormat::static_QGLFormat_openG return (QGLFormat::openGLVersionFlags()); } +bool PythonQtWrapper_QGLFormat::__ne__(QGLFormat* theWrappedObject, const QGLFormat& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + bool PythonQtWrapper_QGLFormat::__eq__(QGLFormat* theWrappedObject, const QGLFormat& arg__2) { return ( (*theWrappedObject)== arg__2); @@ -868,20 +874,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -901,9 +907,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -923,20 +929,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&metric0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -956,20 +962,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -989,20 +995,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1022,20 +1028,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1740,20 +1746,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1773,9 +1779,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1795,20 +1801,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&metric0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1828,20 +1834,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1861,20 +1867,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1894,20 +1900,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2036,9 +2042,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2058,9 +2064,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2080,20 +2086,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2113,20 +2119,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2146,9 +2152,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2245,9 +2251,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2267,9 +2273,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2289,20 +2295,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2322,20 +2328,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2355,20 +2361,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("link", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2388,9 +2394,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2992,9 +2998,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3014,9 +3020,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3036,9 +3042,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3058,9 +3064,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3080,9 +3086,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3102,9 +3108,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3124,20 +3130,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3157,9 +3163,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3179,9 +3185,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3201,9 +3207,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3223,9 +3229,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3245,9 +3251,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3267,20 +3273,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3300,20 +3306,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3333,9 +3339,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3355,20 +3361,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3388,9 +3394,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3410,9 +3416,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3432,9 +3438,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3454,20 +3460,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3487,20 +3493,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3520,9 +3526,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3542,9 +3548,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3564,9 +3570,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3586,9 +3592,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3608,9 +3614,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3630,20 +3636,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3663,9 +3669,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3685,9 +3691,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3707,9 +3713,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3729,20 +3735,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3762,20 +3768,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3795,9 +3801,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3817,9 +3823,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3839,9 +3845,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3861,9 +3867,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3883,9 +3889,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3905,20 +3911,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3938,20 +3944,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3971,9 +3977,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3993,9 +3999,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4015,9 +4021,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4037,20 +4043,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4070,9 +4076,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4092,9 +4098,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&w0, (void*)&h1}; + void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4114,9 +4120,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&w0, (void*)&h1}; + void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4136,9 +4142,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4158,20 +4164,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4191,9 +4197,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4213,20 +4219,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4246,9 +4252,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4268,9 +4274,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4290,9 +4296,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4312,9 +4318,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4334,9 +4340,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h b/generated_cpp_511/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h index 67b0ed519..47b4d1638 100644 --- a/generated_cpp_511/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h +++ b/generated_cpp_511/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h @@ -45,6 +45,7 @@ #include #include #include +#include #include #include #include @@ -68,7 +69,7 @@ public slots: QGLBuffer* new_QGLBuffer(); QGLBuffer* new_QGLBuffer(QGLBuffer::Type type); QGLBuffer* new_QGLBuffer(const QGLBuffer& other); -void delete_QGLBuffer(QGLBuffer* obj) { delete obj; } +void delete_QGLBuffer(QGLBuffer* obj) { delete obj; } void allocate(QGLBuffer* theWrappedObject, const void* data, int count); void allocate(QGLBuffer* theWrappedObject, int count); bool bind(QGLBuffer* theWrappedObject); @@ -96,13 +97,13 @@ void delete_QGLBuffer(QGLBuffer* obj) { delete obj; } class PythonQtShell_QGLColormap : public QGLColormap { public: - PythonQtShell_QGLColormap():QGLColormap(),_wrapper(NULL) {}; - PythonQtShell_QGLColormap(const QGLColormap& arg__1):QGLColormap(arg__1),_wrapper(NULL) {}; + PythonQtShell_QGLColormap():QGLColormap(),_wrapper(nullptr) {}; + PythonQtShell_QGLColormap(const QGLColormap& arg__1):QGLColormap(arg__1),_wrapper(nullptr) {}; ~PythonQtShell_QGLColormap(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLColormap : public QGLColormap @@ -117,7 +118,7 @@ class PythonQtWrapper_QGLColormap : public QObject public slots: QGLColormap* new_QGLColormap(); QGLColormap* new_QGLColormap(const QGLColormap& arg__1); -void delete_QGLColormap(QGLColormap* obj) { delete obj; } +void delete_QGLColormap(QGLColormap* obj) { delete obj; } QColor entryColor(QGLColormap* theWrappedObject, int idx) const; unsigned int entryRgb(QGLColormap* theWrappedObject, int idx) const; int find(QGLColormap* theWrappedObject, unsigned int color) const; @@ -138,18 +139,18 @@ void delete_QGLColormap(QGLColormap* obj) { delete obj; } class PythonQtShell_QGLContext : public QGLContext { public: - PythonQtShell_QGLContext(const QGLFormat& format):QGLContext(format),_wrapper(NULL) {}; - PythonQtShell_QGLContext(const QGLFormat& format, QPaintDevice* device):QGLContext(format, device),_wrapper(NULL) {}; + PythonQtShell_QGLContext(const QGLFormat& format):QGLContext(format),_wrapper(nullptr) {}; + PythonQtShell_QGLContext(const QGLFormat& format, QPaintDevice* device):QGLContext(format, device),_wrapper(nullptr) {}; - ~PythonQtShell_QGLContext(); + ~PythonQtShell_QGLContext() override; -virtual bool chooseContext(const QGLContext* shareContext = nullptr); -virtual bool create(const QGLContext* shareContext = nullptr); -virtual void doneCurrent(); -virtual void makeCurrent(); -virtual void swapBuffers() const; +bool chooseContext(const QGLContext* shareContext = nullptr) override; +bool create(const QGLContext* shareContext = nullptr) override; +void doneCurrent() override; +void makeCurrent() override; +void swapBuffers() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLContext : public QGLContext @@ -180,7 +181,7 @@ Q_DECLARE_FLAGS(BindOptions, BindOption) public slots: QGLContext* new_QGLContext(const QGLFormat& format); QGLContext* new_QGLContext(const QGLFormat& format, QPaintDevice* device); -void delete_QGLContext(QGLContext* obj) { delete obj; } +void delete_QGLContext(QGLContext* obj) { delete obj; } bool static_QGLContext_areSharing(const QGLContext* context1, const QGLContext* context2); uint bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target = 0x0DE1, GLint format = 0x1908); uint bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options); @@ -243,7 +244,7 @@ public slots: QGLFormat* new_QGLFormat(); QGLFormat* new_QGLFormat(QGL::FormatOptions options, int plane = 0); QGLFormat* new_QGLFormat(const QGLFormat& other); -void delete_QGLFormat(QGLFormat* obj) { delete obj; } +void delete_QGLFormat(QGLFormat* obj) { delete obj; } bool accum(QGLFormat* theWrappedObject) const; int accumBufferSize(QGLFormat* theWrappedObject) const; bool alpha(QGLFormat* theWrappedObject) const; @@ -263,6 +264,7 @@ void delete_QGLFormat(QGLFormat* obj) { delete obj; } int majorVersion(QGLFormat* theWrappedObject) const; int minorVersion(QGLFormat* theWrappedObject) const; QGLFormat::OpenGLVersionFlags static_QGLFormat_openGLVersionFlags(); + bool __ne__(QGLFormat* theWrappedObject, const QGLFormat& arg__2); bool __eq__(QGLFormat* theWrappedObject, const QGLFormat& arg__2); int plane(QGLFormat* theWrappedObject) const; QGLFormat::OpenGLContextProfile profile(QGLFormat* theWrappedObject) const; @@ -311,23 +313,23 @@ void delete_QGLFormat(QGLFormat* obj) { delete obj; } class PythonQtShell_QGLFramebufferObject : public QGLFramebufferObject { public: - PythonQtShell_QGLFramebufferObject(const QSize& size, GLenum target = 0x0DE1):QGLFramebufferObject(size, target),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0):QGLFramebufferObject(size, attachment, target, internal_format),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(size, format),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(int width, int height, GLenum target = 0x0DE1):QGLFramebufferObject(width, height, target),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0):QGLFramebufferObject(width, height, attachment, target, internal_format),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(width, height, format),_wrapper(NULL) {}; - - ~PythonQtShell_QGLFramebufferObject(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGLFramebufferObject(const QSize& size, GLenum target = 0x0DE1):QGLFramebufferObject(size, target),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0):QGLFramebufferObject(size, attachment, target, internal_format),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(size, format),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(int width, int height, GLenum target = 0x0DE1):QGLFramebufferObject(width, height, target),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0):QGLFramebufferObject(width, height, attachment, target, internal_format),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(width, height, format),_wrapper(nullptr) {}; + + ~PythonQtShell_QGLFramebufferObject() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLFramebufferObject : public QGLFramebufferObject @@ -352,7 +354,7 @@ QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, const QGLFram QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, GLenum target = 0x0DE1); QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0); QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format); -void delete_QGLFramebufferObject(QGLFramebufferObject* obj) { delete obj; } +void delete_QGLFramebufferObject(QGLFramebufferObject* obj) { delete obj; } QGLFramebufferObject::Attachment attachment(QGLFramebufferObject* theWrappedObject) const; bool bind(QGLFramebufferObject* theWrappedObject); bool static_QGLFramebufferObject_bindDefault(); @@ -385,7 +387,7 @@ class PythonQtWrapper_QGLFramebufferObjectFormat : public QObject public slots: QGLFramebufferObjectFormat* new_QGLFramebufferObjectFormat(); QGLFramebufferObjectFormat* new_QGLFramebufferObjectFormat(const QGLFramebufferObjectFormat& other); -void delete_QGLFramebufferObjectFormat(QGLFramebufferObjectFormat* obj) { delete obj; } +void delete_QGLFramebufferObjectFormat(QGLFramebufferObjectFormat* obj) { delete obj; } QGLFramebufferObject::Attachment attachment(QGLFramebufferObjectFormat* theWrappedObject) const; GLenum internalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject) const; bool mipmap(QGLFramebufferObjectFormat* theWrappedObject) const; @@ -416,7 +418,7 @@ Q_DECLARE_FLAGS(OpenGLFeatures, OpenGLFeature) public slots: QGLFunctions* new_QGLFunctions(); QGLFunctions* new_QGLFunctions(const QGLContext* context); -void delete_QGLFunctions(QGLFunctions* obj) { delete obj; } +void delete_QGLFunctions(QGLFunctions* obj) { delete obj; } void glActiveTexture(QGLFunctions* theWrappedObject, GLenum texture); void glAttachShader(QGLFunctions* theWrappedObject, uint program, uint shader); void glBindAttribLocation(QGLFunctions* theWrappedObject, uint program, uint index, const char* name); @@ -524,19 +526,19 @@ void delete_QGLFunctions(QGLFunctions* obj) { delete obj; } class PythonQtShell_QGLPixelBuffer : public QGLPixelBuffer { public: - PythonQtShell_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr):QGLPixelBuffer(size, format, shareWidget),_wrapper(NULL) {}; - PythonQtShell_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr):QGLPixelBuffer(width, height, format, shareWidget),_wrapper(NULL) {}; + PythonQtShell_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr):QGLPixelBuffer(size, format, shareWidget),_wrapper(nullptr) {}; + PythonQtShell_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr):QGLPixelBuffer(width, height, format, shareWidget),_wrapper(nullptr) {}; - ~PythonQtShell_QGLPixelBuffer(); + ~PythonQtShell_QGLPixelBuffer() override; -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLPixelBuffer : public QGLPixelBuffer @@ -554,7 +556,7 @@ class PythonQtWrapper_QGLPixelBuffer : public QObject public slots: QGLPixelBuffer* new_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr); QGLPixelBuffer* new_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr); -void delete_QGLPixelBuffer(QGLPixelBuffer* obj) { delete obj; } +void delete_QGLPixelBuffer(QGLPixelBuffer* obj) { delete obj; } uint bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, GLenum target = 0x0DE1); uint bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, GLenum target = 0x0DE1); uint bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName); @@ -587,20 +589,20 @@ void delete_QGLPixelBuffer(QGLPixelBuffer* obj) { delete obj; } class PythonQtShell_QGLShader : public QGLShader { public: - PythonQtShell_QGLShader(QGLShader::ShaderType type, QObject* parent = nullptr):QGLShader(type, parent),_wrapper(NULL) {}; - PythonQtShell_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent = nullptr):QGLShader(type, context, parent),_wrapper(NULL) {}; + PythonQtShell_QGLShader(QGLShader::ShaderType type, QObject* parent = nullptr):QGLShader(type, parent),_wrapper(nullptr) {}; + PythonQtShell_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent = nullptr):QGLShader(type, context, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGLShader(); + ~PythonQtShell_QGLShader() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QGLShader : public QObject @@ -614,7 +616,7 @@ Q_DECLARE_FLAGS(ShaderType, ShaderTypeBit) public slots: QGLShader* new_QGLShader(QGLShader::ShaderType type, QObject* parent = nullptr); QGLShader* new_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent = nullptr); -void delete_QGLShader(QGLShader* obj) { delete obj; } +void delete_QGLShader(QGLShader* obj) { delete obj; } bool compileSourceCode(QGLShader* theWrappedObject, const QByteArray& source); bool compileSourceCode(QGLShader* theWrappedObject, const QString& source); bool compileSourceCode(QGLShader* theWrappedObject, const char* source); @@ -634,21 +636,21 @@ void delete_QGLShader(QGLShader* obj) { delete obj; } class PythonQtShell_QGLShaderProgram : public QGLShaderProgram { public: - PythonQtShell_QGLShaderProgram(QObject* parent = nullptr):QGLShaderProgram(parent),_wrapper(NULL) {}; - PythonQtShell_QGLShaderProgram(const QGLContext* context, QObject* parent = nullptr):QGLShaderProgram(context, parent),_wrapper(NULL) {}; + PythonQtShell_QGLShaderProgram(QObject* parent = nullptr):QGLShaderProgram(parent),_wrapper(nullptr) {}; + PythonQtShell_QGLShaderProgram(const QGLContext* context, QObject* parent = nullptr):QGLShaderProgram(context, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGLShaderProgram(); + ~PythonQtShell_QGLShaderProgram() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool link(); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool link() override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLShaderProgram : public QGLShaderProgram @@ -662,7 +664,7 @@ class PythonQtWrapper_QGLShaderProgram : public QObject public slots: QGLShaderProgram* new_QGLShaderProgram(QObject* parent = nullptr); QGLShaderProgram* new_QGLShaderProgram(const QGLContext* context, QObject* parent = nullptr); -void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } +void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } bool addShader(QGLShaderProgram* theWrappedObject, QGLShader* shader); bool addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QByteArray& source); bool addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QString& source); @@ -784,71 +786,71 @@ void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } class PythonQtShell_QGLWidget : public QGLWidget { public: - PythonQtShell_QGLWidget(QGLContext* context, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QGLWidget(context, parent, shareWidget, f),_wrapper(NULL) {}; - PythonQtShell_QGLWidget(QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QGLWidget(parent, shareWidget, f),_wrapper(NULL) {}; - PythonQtShell_QGLWidget(const QGLFormat& format, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QGLWidget(format, parent, shareWidget, f),_wrapper(NULL) {}; - - ~PythonQtShell_QGLWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual void glDraw(); -virtual void glInit(); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void initializeGL(); -virtual void initializeOverlayGL(); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void paintGL(); -virtual void paintOverlayGL(); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void resizeGL(int w, int h); -virtual void resizeOverlayGL(int w, int h); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateGL(); -virtual void updateOverlayGL(); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGLWidget(QGLContext* context, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QGLWidget(context, parent, shareWidget, f),_wrapper(nullptr) {}; + PythonQtShell_QGLWidget(QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QGLWidget(parent, shareWidget, f),_wrapper(nullptr) {}; + PythonQtShell_QGLWidget(const QGLFormat& format, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QGLWidget(format, parent, shareWidget, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QGLWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +void glDraw() override; +void glInit() override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void initializeGL() override; +void initializeOverlayGL() override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +void paintGL() override; +void paintOverlayGL() override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void resizeGL(int w, int h) override; +void resizeOverlayGL(int w, int h) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateGL() override; +void updateOverlayGL() override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLWidget : public QGLWidget @@ -889,7 +891,7 @@ public slots: QGLWidget* new_QGLWidget(QGLContext* context, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); QGLWidget* new_QGLWidget(QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); QGLWidget* new_QGLWidget(const QGLFormat& format, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QGLWidget(QGLWidget* obj) { delete obj; } +void delete_QGLWidget(QGLWidget* obj) { delete obj; } bool autoBufferSwap(QGLWidget* theWrappedObject) const; uint bindTexture(QGLWidget* theWrappedObject, const QImage& image, GLenum target = 0x0DE1, GLint format = 0x1908); uint bindTexture(QGLWidget* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options); diff --git a/generated_cpp_511/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp b/generated_cpp_511/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp index 17b5e58a4..ffde511f1 100644 --- a/generated_cpp_511/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp +++ b/generated_cpp_511/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp @@ -5,14 +5,14 @@ void PythonQt_init_QtOpenGL(PyObject* module) { -PythonQt::priv()->registerCPPClass("QGLBuffer", "", "QtOpenGL", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QGLBuffer", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QGLColormap", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QGLContext", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QGLFormat", "", "QtOpenGL", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QGLFormat", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QGLFramebufferObject", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::self()->addParentClass("QGLFramebufferObject", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerCPPClass("QGLFramebufferObjectFormat", "", "QtOpenGL", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QGLFunctions", "", "QtOpenGL", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QGLFramebufferObjectFormat", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QGLFunctions", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QGLPixelBuffer", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::self()->addParentClass("QGLPixelBuffer", "QPaintDevice",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QGLShader::staticMetaObject, "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); 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..4e597d26a 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 @@ -31,6 +31,7 @@ #include #include #include +#include #include PythonQtShell_QJSEngine::~PythonQtShell_QJSEngine() { @@ -47,9 +48,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -69,9 +70,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -91,20 +92,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -124,20 +125,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -157,9 +158,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -480,20 +481,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QUrl" , "const QUrl&" , "QQmlAbstractUrlInterceptor::DataType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QUrl returnValue; - void* args[3] = {NULL, (void*)&path0, (void*)&type1}; + QUrl returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&type1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("intercept", methodInfo, result); } else { returnValue = *((QUrl*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -528,9 +529,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -550,9 +551,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -572,20 +573,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -605,20 +606,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -638,9 +639,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -701,20 +702,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QObject*" , "QQmlContext*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QObject* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QObject* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("beginCreate", methodInfo, result); } else { returnValue = *((QObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -734,9 +735,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -756,9 +757,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -778,20 +779,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QObject*" , "QQmlContext*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QObject* returnValue; - void* args[2] = {NULL, (void*)&context0}; + QObject* returnValue{}; + void* args[2] = {nullptr, (void*)&context0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((QObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -811,9 +812,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -833,20 +834,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -866,20 +867,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -899,9 +900,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1034,9 +1035,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1056,9 +1057,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1078,20 +1079,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1111,20 +1112,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1144,9 +1145,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1299,9 +1300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1321,9 +1322,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1343,20 +1344,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1376,20 +1377,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1409,9 +1410,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1690,9 +1691,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1712,9 +1713,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1734,20 +1735,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1767,20 +1768,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1800,9 +1801,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1928,9 +1929,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QQmlEngine*" , "const char*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&engine0, (void*)&uri1}; + void* args[3] = {nullptr, (void*)&engine0, (void*)&uri1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1950,9 +1951,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const char*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&uri0}; + void* args[2] = {nullptr, (void*)&uri0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1987,9 +1988,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QQmlEngine*" , "const char*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&engine0, (void*)&uri1}; + void* args[3] = {nullptr, (void*)&engine0, (void*)&uri1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2009,9 +2010,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const char*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&uri0}; + void* args[2] = {nullptr, (void*)&uri0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2203,9 +2204,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2225,9 +2226,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2247,20 +2248,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2280,20 +2281,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2313,9 +2314,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2383,9 +2384,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2435,9 +2436,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2457,9 +2458,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QQmlIncubator::Status"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2739,20 +2740,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QNetworkAccessManager*" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QNetworkAccessManager* returnValue; - void* args[2] = {NULL, (void*)&parent0}; + QNetworkAccessManager* returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((QNetworkAccessManager**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2760,7 +2761,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QQmlNetworkAccessManagerFactory* PythonQtWrapper_QQmlNetworkAccessManagerFactory::new_QQmlNetworkAccessManagerFactory() { @@ -2787,9 +2788,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2809,9 +2810,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3035,9 +3036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3057,9 +3058,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3079,20 +3080,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3112,20 +3113,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3145,9 +3146,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3167,20 +3168,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&key0, (void*)&input1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&key0, (void*)&input1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("updateValue", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3273,9 +3274,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QQmlProperty&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3365,9 +3366,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const char*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&uri0}; + void* args[2] = {nullptr, (void*)&uri0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_qml/com_trolltech_qt_qml0.h b/generated_cpp_511/com_trolltech_qt_qml/com_trolltech_qt_qml0.h index 70b4959a4..4dc3f16d3 100644 --- a/generated_cpp_511/com_trolltech_qt_qml/com_trolltech_qt_qml0.h +++ b/generated_cpp_511/com_trolltech_qt_qml/com_trolltech_qt_qml0.h @@ -33,6 +33,7 @@ #include #include #include +#include #include @@ -40,20 +41,20 @@ class PythonQtShell_QJSEngine : public QJSEngine { public: - PythonQtShell_QJSEngine():QJSEngine(),_wrapper(NULL) {}; - PythonQtShell_QJSEngine(QObject* parent):QJSEngine(parent),_wrapper(NULL) {}; + PythonQtShell_QJSEngine():QJSEngine(),_wrapper(nullptr) {}; + PythonQtShell_QJSEngine(QObject* parent):QJSEngine(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QJSEngine(); + ~PythonQtShell_QJSEngine() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QJSEngine : public QObject @@ -65,7 +66,7 @@ enum Extension{ public slots: QJSEngine* new_QJSEngine(); QJSEngine* new_QJSEngine(QObject* parent); -void delete_QJSEngine(QJSEngine* obj) { delete obj; } +void delete_QJSEngine(QJSEngine* obj) { delete obj; } void collectGarbage(QJSEngine* theWrappedObject); QJSValue evaluate(QJSEngine* theWrappedObject, const QString& program, const QString& fileName = QString(), int lineNumber = 1); QJSValue globalObject(QJSEngine* theWrappedObject) const; @@ -96,7 +97,7 @@ QJSValue* new_QJSValue(const char* str); QJSValue* new_QJSValue(double value); QJSValue* new_QJSValue(int value); QJSValue* new_QJSValue(uint value); -void delete_QJSValue(QJSValue* obj) { delete obj; } +void delete_QJSValue(QJSValue* obj) { delete obj; } QJSValue call(QJSValue* theWrappedObject, const QList& args = QJSValueList()); QJSValue callAsConstructor(QJSValue* theWrappedObject, const QList& args = QJSValueList()); QJSValue callWithInstance(QJSValue* theWrappedObject, const QJSValue& instance, const QList& args = QJSValueList()); @@ -147,13 +148,13 @@ void delete_QJSValue(QJSValue* obj) { delete obj; } class PythonQtShell_QQmlAbstractUrlInterceptor : public QQmlAbstractUrlInterceptor { public: - PythonQtShell_QQmlAbstractUrlInterceptor():QQmlAbstractUrlInterceptor(),_wrapper(NULL) {}; + PythonQtShell_QQmlAbstractUrlInterceptor():QQmlAbstractUrlInterceptor(),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlAbstractUrlInterceptor(); + ~PythonQtShell_QQmlAbstractUrlInterceptor() override; -virtual QUrl intercept(const QUrl& path, QQmlAbstractUrlInterceptor::DataType type); +QUrl intercept(const QUrl& path, QQmlAbstractUrlInterceptor::DataType type) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlAbstractUrlInterceptor : public QQmlAbstractUrlInterceptor @@ -169,7 +170,7 @@ enum DataType{ QmlFile = QQmlAbstractUrlInterceptor::QmlFile, JavaScriptFile = QQmlAbstractUrlInterceptor::JavaScriptFile, QmldirFile = QQmlAbstractUrlInterceptor::QmldirFile, UrlString = QQmlAbstractUrlInterceptor::UrlString}; public slots: QQmlAbstractUrlInterceptor* new_QQmlAbstractUrlInterceptor(); -void delete_QQmlAbstractUrlInterceptor(QQmlAbstractUrlInterceptor* obj) { delete obj; } +void delete_QQmlAbstractUrlInterceptor(QQmlAbstractUrlInterceptor* obj) { delete obj; } QUrl intercept(QQmlAbstractUrlInterceptor* theWrappedObject, const QUrl& path, QQmlAbstractUrlInterceptor::DataType type); QUrl py_q_intercept(QQmlAbstractUrlInterceptor* theWrappedObject, const QUrl& path, QQmlAbstractUrlInterceptor::DataType type){ return (((PythonQtPublicPromoter_QQmlAbstractUrlInterceptor*)theWrappedObject)->py_q_intercept(path, type));} }; @@ -181,21 +182,21 @@ void delete_QQmlAbstractUrlInterceptor(QQmlAbstractUrlInterceptor* obj) { delete class PythonQtShell_QQmlApplicationEngine : public QQmlApplicationEngine { public: - PythonQtShell_QQmlApplicationEngine(QObject* parent = nullptr):QQmlApplicationEngine(parent),_wrapper(NULL) {}; - PythonQtShell_QQmlApplicationEngine(const QString& filePath, QObject* parent = nullptr):QQmlApplicationEngine(filePath, parent),_wrapper(NULL) {}; - PythonQtShell_QQmlApplicationEngine(const QUrl& url, QObject* parent = nullptr):QQmlApplicationEngine(url, parent),_wrapper(NULL) {}; + PythonQtShell_QQmlApplicationEngine(QObject* parent = nullptr):QQmlApplicationEngine(parent),_wrapper(nullptr) {}; + PythonQtShell_QQmlApplicationEngine(const QString& filePath, QObject* parent = nullptr):QQmlApplicationEngine(filePath, parent),_wrapper(nullptr) {}; + PythonQtShell_QQmlApplicationEngine(const QUrl& url, QObject* parent = nullptr):QQmlApplicationEngine(url, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlApplicationEngine(); + ~PythonQtShell_QQmlApplicationEngine() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QQmlApplicationEngine : public QObject @@ -205,7 +206,7 @@ public slots: QQmlApplicationEngine* new_QQmlApplicationEngine(QObject* parent = nullptr); QQmlApplicationEngine* new_QQmlApplicationEngine(const QString& filePath, QObject* parent = nullptr); QQmlApplicationEngine* new_QQmlApplicationEngine(const QUrl& url, QObject* parent = nullptr); -void delete_QQmlApplicationEngine(QQmlApplicationEngine* obj) { delete obj; } +void delete_QQmlApplicationEngine(QQmlApplicationEngine* obj) { delete obj; } QList rootObjects(QQmlApplicationEngine* theWrappedObject); QList rootObjects(QQmlApplicationEngine* theWrappedObject) const; }; @@ -217,27 +218,27 @@ void delete_QQmlApplicationEngine(QQmlApplicationEngine* obj) { delete obj; } class PythonQtShell_QQmlComponent : public QQmlComponent { public: - PythonQtShell_QQmlComponent(QObject* parent = nullptr):QQmlComponent(parent),_wrapper(NULL) {}; - PythonQtShell_QQmlComponent(QQmlEngine* arg__1, QObject* parent = nullptr):QQmlComponent(arg__1, parent),_wrapper(NULL) {}; - PythonQtShell_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QObject* parent = nullptr):QQmlComponent(arg__1, fileName, parent),_wrapper(NULL) {}; - PythonQtShell_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QQmlComponent::CompilationMode mode, QObject* parent = nullptr):QQmlComponent(arg__1, fileName, mode, parent),_wrapper(NULL) {}; - PythonQtShell_QQmlComponent(QQmlEngine* arg__1, const QUrl& url, QObject* parent = nullptr):QQmlComponent(arg__1, url, parent),_wrapper(NULL) {}; - PythonQtShell_QQmlComponent(QQmlEngine* arg__1, const QUrl& url, QQmlComponent::CompilationMode mode, QObject* parent = nullptr):QQmlComponent(arg__1, url, mode, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QQmlComponent(); - -virtual QObject* beginCreate(QQmlContext* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void completeCreate(); -virtual QObject* create(QQmlContext* context = nullptr); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QQmlComponent(QObject* parent = nullptr):QQmlComponent(parent),_wrapper(nullptr) {}; + PythonQtShell_QQmlComponent(QQmlEngine* arg__1, QObject* parent = nullptr):QQmlComponent(arg__1, parent),_wrapper(nullptr) {}; + PythonQtShell_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QObject* parent = nullptr):QQmlComponent(arg__1, fileName, parent),_wrapper(nullptr) {}; + PythonQtShell_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QQmlComponent::CompilationMode mode, QObject* parent = nullptr):QQmlComponent(arg__1, fileName, mode, parent),_wrapper(nullptr) {}; + PythonQtShell_QQmlComponent(QQmlEngine* arg__1, const QUrl& url, QObject* parent = nullptr):QQmlComponent(arg__1, url, parent),_wrapper(nullptr) {}; + PythonQtShell_QQmlComponent(QQmlEngine* arg__1, const QUrl& url, QQmlComponent::CompilationMode mode, QObject* parent = nullptr):QQmlComponent(arg__1, url, mode, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlComponent() override; + +QObject* beginCreate(QQmlContext* arg__1) override; +void childEvent(QChildEvent* event) override; +void completeCreate() override; +QObject* create(QQmlContext* context = nullptr) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlComponent : public QQmlComponent @@ -257,7 +258,7 @@ QQmlComponent* new_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QQmlComponent* new_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QQmlComponent::CompilationMode mode, QObject* parent = nullptr); QQmlComponent* new_QQmlComponent(QQmlEngine* arg__1, const QUrl& url, QObject* parent = nullptr); QQmlComponent* new_QQmlComponent(QQmlEngine* arg__1, const QUrl& url, QQmlComponent::CompilationMode mode, QObject* parent = nullptr); -void delete_QQmlComponent(QQmlComponent* obj) { delete obj; } +void delete_QQmlComponent(QQmlComponent* obj) { delete obj; } QObject* beginCreate(QQmlComponent* theWrappedObject, QQmlContext* arg__1); QObject* py_q_beginCreate(QQmlComponent* theWrappedObject, QQmlContext* arg__1){ return (((PythonQtPublicPromoter_QQmlComponent*)theWrappedObject)->py_q_beginCreate(arg__1));} void completeCreate(QQmlComponent* theWrappedObject); @@ -285,20 +286,20 @@ void delete_QQmlComponent(QQmlComponent* obj) { delete obj; } class PythonQtShell_QQmlContext : public QQmlContext { public: - PythonQtShell_QQmlContext(QQmlContext* parent, QObject* objParent = nullptr):QQmlContext(parent, objParent),_wrapper(NULL) {}; - PythonQtShell_QQmlContext(QQmlEngine* parent, QObject* objParent = nullptr):QQmlContext(parent, objParent),_wrapper(NULL) {}; + PythonQtShell_QQmlContext(QQmlContext* parent, QObject* objParent = nullptr):QQmlContext(parent, objParent),_wrapper(nullptr) {}; + PythonQtShell_QQmlContext(QQmlEngine* parent, QObject* objParent = nullptr):QQmlContext(parent, objParent),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlContext(); + ~PythonQtShell_QQmlContext() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QQmlContext : public QObject @@ -307,7 +308,7 @@ class PythonQtWrapper_QQmlContext : public QObject public slots: QQmlContext* new_QQmlContext(QQmlContext* parent, QObject* objParent = nullptr); QQmlContext* new_QQmlContext(QQmlEngine* parent, QObject* objParent = nullptr); -void delete_QQmlContext(QQmlContext* obj) { delete obj; } +void delete_QQmlContext(QQmlContext* obj) { delete obj; } QUrl baseUrl(QQmlContext* theWrappedObject) const; QObject* contextObject(QQmlContext* theWrappedObject) const; QVariant contextProperty(QQmlContext* theWrappedObject, const QString& arg__1) const; @@ -335,7 +336,7 @@ enum StartMode{ DoNotWaitForClient = QQmlDebuggingEnabler::DoNotWaitForClient, WaitForClient = QQmlDebuggingEnabler::WaitForClient}; public slots: QQmlDebuggingEnabler* new_QQmlDebuggingEnabler(bool printWarning = true); -void delete_QQmlDebuggingEnabler(QQmlDebuggingEnabler* obj) { delete obj; } +void delete_QQmlDebuggingEnabler(QQmlDebuggingEnabler* obj) { delete obj; } bool static_QQmlDebuggingEnabler_connectToLocalDebugger(const QString& socketFileName, QQmlDebuggingEnabler::StartMode mode = QQmlDebuggingEnabler::DoNotWaitForClient); QStringList static_QQmlDebuggingEnabler_debuggerServices(); QStringList static_QQmlDebuggingEnabler_inspectorServices(); @@ -353,19 +354,19 @@ void delete_QQmlDebuggingEnabler(QQmlDebuggingEnabler* obj) { delete obj; } class PythonQtShell_QQmlEngine : public QQmlEngine { public: - PythonQtShell_QQmlEngine(QObject* p = nullptr):QQmlEngine(p),_wrapper(NULL) {}; + PythonQtShell_QQmlEngine(QObject* p = nullptr):QQmlEngine(p),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlEngine(); + ~PythonQtShell_QQmlEngine() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlEngine : public QQmlEngine @@ -382,7 +383,7 @@ enum ObjectOwnership{ CppOwnership = QQmlEngine::CppOwnership, JavaScriptOwnership = QQmlEngine::JavaScriptOwnership}; public slots: QQmlEngine* new_QQmlEngine(QObject* p = nullptr); -void delete_QQmlEngine(QQmlEngine* obj) { delete obj; } +void delete_QQmlEngine(QQmlEngine* obj) { delete obj; } void addImportPath(QQmlEngine* theWrappedObject, const QString& dir); bool addNamedBundle(QQmlEngine* theWrappedObject, const QString& name, const QString& fileName); void addPluginPath(QQmlEngine* theWrappedObject, const QString& dir); @@ -426,7 +427,7 @@ class PythonQtWrapper_QQmlError : public QObject public slots: QQmlError* new_QQmlError(); QQmlError* new_QQmlError(const QQmlError& arg__1); -void delete_QQmlError(QQmlError* obj) { delete obj; } +void delete_QQmlError(QQmlError* obj) { delete obj; } int column(QQmlError* theWrappedObject) const; QString description(QQmlError* theWrappedObject) const; bool isValid(QQmlError* theWrappedObject) const; @@ -453,21 +454,21 @@ void delete_QQmlError(QQmlError* obj) { delete obj; } class PythonQtShell_QQmlExpression : public QQmlExpression { public: - PythonQtShell_QQmlExpression():QQmlExpression(),_wrapper(NULL) {}; - PythonQtShell_QQmlExpression(QQmlContext* arg__1, QObject* arg__2, const QString& arg__3, QObject* arg__4 = nullptr):QQmlExpression(arg__1, arg__2, arg__3, arg__4),_wrapper(NULL) {}; - PythonQtShell_QQmlExpression(const QQmlScriptString& arg__1, QQmlContext* arg__2 = nullptr, QObject* arg__3 = nullptr, QObject* arg__4 = nullptr):QQmlExpression(arg__1, arg__2, arg__3, arg__4),_wrapper(NULL) {}; + PythonQtShell_QQmlExpression():QQmlExpression(),_wrapper(nullptr) {}; + PythonQtShell_QQmlExpression(QQmlContext* arg__1, QObject* arg__2, const QString& arg__3, QObject* arg__4 = nullptr):QQmlExpression(arg__1, arg__2, arg__3, arg__4),_wrapper(nullptr) {}; + PythonQtShell_QQmlExpression(const QQmlScriptString& arg__1, QQmlContext* arg__2 = nullptr, QObject* arg__3 = nullptr, QObject* arg__4 = nullptr):QQmlExpression(arg__1, arg__2, arg__3, arg__4),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlExpression(); + ~PythonQtShell_QQmlExpression() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QQmlExpression : public QObject @@ -477,7 +478,7 @@ public slots: QQmlExpression* new_QQmlExpression(); QQmlExpression* new_QQmlExpression(QQmlContext* arg__1, QObject* arg__2, const QString& arg__3, QObject* arg__4 = nullptr); QQmlExpression* new_QQmlExpression(const QQmlScriptString& arg__1, QQmlContext* arg__2 = nullptr, QObject* arg__3 = nullptr, QObject* arg__4 = nullptr); -void delete_QQmlExpression(QQmlExpression* obj) { delete obj; } +void delete_QQmlExpression(QQmlExpression* obj) { delete obj; } void clearError(QQmlExpression* theWrappedObject); int columnNumber(QQmlExpression* theWrappedObject) const; QQmlContext* context(QQmlExpression* theWrappedObject) const; @@ -502,14 +503,14 @@ void delete_QQmlExpression(QQmlExpression* obj) { delete obj; } class PythonQtShell_QQmlExtensionInterface : public QQmlExtensionInterface { public: - PythonQtShell_QQmlExtensionInterface():QQmlExtensionInterface(),_wrapper(NULL) {}; + PythonQtShell_QQmlExtensionInterface():QQmlExtensionInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlExtensionInterface(); + ~PythonQtShell_QQmlExtensionInterface() override; -virtual void initializeEngine(QQmlEngine* engine, const char* uri); -virtual void registerTypes(const char* uri); +void initializeEngine(QQmlEngine* engine, const char* uri) override; +void registerTypes(const char* uri) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlExtensionInterface : public QQmlExtensionInterface @@ -522,7 +523,7 @@ class PythonQtWrapper_QQmlExtensionInterface : public QObject public: public slots: QQmlExtensionInterface* new_QQmlExtensionInterface(); -void delete_QQmlExtensionInterface(QQmlExtensionInterface* obj) { delete obj; } +void delete_QQmlExtensionInterface(QQmlExtensionInterface* obj) { delete obj; } void initializeEngine(QQmlExtensionInterface* theWrappedObject, QQmlEngine* engine, const char* uri); void py_q_initializeEngine(QQmlExtensionInterface* theWrappedObject, QQmlEngine* engine, const char* uri){ (((PythonQtPublicPromoter_QQmlExtensionInterface*)theWrappedObject)->py_q_initializeEngine(engine, uri));} }; @@ -534,16 +535,16 @@ void delete_QQmlExtensionInterface(QQmlExtensionInterface* obj) { delete obj; } class PythonQtShell_QQmlExtensionPlugin : public QQmlExtensionPlugin { public: - PythonQtShell_QQmlExtensionPlugin(QObject* parent = nullptr):QQmlExtensionPlugin(parent),_wrapper(NULL) {}; + PythonQtShell_QQmlExtensionPlugin(QObject* parent = nullptr):QQmlExtensionPlugin(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlExtensionPlugin(); + ~PythonQtShell_QQmlExtensionPlugin() override; -virtual void initializeEngine(QQmlEngine* engine, const char* uri); -virtual void registerTypes(const char* uri); +void initializeEngine(QQmlEngine* engine, const char* uri) override; +void registerTypes(const char* uri) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlExtensionPlugin : public QQmlExtensionPlugin @@ -557,7 +558,7 @@ class PythonQtWrapper_QQmlExtensionPlugin : public QObject public: public slots: QQmlExtensionPlugin* new_QQmlExtensionPlugin(QObject* parent = nullptr); -void delete_QQmlExtensionPlugin(QQmlExtensionPlugin* obj) { delete obj; } +void delete_QQmlExtensionPlugin(QQmlExtensionPlugin* obj) { delete obj; } QUrl baseUrl(QQmlExtensionPlugin* theWrappedObject) const; void initializeEngine(QQmlExtensionPlugin* theWrappedObject, QQmlEngine* engine, const char* uri); void py_q_initializeEngine(QQmlExtensionPlugin* theWrappedObject, QQmlEngine* engine, const char* uri){ (((PythonQtPublicPromoter_QQmlExtensionPlugin*)theWrappedObject)->py_q_initializeEngine(engine, uri));} @@ -579,7 +580,7 @@ public slots: QQmlFile* new_QQmlFile(); QQmlFile* new_QQmlFile(QQmlEngine* arg__1, const QString& arg__2); QQmlFile* new_QQmlFile(QQmlEngine* arg__1, const QUrl& arg__2); -void delete_QQmlFile(QQmlFile* obj) { delete obj; } +void delete_QQmlFile(QQmlFile* obj) { delete obj; } void clear(QQmlFile* theWrappedObject); void clear(QQmlFile* theWrappedObject, QObject* arg__1); bool connectDownloadProgress(QQmlFile* theWrappedObject, QObject* arg__1, const char* arg__2); @@ -614,19 +615,19 @@ void delete_QQmlFile(QQmlFile* obj) { delete obj; } class PythonQtShell_QQmlFileSelector : public QQmlFileSelector { public: - PythonQtShell_QQmlFileSelector(QQmlEngine* engine, QObject* parent = nullptr):QQmlFileSelector(engine, parent),_wrapper(NULL) {}; + PythonQtShell_QQmlFileSelector(QQmlEngine* engine, QObject* parent = nullptr):QQmlFileSelector(engine, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlFileSelector(); + ~PythonQtShell_QQmlFileSelector() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QQmlFileSelector : public QObject @@ -634,7 +635,7 @@ class PythonQtWrapper_QQmlFileSelector : public QObject public: public slots: QQmlFileSelector* new_QQmlFileSelector(QQmlEngine* engine, QObject* parent = nullptr); -void delete_QQmlFileSelector(QQmlFileSelector* obj) { delete obj; } +void delete_QQmlFileSelector(QQmlFileSelector* obj) { delete obj; } QQmlFileSelector* static_QQmlFileSelector_get(QQmlEngine* arg__1); QFileSelector* selector(QQmlFileSelector* theWrappedObject) const; void setExtraSelectors(QQmlFileSelector* theWrappedObject, QStringList& strings); @@ -649,13 +650,13 @@ void delete_QQmlFileSelector(QQmlFileSelector* obj) { delete obj; } class PythonQtShell_QQmlIncubationController : public QQmlIncubationController { public: - PythonQtShell_QQmlIncubationController():QQmlIncubationController(),_wrapper(NULL) {}; + PythonQtShell_QQmlIncubationController():QQmlIncubationController(),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlIncubationController(); + ~PythonQtShell_QQmlIncubationController() override; -virtual void incubatingObjectCountChanged(int arg__1); +void incubatingObjectCountChanged(int arg__1) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlIncubationController : public QQmlIncubationController @@ -669,7 +670,7 @@ class PythonQtWrapper_QQmlIncubationController : public QObject public: public slots: QQmlIncubationController* new_QQmlIncubationController(); -void delete_QQmlIncubationController(QQmlIncubationController* obj) { delete obj; } +void delete_QQmlIncubationController(QQmlIncubationController* obj) { delete obj; } QQmlEngine* engine(QQmlIncubationController* theWrappedObject) const; void incubateFor(QQmlIncubationController* theWrappedObject, int msecs); int incubatingObjectCount(QQmlIncubationController* theWrappedObject) const; @@ -684,14 +685,14 @@ void delete_QQmlIncubationController(QQmlIncubationController* obj) { delete obj class PythonQtShell_QQmlIncubator : public QQmlIncubator { public: - PythonQtShell_QQmlIncubator(QQmlIncubator::IncubationMode arg__1 = QQmlIncubator::Asynchronous):QQmlIncubator(arg__1),_wrapper(NULL) {}; + PythonQtShell_QQmlIncubator(QQmlIncubator::IncubationMode arg__1 = QQmlIncubator::Asynchronous):QQmlIncubator(arg__1),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlIncubator(); + ~PythonQtShell_QQmlIncubator() override; -virtual void setInitialState(QObject* arg__1); -virtual void statusChanged(QQmlIncubator::Status arg__1); +void setInitialState(QObject* arg__1) override; +void statusChanged(QQmlIncubator::Status arg__1) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlIncubator : public QQmlIncubator @@ -712,7 +713,7 @@ enum Status{ Null = QQmlIncubator::Null, Ready = QQmlIncubator::Ready, Loading = QQmlIncubator::Loading, Error = QQmlIncubator::Error}; public slots: QQmlIncubator* new_QQmlIncubator(QQmlIncubator::IncubationMode arg__1 = QQmlIncubator::Asynchronous); -void delete_QQmlIncubator(QQmlIncubator* obj) { delete obj; } +void delete_QQmlIncubator(QQmlIncubator* obj) { delete obj; } void clear(QQmlIncubator* theWrappedObject); QList errors(QQmlIncubator* theWrappedObject) const; void forceCompletion(QQmlIncubator* theWrappedObject); @@ -739,7 +740,7 @@ class PythonQtWrapper_QQmlInfo : public QObject public: public slots: QQmlInfo* new_QQmlInfo(const QQmlInfo& arg__1); -void delete_QQmlInfo(QQmlInfo* obj) { delete obj; } +void delete_QQmlInfo(QQmlInfo* obj) { delete obj; } QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, QChar t); QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, bool t); QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, char t); @@ -773,7 +774,7 @@ public slots: QQmlListReference* new_QQmlListReference(); QQmlListReference* new_QQmlListReference(QObject* arg__1, const char* property, QQmlEngine* arg__3 = nullptr); QQmlListReference* new_QQmlListReference(const QQmlListReference& arg__1); -void delete_QQmlListReference(QQmlListReference* obj) { delete obj; } +void delete_QQmlListReference(QQmlListReference* obj) { delete obj; } bool append(QQmlListReference* theWrappedObject, QObject* arg__1) const; QObject* at(QQmlListReference* theWrappedObject, int arg__1) const; bool canAppend(QQmlListReference* theWrappedObject) const; @@ -798,13 +799,13 @@ void delete_QQmlListReference(QQmlListReference* obj) { delete obj; } class PythonQtShell_QQmlNetworkAccessManagerFactory : public QQmlNetworkAccessManagerFactory { public: - PythonQtShell_QQmlNetworkAccessManagerFactory():QQmlNetworkAccessManagerFactory(),_wrapper(NULL) {}; + PythonQtShell_QQmlNetworkAccessManagerFactory():QQmlNetworkAccessManagerFactory(),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlNetworkAccessManagerFactory(); + ~PythonQtShell_QQmlNetworkAccessManagerFactory() override; -virtual QNetworkAccessManager* create(QObject* parent); +QNetworkAccessManager* create(QObject* parent) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlNetworkAccessManagerFactory : public QQmlNetworkAccessManagerFactory @@ -817,7 +818,7 @@ class PythonQtWrapper_QQmlNetworkAccessManagerFactory : public QObject public: public slots: QQmlNetworkAccessManagerFactory* new_QQmlNetworkAccessManagerFactory(); -void delete_QQmlNetworkAccessManagerFactory(QQmlNetworkAccessManagerFactory* obj) { delete obj; } +void delete_QQmlNetworkAccessManagerFactory(QQmlNetworkAccessManagerFactory* obj) { delete obj; } QNetworkAccessManager* create(QQmlNetworkAccessManagerFactory* theWrappedObject, QObject* parent); QNetworkAccessManager* py_q_create(QQmlNetworkAccessManagerFactory* theWrappedObject, QObject* parent){ return (((PythonQtPublicPromoter_QQmlNetworkAccessManagerFactory*)theWrappedObject)->py_q_create(parent));} }; @@ -829,14 +830,14 @@ void delete_QQmlNetworkAccessManagerFactory(QQmlNetworkAccessManagerFactory* obj class PythonQtShell_QQmlParserStatus : public QQmlParserStatus { public: - PythonQtShell_QQmlParserStatus():QQmlParserStatus(),_wrapper(NULL) {}; + PythonQtShell_QQmlParserStatus():QQmlParserStatus(),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlParserStatus(); + ~PythonQtShell_QQmlParserStatus() override; -virtual void classBegin(); -virtual void componentComplete(); +void classBegin() override; +void componentComplete() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlParserStatus : public QQmlParserStatus @@ -850,7 +851,7 @@ class PythonQtWrapper_QQmlParserStatus : public QObject public: public slots: QQmlParserStatus* new_QQmlParserStatus(); -void delete_QQmlParserStatus(QQmlParserStatus* obj) { delete obj; } +void delete_QQmlParserStatus(QQmlParserStatus* obj) { delete obj; } void classBegin(QQmlParserStatus* theWrappedObject); void py_q_classBegin(QQmlParserStatus* theWrappedObject){ (((PythonQtPublicPromoter_QQmlParserStatus*)theWrappedObject)->py_q_classBegin());} void componentComplete(QQmlParserStatus* theWrappedObject); @@ -878,7 +879,7 @@ QQmlProperty* new_QQmlProperty(QObject* arg__1, const QString& arg__2); QQmlProperty* new_QQmlProperty(QObject* arg__1, const QString& arg__2, QQmlContext* arg__3); QQmlProperty* new_QQmlProperty(QObject* arg__1, const QString& arg__2, QQmlEngine* arg__3); QQmlProperty* new_QQmlProperty(const QQmlProperty& arg__1); -void delete_QQmlProperty(QQmlProperty* obj) { delete obj; } +void delete_QQmlProperty(QQmlProperty* obj) { delete obj; } bool connectNotifySignal(QQmlProperty* theWrappedObject, QObject* dest, const char* slot) const; bool connectNotifySignal(QQmlProperty* theWrappedObject, QObject* dest, int method) const; bool hasNotifySignal(QQmlProperty* theWrappedObject) const; @@ -919,20 +920,20 @@ void delete_QQmlProperty(QQmlProperty* obj) { delete obj; } class PythonQtShell_QQmlPropertyMap : public QQmlPropertyMap { public: - PythonQtShell_QQmlPropertyMap(QObject* parent = nullptr):QQmlPropertyMap(parent),_wrapper(NULL) {}; + PythonQtShell_QQmlPropertyMap(QObject* parent = nullptr):QQmlPropertyMap(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlPropertyMap(); + ~PythonQtShell_QQmlPropertyMap() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual QVariant updateValue(const QString& key, const QVariant& input); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +QVariant updateValue(const QString& key, const QVariant& input) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlPropertyMap : public QQmlPropertyMap @@ -946,7 +947,7 @@ class PythonQtWrapper_QQmlPropertyMap : public QObject public: public slots: QQmlPropertyMap* new_QQmlPropertyMap(QObject* parent = nullptr); -void delete_QQmlPropertyMap(QQmlPropertyMap* obj) { delete obj; } +void delete_QQmlPropertyMap(QQmlPropertyMap* obj) { delete obj; } void clear(QQmlPropertyMap* theWrappedObject, const QString& key); bool contains(QQmlPropertyMap* theWrappedObject, const QString& key) const; int count(QQmlPropertyMap* theWrappedObject) const; @@ -968,13 +969,13 @@ void delete_QQmlPropertyMap(QQmlPropertyMap* obj) { delete obj; } class PythonQtShell_QQmlPropertyValueSource : public QQmlPropertyValueSource { public: - PythonQtShell_QQmlPropertyValueSource():QQmlPropertyValueSource(),_wrapper(NULL) {}; + PythonQtShell_QQmlPropertyValueSource():QQmlPropertyValueSource(),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlPropertyValueSource(); + ~PythonQtShell_QQmlPropertyValueSource() override; -virtual void setTarget(const QQmlProperty& arg__1); +void setTarget(const QQmlProperty& arg__1) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlPropertyValueSource : public QQmlPropertyValueSource @@ -987,7 +988,7 @@ class PythonQtWrapper_QQmlPropertyValueSource : public QObject public: public slots: QQmlPropertyValueSource* new_QQmlPropertyValueSource(); -void delete_QQmlPropertyValueSource(QQmlPropertyValueSource* obj) { delete obj; } +void delete_QQmlPropertyValueSource(QQmlPropertyValueSource* obj) { delete obj; } void setTarget(QQmlPropertyValueSource* theWrappedObject, const QQmlProperty& arg__1); void py_q_setTarget(QQmlPropertyValueSource* theWrappedObject, const QQmlProperty& arg__1){ (((PythonQtPublicPromoter_QQmlPropertyValueSource*)theWrappedObject)->py_q_setTarget(arg__1));} }; @@ -1002,7 +1003,7 @@ class PythonQtWrapper_QQmlScriptString : public QObject public slots: QQmlScriptString* new_QQmlScriptString(); QQmlScriptString* new_QQmlScriptString(const QQmlScriptString& arg__1); -void delete_QQmlScriptString(QQmlScriptString* obj) { delete obj; } +void delete_QQmlScriptString(QQmlScriptString* obj) { delete obj; } bool booleanLiteral(QQmlScriptString* theWrappedObject, bool* ok) const; bool isEmpty(QQmlScriptString* theWrappedObject) const; bool isNullLiteral(QQmlScriptString* theWrappedObject) const; @@ -1022,13 +1023,13 @@ void delete_QQmlScriptString(QQmlScriptString* obj) { delete obj; } class PythonQtShell_QQmlTypesExtensionInterface : public QQmlTypesExtensionInterface { public: - PythonQtShell_QQmlTypesExtensionInterface():QQmlTypesExtensionInterface(),_wrapper(NULL) {}; + PythonQtShell_QQmlTypesExtensionInterface():QQmlTypesExtensionInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QQmlTypesExtensionInterface(); + ~PythonQtShell_QQmlTypesExtensionInterface() override; -virtual void registerTypes(const char* uri); +void registerTypes(const char* uri) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlTypesExtensionInterface : public QQmlTypesExtensionInterface @@ -1041,7 +1042,7 @@ class PythonQtWrapper_QQmlTypesExtensionInterface : public QObject public: public slots: QQmlTypesExtensionInterface* new_QQmlTypesExtensionInterface(); -void delete_QQmlTypesExtensionInterface(QQmlTypesExtensionInterface* obj) { delete obj; } +void delete_QQmlTypesExtensionInterface(QQmlTypesExtensionInterface* obj) { delete obj; } void registerTypes(QQmlTypesExtensionInterface* theWrappedObject, const char* uri); void py_q_registerTypes(QQmlTypesExtensionInterface* theWrappedObject, const char* uri){ (((PythonQtPublicPromoter_QQmlTypesExtensionInterface*)theWrappedObject)->py_q_registerTypes(uri));} }; diff --git a/generated_cpp_511/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp b/generated_cpp_511/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp index 28717b5e8..f568cf960 100644 --- a/generated_cpp_511/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp +++ b/generated_cpp_511/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp @@ -6,29 +6,29 @@ void PythonQt_init_QtQml(PyObject* module) { PythonQt::priv()->registerClass(&QJSEngine::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QJSValue", "", "QtQml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QJSValue", "", "QtQml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QQmlAbstractUrlInterceptor", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QQmlApplicationEngine::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QQmlComponent::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QQmlContext::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QQmlDebuggingEnabler", "", "QtQml", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QQmlDebuggingEnabler", "", "QtQml", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QQmlEngine::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QQmlError", "", "QtQml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QQmlError", "", "QtQml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QQmlExpression::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QQmlExtensionInterface", "QQmlTypesExtensionInterface", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QQmlExtensionPlugin::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QQmlFile", "", "QtQml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QQmlFile", "", "QtQml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QQmlFileSelector::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QQmlIncubationController", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QQmlIncubator", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QQmlInfo", "", "QtQml", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QQmlListReference", "", "QtQml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QQmlInfo", "", "QtQml", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QQmlListReference", "", "QtQml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QQmlNetworkAccessManagerFactory", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QQmlParserStatus", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QQmlProperty", "", "QtQml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QQmlProperty", "", "QtQml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QQmlPropertyMap::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QQmlPropertyValueSource", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QQmlScriptString", "", "QtQml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QQmlScriptString", "", "QtQml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QQmlTypesExtensionInterface", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); 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..02babf0e3 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 @@ -65,6 +65,7 @@ #include #include #include +#include #include #include #include @@ -86,20 +87,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -119,20 +120,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QQuickItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("childMouseEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -152,9 +153,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -174,20 +175,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("clipRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -207,9 +208,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -229,20 +230,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -262,20 +263,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QQuickFramebufferObject::Renderer*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QQuickFramebufferObject::Renderer* returnValue; - void* args[1] = {NULL}; + QQuickFramebufferObject::Renderer* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createRenderer", methodInfo, result); } else { returnValue = *((QQuickFramebufferObject::Renderer**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -283,7 +284,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QQuickFramebufferObject::dragEnterEvent(QDragEnterEvent* arg__1) { @@ -295,9 +296,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -317,9 +318,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -339,9 +340,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -361,9 +362,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -383,20 +384,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -416,9 +417,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -438,9 +439,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -460,9 +461,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF&" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newGeometry0, (void*)&oldGeometry1}; + void* args[3] = {nullptr, (void*)&newGeometry0, (void*)&oldGeometry1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -482,9 +483,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -504,9 +505,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -526,9 +527,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -548,9 +549,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -570,20 +571,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -603,20 +604,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isTextureProvider", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -636,9 +637,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -658,9 +659,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -680,9 +681,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -702,9 +703,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -724,9 +725,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -746,9 +747,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -768,9 +769,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -790,9 +791,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -812,20 +813,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSGTextureProvider*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSGTextureProvider* returnValue; - void* args[1] = {NULL}; + QSGTextureProvider* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textureProvider", methodInfo, result); } else { returnValue = *((QSGTextureProvider**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -845,9 +846,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTouchEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -867,9 +868,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -889,20 +890,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSGNode*" , "QSGNode*" , "QQuickItem::UpdatePaintNodeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSGNode* returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + QSGNode* returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("updatePaintNode", methodInfo, result); } else { returnValue = *((QSGNode**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -922,9 +923,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -944,9 +945,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -966,9 +967,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1036,20 +1037,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QOpenGLFramebufferObject*" , "const QSize&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QOpenGLFramebufferObject* returnValue; - void* args[2] = {NULL, (void*)&size0}; + QOpenGLFramebufferObject* returnValue{}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createFramebufferObject", methodInfo, result); } else { returnValue = *((QOpenGLFramebufferObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1069,9 +1070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1091,9 +1092,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QQuickFramebufferObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1165,20 +1166,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1198,20 +1199,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QQuickItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("childMouseEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1231,9 +1232,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1253,20 +1254,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("clipRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1286,9 +1287,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1308,20 +1309,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1341,9 +1342,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1363,9 +1364,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1385,9 +1386,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1407,9 +1408,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1429,20 +1430,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1462,9 +1463,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1484,9 +1485,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1506,9 +1507,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF&" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newGeometry0, (void*)&oldGeometry1}; + void* args[3] = {nullptr, (void*)&newGeometry0, (void*)&oldGeometry1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1528,9 +1529,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1550,9 +1551,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1572,9 +1573,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1594,9 +1595,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1616,20 +1617,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1649,20 +1650,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isTextureProvider", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1682,9 +1683,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1704,9 +1705,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1726,9 +1727,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1748,9 +1749,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1770,9 +1771,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1792,9 +1793,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1814,9 +1815,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1836,9 +1837,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1858,20 +1859,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSGTextureProvider*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSGTextureProvider* returnValue; - void* args[1] = {NULL}; + QSGTextureProvider* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textureProvider", methodInfo, result); } else { returnValue = *((QSGTextureProvider**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1891,9 +1892,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTouchEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1913,9 +1914,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1935,20 +1936,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSGNode*" , "QSGNode*" , "QQuickItem::UpdatePaintNodeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSGNode* returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + QSGNode* returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("updatePaintNode", methodInfo, result); } else { returnValue = *((QSGNode**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1968,9 +1969,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1990,9 +1991,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2012,9 +2013,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2793,20 +2794,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2826,20 +2827,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QQuickItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("childMouseEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2859,9 +2860,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2881,20 +2882,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("clipRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2914,9 +2915,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2936,20 +2937,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&point0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2969,9 +2970,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2991,9 +2992,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3013,9 +3014,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3035,9 +3036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3057,20 +3058,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3090,9 +3091,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3112,9 +3113,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3134,9 +3135,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF&" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newGeometry0, (void*)&oldGeometry1}; + void* args[3] = {nullptr, (void*)&newGeometry0, (void*)&oldGeometry1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3156,9 +3157,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3178,9 +3179,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3200,9 +3201,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3222,9 +3223,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3244,20 +3245,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3277,20 +3278,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isTextureProvider", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3310,9 +3311,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3332,9 +3333,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3354,9 +3355,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3376,9 +3377,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3398,9 +3399,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3420,9 +3421,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3442,9 +3443,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3464,9 +3465,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3486,9 +3487,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3508,20 +3509,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSGTextureProvider*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSGTextureProvider* returnValue; - void* args[1] = {NULL}; + QSGTextureProvider* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textureProvider", methodInfo, result); } else { returnValue = *((QSGTextureProvider**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3541,9 +3542,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTouchEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3563,9 +3564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3585,20 +3586,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSGNode*" , "QSGNode*" , "QQuickItem::UpdatePaintNodeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSGNode* returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + QSGNode* returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("updatePaintNode", methodInfo, result); } else { returnValue = *((QSGNode**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3618,9 +3619,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3640,9 +3641,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3662,9 +3663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3812,9 +3813,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3834,9 +3835,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3856,20 +3857,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3889,20 +3890,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3922,20 +3923,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QWindow*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QWindow* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QWindow* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("renderWindow", methodInfo, result); } else { returnValue = *((QWindow**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3955,9 +3956,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4045,9 +4046,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4067,9 +4068,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4089,20 +4090,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4122,20 +4123,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4155,9 +4156,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4205,9 +4206,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMatrix4x4*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&matrix0}; + void* args[2] = {nullptr, (void*)&matrix0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4227,9 +4228,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4249,9 +4250,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4271,20 +4272,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4304,20 +4305,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4337,9 +4338,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4397,9 +4398,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4419,9 +4420,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4441,20 +4442,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4474,20 +4475,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4507,9 +4508,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QExposeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4529,9 +4530,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4551,20 +4552,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue; - void* args[1] = {NULL}; + QObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); } else { returnValue = *((QObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4584,9 +4585,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4606,20 +4607,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSurfaceFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurfaceFormat returnValue; - void* args[1] = {NULL}; + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4639,9 +4640,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4661,9 +4662,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4683,9 +4684,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4705,9 +4706,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4727,9 +4728,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4749,9 +4750,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4771,9 +4772,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4793,9 +4794,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4815,20 +4816,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4848,9 +4849,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4870,9 +4871,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4892,20 +4893,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4925,20 +4926,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSurface::SurfaceType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurface::SurfaceType returnValue; - void* args[1] = {NULL}; + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); } else { returnValue = *((QSurface::SurfaceType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4958,9 +4959,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4980,9 +4981,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5002,9 +5003,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTouchEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5024,9 +5025,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5131,9 +5132,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5153,9 +5154,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5175,9 +5176,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5197,9 +5198,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5219,9 +5220,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5241,9 +5242,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5263,20 +5264,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5296,9 +5297,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5318,9 +5319,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5340,9 +5341,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5362,9 +5363,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5384,9 +5385,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5406,20 +5407,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5439,20 +5440,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5472,9 +5473,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5494,20 +5495,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5527,9 +5528,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5549,20 +5550,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5582,20 +5583,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5615,9 +5616,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5637,9 +5638,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5659,9 +5660,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5681,20 +5682,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5714,9 +5715,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5736,9 +5737,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5758,9 +5759,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5780,20 +5781,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5813,20 +5814,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5846,9 +5847,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5868,9 +5869,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5890,9 +5891,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5912,9 +5913,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5934,9 +5935,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5956,20 +5957,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5989,20 +5990,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6022,9 +6023,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6044,20 +6045,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6077,9 +6078,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6099,9 +6100,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6121,20 +6122,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6154,9 +6155,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6176,20 +6177,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6209,9 +6210,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6231,9 +6232,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6253,9 +6254,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6381,9 +6382,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6403,9 +6404,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6425,20 +6426,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6458,20 +6459,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6491,9 +6492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QExposeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6513,9 +6514,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6535,20 +6536,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue; - void* args[1] = {NULL}; + QObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); } else { returnValue = *((QObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6568,9 +6569,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6590,20 +6591,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSurfaceFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurfaceFormat returnValue; - void* args[1] = {NULL}; + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6623,9 +6624,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6645,9 +6646,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6667,9 +6668,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6689,9 +6690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6711,9 +6712,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6733,9 +6734,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6755,9 +6756,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6777,9 +6778,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6799,20 +6800,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6832,9 +6833,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6854,9 +6855,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6876,20 +6877,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6909,20 +6910,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSurface::SurfaceType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurface::SurfaceType returnValue; - void* args[1] = {NULL}; + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); } else { returnValue = *((QSurface::SurfaceType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6942,9 +6943,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6964,9 +6965,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6986,9 +6987,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTouchEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7008,9 +7009,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7234,9 +7235,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7256,9 +7257,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7278,20 +7279,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7311,20 +7312,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7344,9 +7345,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSGNode*" , "QSGNode::DirtyState"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&node0, (void*)&state1}; + void* args[3] = {nullptr, (void*)&node0, (void*)&state1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7366,9 +7367,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "uint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fboId0}; + void* args[2] = {nullptr, (void*)&fboId0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7388,9 +7389,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7508,20 +7509,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7541,9 +7542,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7608,20 +7609,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7641,9 +7642,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7693,9 +7694,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7715,9 +7716,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7737,9 +7738,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7759,20 +7760,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7792,20 +7793,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7825,20 +7826,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasAlphaChannel", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7858,20 +7859,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasMipmaps", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7891,20 +7892,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAtlasTexture", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7924,20 +7925,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("normalizedTextureSubRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7957,20 +7958,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSGTexture*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSGTexture* returnValue; - void* args[1] = {NULL}; + QSGTexture* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removedFromAtlas", methodInfo, result); } else { returnValue = *((QSGTexture**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7990,20 +7991,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textureId", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8023,20 +8024,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textureSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8056,9 +8057,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8078,20 +8079,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("updateTexture", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8139,9 +8140,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8161,9 +8162,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8183,20 +8184,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8216,20 +8217,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8249,9 +8250,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8324,20 +8325,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSGMaterialType*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSGMaterialType* returnValue; - void* args[1] = {NULL}; + QSGMaterialType* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((QSGMaterialType**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8582,20 +8583,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8615,9 +8616,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8831,20 +8832,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8864,9 +8865,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8886,9 +8887,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&bounds0}; + void* args[2] = {nullptr, (void*)&bounds0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8908,9 +8909,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ratio0}; + void* args[2] = {nullptr, (void*)&ratio0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8930,9 +8931,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal" , "qreal" , "qreal" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8952,9 +8953,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSGTexture*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&texture0}; + void* args[2] = {nullptr, (void*)&texture0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8974,9 +8975,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9036,20 +9037,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9069,9 +9070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick0.h b/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick0.h index 9b8d1b471..f08d038ea 100644 --- a/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick0.h +++ b/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick0.h @@ -67,6 +67,7 @@ #include #include #include +#include #include #include #include @@ -79,50 +80,50 @@ class PythonQtShell_QQuickFramebufferObject : public QQuickFramebufferObject { public: - PythonQtShell_QQuickFramebufferObject(QQuickItem* parent = nullptr):QQuickFramebufferObject(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QQuickFramebufferObject(); - -virtual QRectF boundingRect() const; -virtual bool childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2); -virtual void classBegin(); -virtual QRectF clipRect() const; -virtual void componentComplete(); -virtual bool contains(const QPointF& point) const; -virtual QQuickFramebufferObject::Renderer* createRenderer() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual void geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry); -virtual void hoverEnterEvent(QHoverEvent* event); -virtual void hoverLeaveEvent(QHoverEvent* event); -virtual void hoverMoveEvent(QHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isTextureProvider() const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void mouseUngrabEvent(); -virtual void releaseResources(); -virtual QSGTextureProvider* textureProvider() const; -virtual void touchEvent(QTouchEvent* event); -virtual void touchUngrabEvent(); -virtual QSGNode* updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2); -virtual void updatePolish(); -virtual void wheelEvent(QWheelEvent* event); -virtual void windowDeactivateEvent(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QQuickFramebufferObject(QQuickItem* parent = nullptr):QQuickFramebufferObject(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickFramebufferObject() override; + +QRectF boundingRect() const override; +bool childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) override; +void classBegin() override; +QRectF clipRect() const override; +void componentComplete() override; +bool contains(const QPointF& point) const override; +QQuickFramebufferObject::Renderer* createRenderer() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +bool event(QEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +void focusOutEvent(QFocusEvent* arg__1) override; +void geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry) override; +void hoverEnterEvent(QHoverEvent* event) override; +void hoverLeaveEvent(QHoverEvent* event) override; +void hoverMoveEvent(QHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isTextureProvider() const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void mouseUngrabEvent() override; +void releaseResources() override; +QSGTextureProvider* textureProvider() const override; +void touchEvent(QTouchEvent* event) override; +void touchUngrabEvent() override; +QSGNode* updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) override; +void updatePolish() override; +void wheelEvent(QWheelEvent* event) override; +void windowDeactivateEvent() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickFramebufferObject : public QQuickFramebufferObject @@ -142,7 +143,7 @@ class PythonQtWrapper_QQuickFramebufferObject : public QObject public: public slots: QQuickFramebufferObject* new_QQuickFramebufferObject(QQuickItem* parent = nullptr); -void delete_QQuickFramebufferObject(QQuickFramebufferObject* obj) { delete obj; } +void delete_QQuickFramebufferObject(QQuickFramebufferObject* obj) { delete obj; } QQuickFramebufferObject::Renderer* createRenderer(QQuickFramebufferObject* theWrappedObject) const; QQuickFramebufferObject::Renderer* py_q_createRenderer(QQuickFramebufferObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickFramebufferObject*)theWrappedObject)->py_q_createRenderer());} void py_q_geometryChanged(QQuickFramebufferObject* theWrappedObject, const QRectF& newGeometry, const QRectF& oldGeometry){ (((PythonQtPublicPromoter_QQuickFramebufferObject*)theWrappedObject)->py_q_geometryChanged(newGeometry, oldGeometry));} @@ -163,15 +164,15 @@ void delete_QQuickFramebufferObject(QQuickFramebufferObject* obj) { delete obj; class PythonQtShell_QQuickFramebufferObject__Renderer : public QQuickFramebufferObject::Renderer { public: - PythonQtShell_QQuickFramebufferObject__Renderer():QQuickFramebufferObject::Renderer(),_wrapper(NULL) {}; + PythonQtShell_QQuickFramebufferObject__Renderer():QQuickFramebufferObject::Renderer(),_wrapper(nullptr) {}; - ~PythonQtShell_QQuickFramebufferObject__Renderer(); + ~PythonQtShell_QQuickFramebufferObject__Renderer() override; -virtual QOpenGLFramebufferObject* createFramebufferObject(const QSize& size); -virtual void render(); -virtual void synchronize(QQuickFramebufferObject* arg__1); +QOpenGLFramebufferObject* createFramebufferObject(const QSize& size) override; +void render() override; +void synchronize(QQuickFramebufferObject* arg__1) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickFramebufferObject__Renderer : public QQuickFramebufferObject::Renderer @@ -217,7 +218,7 @@ class PythonQtWrapper_QQuickImageProvider : public QObject { Q_OBJECT public: public slots: -void delete_QQuickImageProvider(QQuickImageProvider* obj) { delete obj; } +void delete_QQuickImageProvider(QQuickImageProvider* obj) { delete obj; } QImage requestImage(QQuickImageProvider* theWrappedObject, const QString& id, QSize* size, const QSize& requestedSize); QImage py_q_requestImage(QQuickImageProvider* theWrappedObject, const QString& id, QSize* size, const QSize& requestedSize){ return (((PythonQtPublicPromoter_QQuickImageProvider*)theWrappedObject)->py_q_requestImage(id, size, requestedSize));} QPixmap requestPixmap(QQuickImageProvider* theWrappedObject, const QString& id, QSize* size, const QSize& requestedSize); @@ -231,49 +232,49 @@ void delete_QQuickImageProvider(QQuickImageProvider* obj) { delete obj; } class PythonQtShell_QQuickItem : public QQuickItem { public: - PythonQtShell_QQuickItem(QQuickItem* parent = nullptr):QQuickItem(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QQuickItem(); - -virtual QRectF boundingRect() const; -virtual bool childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2); -virtual void classBegin(); -virtual QRectF clipRect() const; -virtual void componentComplete(); -virtual bool contains(const QPointF& point) const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual void geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry); -virtual void hoverEnterEvent(QHoverEvent* event); -virtual void hoverLeaveEvent(QHoverEvent* event); -virtual void hoverMoveEvent(QHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isTextureProvider() const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void mouseUngrabEvent(); -virtual void releaseResources(); -virtual QSGTextureProvider* textureProvider() const; -virtual void touchEvent(QTouchEvent* event); -virtual void touchUngrabEvent(); -virtual QSGNode* updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2); -virtual void updatePolish(); -virtual void wheelEvent(QWheelEvent* event); -virtual void windowDeactivateEvent(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QQuickItem(QQuickItem* parent = nullptr):QQuickItem(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickItem() override; + +QRectF boundingRect() const override; +bool childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) override; +void classBegin() override; +QRectF clipRect() const override; +void componentComplete() override; +bool contains(const QPointF& point) const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +bool event(QEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +void focusOutEvent(QFocusEvent* arg__1) override; +void geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry) override; +void hoverEnterEvent(QHoverEvent* event) override; +void hoverLeaveEvent(QHoverEvent* event) override; +void hoverMoveEvent(QHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isTextureProvider() const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void mouseUngrabEvent() override; +void releaseResources() override; +QSGTextureProvider* textureProvider() const override; +void touchEvent(QTouchEvent* event) override; +void touchUngrabEvent() override; +QSGNode* updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) override; +void updatePolish() override; +void wheelEvent(QWheelEvent* event) override; +void windowDeactivateEvent() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickItem : public QQuickItem @@ -359,7 +360,7 @@ enum ItemChange{ ItemChildAddedChange = QQuickItem::ItemChildAddedChange, ItemChildRemovedChange = QQuickItem::ItemChildRemovedChange, ItemSceneChange = QQuickItem::ItemSceneChange, ItemVisibleHasChanged = QQuickItem::ItemVisibleHasChanged, ItemParentHasChanged = QQuickItem::ItemParentHasChanged, ItemOpacityHasChanged = QQuickItem::ItemOpacityHasChanged, ItemActiveFocusHasChanged = QQuickItem::ItemActiveFocusHasChanged, ItemRotationHasChanged = QQuickItem::ItemRotationHasChanged, ItemAntialiasingHasChanged = QQuickItem::ItemAntialiasingHasChanged, ItemDevicePixelRatioHasChanged = QQuickItem::ItemDevicePixelRatioHasChanged, ItemEnabledHasChanged = QQuickItem::ItemEnabledHasChanged}; public slots: QQuickItem* new_QQuickItem(QQuickItem* parent = nullptr); -void delete_QQuickItem(QQuickItem* obj) { delete obj; } +void delete_QQuickItem(QQuickItem* obj) { delete obj; } bool acceptHoverEvents(QQuickItem* theWrappedObject) const; bool acceptTouchEvents(QQuickItem* theWrappedObject) const; Qt::MouseButtons acceptedMouseButtons(QQuickItem* theWrappedObject) const; @@ -553,7 +554,7 @@ class PythonQtWrapper_QQuickItemGrabResult : public QObject { Q_OBJECT public: public slots: -void delete_QQuickItemGrabResult(QQuickItemGrabResult* obj) { delete obj; } +void delete_QQuickItemGrabResult(QQuickItemGrabResult* obj) { delete obj; } bool py_q_event(QQuickItemGrabResult* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QQuickItemGrabResult*)theWrappedObject)->py_q_event(arg__1));} QImage image(QQuickItemGrabResult* theWrappedObject) const; bool saveToFile(QQuickItemGrabResult* theWrappedObject, const QString& fileName); @@ -569,7 +570,7 @@ class PythonQtWrapper_QQuickItem__UpdatePaintNodeData : public QObject { Q_OBJECT public: public slots: -void delete_QQuickItem__UpdatePaintNodeData(QQuickItem::UpdatePaintNodeData* obj) { delete obj; } +void delete_QQuickItem__UpdatePaintNodeData(QQuickItem::UpdatePaintNodeData* obj) { delete obj; } void py_set_transformNode(QQuickItem::UpdatePaintNodeData* theWrappedObject, QSGTransformNode* transformNode){ theWrappedObject->transformNode = transformNode; } QSGTransformNode* py_get_transformNode(QQuickItem::UpdatePaintNodeData* theWrappedObject){ return theWrappedObject->transformNode; } }; @@ -581,50 +582,50 @@ QSGTransformNode* py_get_transformNode(QQuickItem::UpdatePaintNodeData* theWrap class PythonQtShell_QQuickPaintedItem : public QQuickPaintedItem { public: - PythonQtShell_QQuickPaintedItem(QQuickItem* parent = nullptr):QQuickPaintedItem(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QQuickPaintedItem(); - -virtual QRectF boundingRect() const; -virtual bool childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2); -virtual void classBegin(); -virtual QRectF clipRect() const; -virtual void componentComplete(); -virtual bool contains(const QPointF& point) const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual void geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry); -virtual void hoverEnterEvent(QHoverEvent* event); -virtual void hoverLeaveEvent(QHoverEvent* event); -virtual void hoverMoveEvent(QHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isTextureProvider() const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void mouseUngrabEvent(); -virtual void paint(QPainter* painter); -virtual void releaseResources(); -virtual QSGTextureProvider* textureProvider() const; -virtual void touchEvent(QTouchEvent* event); -virtual void touchUngrabEvent(); -virtual QSGNode* updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2); -virtual void updatePolish(); -virtual void wheelEvent(QWheelEvent* event); -virtual void windowDeactivateEvent(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QQuickPaintedItem(QQuickItem* parent = nullptr):QQuickPaintedItem(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickPaintedItem() override; + +QRectF boundingRect() const override; +bool childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) override; +void classBegin() override; +QRectF clipRect() const override; +void componentComplete() override; +bool contains(const QPointF& point) const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +bool event(QEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +void focusOutEvent(QFocusEvent* arg__1) override; +void geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry) override; +void hoverEnterEvent(QHoverEvent* event) override; +void hoverLeaveEvent(QHoverEvent* event) override; +void hoverMoveEvent(QHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isTextureProvider() const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void mouseUngrabEvent() override; +void paint(QPainter* painter) override; +void releaseResources() override; +QSGTextureProvider* textureProvider() const override; +void touchEvent(QTouchEvent* event) override; +void touchUngrabEvent() override; +QSGNode* updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) override; +void updatePolish() override; +void wheelEvent(QWheelEvent* event) override; +void windowDeactivateEvent() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickPaintedItem : public QQuickPaintedItem @@ -646,7 +647,7 @@ enum PerformanceHint{ FastFBOResizing = QQuickPaintedItem::FastFBOResizing}; public slots: QQuickPaintedItem* new_QQuickPaintedItem(QQuickItem* parent = nullptr); -void delete_QQuickPaintedItem(QQuickPaintedItem* obj) { delete obj; } +void delete_QQuickPaintedItem(QQuickPaintedItem* obj) { delete obj; } bool antialiasing(QQuickPaintedItem* theWrappedObject) const; QRectF contentsBoundingRect(QQuickPaintedItem* theWrappedObject) const; qreal contentsScale(QQuickPaintedItem* theWrappedObject) const; @@ -682,20 +683,20 @@ void delete_QQuickPaintedItem(QQuickPaintedItem* obj) { delete obj; } class PythonQtShell_QQuickRenderControl : public QQuickRenderControl { public: - PythonQtShell_QQuickRenderControl(QObject* parent = nullptr):QQuickRenderControl(parent),_wrapper(NULL) {}; + PythonQtShell_QQuickRenderControl(QObject* parent = nullptr):QQuickRenderControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QQuickRenderControl(); + ~PythonQtShell_QQuickRenderControl() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QWindow* renderWindow(QPoint* offset); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QWindow* renderWindow(QPoint* offset) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickRenderControl : public QQuickRenderControl @@ -708,7 +709,7 @@ class PythonQtWrapper_QQuickRenderControl : public QObject public: public slots: QQuickRenderControl* new_QQuickRenderControl(QObject* parent = nullptr); -void delete_QQuickRenderControl(QQuickRenderControl* obj) { delete obj; } +void delete_QQuickRenderControl(QQuickRenderControl* obj) { delete obj; } QImage grab(QQuickRenderControl* theWrappedObject); void initialize(QQuickRenderControl* theWrappedObject, QOpenGLContext* gl); void invalidate(QQuickRenderControl* theWrappedObject); @@ -728,19 +729,19 @@ void delete_QQuickRenderControl(QQuickRenderControl* obj) { delete obj; } class PythonQtShell_QQuickTextDocument : public QQuickTextDocument { public: - PythonQtShell_QQuickTextDocument(QQuickItem* parent):QQuickTextDocument(parent),_wrapper(NULL) {}; + PythonQtShell_QQuickTextDocument(QQuickItem* parent):QQuickTextDocument(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QQuickTextDocument(); + ~PythonQtShell_QQuickTextDocument() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QQuickTextDocument : public QObject @@ -748,7 +749,7 @@ class PythonQtWrapper_QQuickTextDocument : public QObject public: public slots: QQuickTextDocument* new_QQuickTextDocument(QQuickItem* parent); -void delete_QQuickTextDocument(QQuickTextDocument* obj) { delete obj; } +void delete_QQuickTextDocument(QQuickTextDocument* obj) { delete obj; } QTextDocument* textDocument(QQuickTextDocument* theWrappedObject) const; }; @@ -759,20 +760,20 @@ void delete_QQuickTextDocument(QQuickTextDocument* obj) { delete obj; } class PythonQtShell_QQuickTransform : public QQuickTransform { public: - PythonQtShell_QQuickTransform(QObject* parent = nullptr):QQuickTransform(parent),_wrapper(NULL) {}; + PythonQtShell_QQuickTransform(QObject* parent = nullptr):QQuickTransform(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QQuickTransform(); + ~PythonQtShell_QQuickTransform() override; -virtual void applyTo(QMatrix4x4* matrix) const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void applyTo(QMatrix4x4* matrix) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickTransform : public QQuickTransform @@ -786,7 +787,7 @@ class PythonQtWrapper_QQuickTransform : public QObject public: public slots: QQuickTransform* new_QQuickTransform(QObject* parent = nullptr); -void delete_QQuickTransform(QQuickTransform* obj) { delete obj; } +void delete_QQuickTransform(QQuickTransform* obj) { delete obj; } void appendToItem(QQuickTransform* theWrappedObject, QQuickItem* arg__1); void applyTo(QQuickTransform* theWrappedObject, QMatrix4x4* matrix) const; void py_q_applyTo(QQuickTransform* theWrappedObject, QMatrix4x4* matrix) const{ (((PythonQtPublicPromoter_QQuickTransform*)theWrappedObject)->py_q_applyTo(matrix));} @@ -800,43 +801,43 @@ void delete_QQuickTransform(QQuickTransform* obj) { delete obj; } class PythonQtShell_QQuickView : public QQuickView { public: - PythonQtShell_QQuickView(QQmlEngine* engine, QWindow* parent):QQuickView(engine, parent),_wrapper(NULL) {}; - PythonQtShell_QQuickView(QWindow* parent = nullptr):QQuickView(parent),_wrapper(NULL) {}; - PythonQtShell_QQuickView(const QUrl& source, QQuickRenderControl* renderControl):QQuickView(source, renderControl),_wrapper(NULL) {}; - PythonQtShell_QQuickView(const QUrl& source, QWindow* parent = nullptr):QQuickView(source, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QQuickView(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void exposeEvent(QExposeEvent* arg__1); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual QObject* focusObject() const; -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual QSurfaceFormat format() const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize size() const; -virtual QSurface::SurfaceType surfaceType() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void touchEvent(QTouchEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QQuickView(QQmlEngine* engine, QWindow* parent):QQuickView(engine, parent),_wrapper(nullptr) {}; + PythonQtShell_QQuickView(QWindow* parent = nullptr):QQuickView(parent),_wrapper(nullptr) {}; + PythonQtShell_QQuickView(const QUrl& source, QQuickRenderControl* renderControl):QQuickView(source, renderControl),_wrapper(nullptr) {}; + PythonQtShell_QQuickView(const QUrl& source, QWindow* parent = nullptr):QQuickView(source, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickView() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void exposeEvent(QExposeEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +QObject* focusObject() const override; +void focusOutEvent(QFocusEvent* arg__1) override; +QSurfaceFormat format() const override; +void hideEvent(QHideEvent* arg__1) override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void resizeEvent(QResizeEvent* arg__1) override; +void showEvent(QShowEvent* arg__1) override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; +void tabletEvent(QTabletEvent* arg__1) override; +void timerEvent(QTimerEvent* arg__1) override; +void touchEvent(QTouchEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickView : public QQuickView @@ -865,7 +866,7 @@ QQuickView* new_QQuickView(QQmlEngine* engine, QWindow* parent); QQuickView* new_QQuickView(QWindow* parent = nullptr); QQuickView* new_QQuickView(const QUrl& source, QQuickRenderControl* renderControl); QQuickView* new_QQuickView(const QUrl& source, QWindow* parent = nullptr); -void delete_QQuickView(QQuickView* obj) { delete obj; } +void delete_QQuickView(QQuickView* obj) { delete obj; } QQmlEngine* engine(QQuickView* theWrappedObject) const; QList errors(QQuickView* theWrappedObject) const; QSize initialSize(QQuickView* theWrappedObject) const; @@ -892,61 +893,61 @@ void delete_QQuickView(QQuickView* obj) { delete obj; } class PythonQtShell_QQuickWidget : public QQuickWidget { public: - PythonQtShell_QQuickWidget(QQmlEngine* engine, QWidget* parent):QQuickWidget(engine, parent),_wrapper(NULL) {}; - PythonQtShell_QQuickWidget(QWidget* parent = nullptr):QQuickWidget(parent),_wrapper(NULL) {}; - PythonQtShell_QQuickWidget(const QUrl& source, QWidget* parent = nullptr):QQuickWidget(source, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QQuickWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QQuickWidget(QQmlEngine* engine, QWidget* parent):QQuickWidget(engine, parent),_wrapper(nullptr) {}; + PythonQtShell_QQuickWidget(QWidget* parent = nullptr):QQuickWidget(parent),_wrapper(nullptr) {}; + PythonQtShell_QQuickWidget(const QUrl& source, QWidget* parent = nullptr):QQuickWidget(source, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickWidget : public QQuickWidget @@ -1001,7 +1002,7 @@ public slots: QQuickWidget* new_QQuickWidget(QQmlEngine* engine, QWidget* parent); QQuickWidget* new_QQuickWidget(QWidget* parent = nullptr); QQuickWidget* new_QQuickWidget(const QUrl& source, QWidget* parent = nullptr); -void delete_QQuickWidget(QQuickWidget* obj) { delete obj; } +void delete_QQuickWidget(QQuickWidget* obj) { delete obj; } void py_q_dragEnterEvent(QQuickWidget* theWrappedObject, QDragEnterEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_dragEnterEvent(arg__1));} void py_q_dragLeaveEvent(QQuickWidget* theWrappedObject, QDragLeaveEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_dragLeaveEvent(arg__1));} void py_q_dragMoveEvent(QQuickWidget* theWrappedObject, QDragMoveEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_dragMoveEvent(arg__1));} @@ -1047,41 +1048,41 @@ void delete_QQuickWidget(QQuickWidget* obj) { delete obj; } class PythonQtShell_QQuickWindow : public QQuickWindow { public: - PythonQtShell_QQuickWindow(QQuickRenderControl* renderControl):QQuickWindow(renderControl),_wrapper(NULL) {}; - PythonQtShell_QQuickWindow(QWindow* parent = nullptr):QQuickWindow(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QQuickWindow(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void exposeEvent(QExposeEvent* arg__1); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual QObject* focusObject() const; -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual QSurfaceFormat format() const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize size() const; -virtual QSurface::SurfaceType surfaceType() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* event); -virtual void touchEvent(QTouchEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QQuickWindow(QQuickRenderControl* renderControl):QQuickWindow(renderControl),_wrapper(nullptr) {}; + PythonQtShell_QQuickWindow(QWindow* parent = nullptr):QQuickWindow(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickWindow() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void exposeEvent(QExposeEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +QObject* focusObject() const override; +void focusOutEvent(QFocusEvent* arg__1) override; +QSurfaceFormat format() const override; +void hideEvent(QHideEvent* arg__1) override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void resizeEvent(QResizeEvent* arg__1) override; +void showEvent(QShowEvent* arg__1) override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; +void tabletEvent(QTabletEvent* arg__1) override; +void timerEvent(QTimerEvent* event) override; +void touchEvent(QTouchEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickWindow : public QQuickWindow @@ -1128,7 +1129,7 @@ enum RenderStage{ public slots: QQuickWindow* new_QQuickWindow(QQuickRenderControl* renderControl); QQuickWindow* new_QQuickWindow(QWindow* parent = nullptr); -void delete_QQuickWindow(QQuickWindow* obj) { delete obj; } +void delete_QQuickWindow(QQuickWindow* obj) { delete obj; } QQuickItem* activeFocusItem(QQuickWindow* theWrappedObject) const; bool clearBeforeRendering(QQuickWindow* theWrappedObject) const; QColor color(QQuickWindow* theWrappedObject) const; @@ -1188,21 +1189,21 @@ void delete_QQuickWindow(QQuickWindow* obj) { delete obj; } class PythonQtShell_QSGAbstractRenderer : public QSGAbstractRenderer { public: - PythonQtShell_QSGAbstractRenderer(QObject* parent = nullptr):QSGAbstractRenderer(parent),_wrapper(NULL) {}; + PythonQtShell_QSGAbstractRenderer(QObject* parent = nullptr):QSGAbstractRenderer(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSGAbstractRenderer(); + ~PythonQtShell_QSGAbstractRenderer() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void nodeChanged(QSGNode* node, QSGNode::DirtyState state); -virtual void renderScene(uint fboId = 0); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void nodeChanged(QSGNode* node, QSGNode::DirtyState state) override; +void renderScene(uint fboId = 0) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGAbstractRenderer : public QSGAbstractRenderer @@ -1220,7 +1221,7 @@ enum ClearModeBit{ ClearColorBuffer = QSGAbstractRenderer::ClearColorBuffer, ClearDepthBuffer = QSGAbstractRenderer::ClearDepthBuffer, ClearStencilBuffer = QSGAbstractRenderer::ClearStencilBuffer}; public slots: QSGAbstractRenderer* new_QSGAbstractRenderer(QObject* parent = nullptr); -void delete_QSGAbstractRenderer(QSGAbstractRenderer* obj) { delete obj; } +void delete_QSGAbstractRenderer(QSGAbstractRenderer* obj) { delete obj; } QColor clearColor(QSGAbstractRenderer* theWrappedObject) const; QRect deviceRect(QSGAbstractRenderer* theWrappedObject) const; void nodeChanged(QSGAbstractRenderer* theWrappedObject, QSGNode* node, QSGNode::DirtyState state); @@ -1247,14 +1248,14 @@ void delete_QSGAbstractRenderer(QSGAbstractRenderer* obj) { delete obj; } class PythonQtShell_QSGBasicGeometryNode : public QSGBasicGeometryNode { public: - PythonQtShell_QSGBasicGeometryNode(QSGNode::NodeType type):QSGBasicGeometryNode(type),_wrapper(NULL) {}; + PythonQtShell_QSGBasicGeometryNode(QSGNode::NodeType type):QSGBasicGeometryNode(type),_wrapper(nullptr) {}; - ~PythonQtShell_QSGBasicGeometryNode(); + ~PythonQtShell_QSGBasicGeometryNode() override; -virtual bool isSubtreeBlocked() const; -virtual void preprocess(); +bool isSubtreeBlocked() const override; +void preprocess() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGBasicGeometryNode : public QObject @@ -1262,7 +1263,7 @@ class PythonQtWrapper_QSGBasicGeometryNode : public QObject public: public slots: QSGBasicGeometryNode* new_QSGBasicGeometryNode(QSGNode::NodeType type); -void delete_QSGBasicGeometryNode(QSGBasicGeometryNode* obj) { delete obj; } +void delete_QSGBasicGeometryNode(QSGBasicGeometryNode* obj) { delete obj; } const QSGClipNode* clipList(QSGBasicGeometryNode* theWrappedObject) const; QSGGeometry* geometry(QSGBasicGeometryNode* theWrappedObject); const QSGGeometry* geometry(QSGBasicGeometryNode* theWrappedObject) const; @@ -1279,14 +1280,14 @@ void delete_QSGBasicGeometryNode(QSGBasicGeometryNode* obj) { delete obj; } class PythonQtShell_QSGClipNode : public QSGClipNode { public: - PythonQtShell_QSGClipNode():QSGClipNode(),_wrapper(NULL) {}; + PythonQtShell_QSGClipNode():QSGClipNode(),_wrapper(nullptr) {}; - ~PythonQtShell_QSGClipNode(); + ~PythonQtShell_QSGClipNode() override; -virtual bool isSubtreeBlocked() const; -virtual void preprocess(); +bool isSubtreeBlocked() const override; +void preprocess() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGClipNode : public QObject @@ -1294,7 +1295,7 @@ class PythonQtWrapper_QSGClipNode : public QObject public: public slots: QSGClipNode* new_QSGClipNode(); -void delete_QSGClipNode(QSGClipNode* obj) { delete obj; } +void delete_QSGClipNode(QSGClipNode* obj) { delete obj; } QRectF clipRect(QSGClipNode* theWrappedObject) const; bool isRectangular(QSGClipNode* theWrappedObject) const; void setClipRect(QSGClipNode* theWrappedObject, const QRectF& arg__1); @@ -1308,28 +1309,28 @@ void delete_QSGClipNode(QSGClipNode* obj) { delete obj; } class PythonQtShell_QSGDynamicTexture : public QSGDynamicTexture { public: - PythonQtShell_QSGDynamicTexture():QSGDynamicTexture(),_wrapper(NULL) {}; - - ~PythonQtShell_QSGDynamicTexture(); - -virtual void bind(); -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool hasAlphaChannel() const; -virtual bool hasMipmaps() const; -virtual bool isAtlasTexture() const; -virtual QRectF normalizedTextureSubRect() const; -virtual QSGTexture* removedFromAtlas() const; -virtual int textureId() const; -virtual QSize textureSize() const; -virtual void timerEvent(QTimerEvent* event); -virtual bool updateTexture(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSGDynamicTexture():QSGDynamicTexture(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGDynamicTexture() override; + +void bind() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool hasAlphaChannel() const override; +bool hasMipmaps() const override; +bool isAtlasTexture() const override; +QRectF normalizedTextureSubRect() const override; +QSGTexture* removedFromAtlas() const override; +int textureId() const override; +QSize textureSize() const override; +void timerEvent(QTimerEvent* event) override; +bool updateTexture() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGDynamicTexture : public QSGDynamicTexture @@ -1342,7 +1343,7 @@ class PythonQtWrapper_QSGDynamicTexture : public QObject public: public slots: QSGDynamicTexture* new_QSGDynamicTexture(); -void delete_QSGDynamicTexture(QSGDynamicTexture* obj) { delete obj; } +void delete_QSGDynamicTexture(QSGDynamicTexture* obj) { delete obj; } bool updateTexture(QSGDynamicTexture* theWrappedObject); bool py_q_updateTexture(QSGDynamicTexture* theWrappedObject){ return (((PythonQtPublicPromoter_QSGDynamicTexture*)theWrappedObject)->py_q_updateTexture());} }; @@ -1354,19 +1355,19 @@ void delete_QSGDynamicTexture(QSGDynamicTexture* obj) { delete obj; } class PythonQtShell_QSGEngine : public QSGEngine { public: - PythonQtShell_QSGEngine(QObject* parent = nullptr):QSGEngine(parent),_wrapper(NULL) {}; + PythonQtShell_QSGEngine(QObject* parent = nullptr):QSGEngine(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSGEngine(); + ~PythonQtShell_QSGEngine() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGEngine : public QObject @@ -1377,7 +1378,7 @@ enum CreateTextureOption{ TextureHasAlphaChannel = QSGEngine::TextureHasAlphaChannel, TextureOwnsGLTexture = QSGEngine::TextureOwnsGLTexture, TextureCanUseAtlas = QSGEngine::TextureCanUseAtlas, TextureIsOpaque = QSGEngine::TextureIsOpaque}; public slots: QSGEngine* new_QSGEngine(QObject* parent = nullptr); -void delete_QSGEngine(QSGEngine* obj) { delete obj; } +void delete_QSGEngine(QSGEngine* obj) { delete obj; } QSGImageNode* createImageNode(QSGEngine* theWrappedObject) const; QSGNinePatchNode* createNinePatchNode(QSGEngine* theWrappedObject) const; QSGRectangleNode* createRectangleNode(QSGEngine* theWrappedObject) const; @@ -1393,13 +1394,13 @@ void delete_QSGEngine(QSGEngine* obj) { delete obj; } class PythonQtShell_QSGFlatColorMaterial : public QSGFlatColorMaterial { public: - PythonQtShell_QSGFlatColorMaterial():QSGFlatColorMaterial(),_wrapper(NULL) {}; + PythonQtShell_QSGFlatColorMaterial():QSGFlatColorMaterial(),_wrapper(nullptr) {}; ~PythonQtShell_QSGFlatColorMaterial(); -virtual QSGMaterialType* type() const; +QSGMaterialType* type() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGFlatColorMaterial : public QSGFlatColorMaterial @@ -1412,7 +1413,7 @@ class PythonQtWrapper_QSGFlatColorMaterial : public QObject public: public slots: QSGFlatColorMaterial* new_QSGFlatColorMaterial(); -void delete_QSGFlatColorMaterial(QSGFlatColorMaterial* obj) { delete obj; } +void delete_QSGFlatColorMaterial(QSGFlatColorMaterial* obj) { delete obj; } const QColor* color(QSGFlatColorMaterial* theWrappedObject) const; void setColor(QSGFlatColorMaterial* theWrappedObject, const QColor& color); QSGMaterialType* type(QSGFlatColorMaterial* theWrappedObject) const; @@ -1426,12 +1427,12 @@ void delete_QSGFlatColorMaterial(QSGFlatColorMaterial* obj) { delete obj; } class PythonQtShell_QSGGeometry : public QSGGeometry { public: - PythonQtShell_QSGGeometry(const QSGGeometry::AttributeSet& attribs, int vertexCount, int indexCount = 0, int indexType = UnsignedShortType):QSGGeometry(attribs, vertexCount, indexCount, indexType),_wrapper(NULL) {}; + PythonQtShell_QSGGeometry(const QSGGeometry::AttributeSet& attribs, int vertexCount, int indexCount = 0, int indexType = UnsignedShortType):QSGGeometry(attribs, vertexCount, indexCount, indexType),_wrapper(nullptr) {}; - ~PythonQtShell_QSGGeometry(); + ~PythonQtShell_QSGGeometry() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGGeometry : public QObject @@ -1448,7 +1449,7 @@ enum Type{ ByteType = QSGGeometry::ByteType, UnsignedByteType = QSGGeometry::UnsignedByteType, ShortType = QSGGeometry::ShortType, UnsignedShortType = QSGGeometry::UnsignedShortType, IntType = QSGGeometry::IntType, UnsignedIntType = QSGGeometry::UnsignedIntType, FloatType = QSGGeometry::FloatType}; public slots: QSGGeometry* new_QSGGeometry(const QSGGeometry::AttributeSet& attribs, int vertexCount, int indexCount = 0, int indexType = UnsignedShortType); -void delete_QSGGeometry(QSGGeometry* obj) { delete obj; } +void delete_QSGGeometry(QSGGeometry* obj) { delete obj; } void allocate(QSGGeometry* theWrappedObject, int vertexCount, int indexCount = 0); int attributeCount(QSGGeometry* theWrappedObject) const; const QSGGeometry::Attribute* attributes(QSGGeometry* theWrappedObject) const; @@ -1496,14 +1497,14 @@ void delete_QSGGeometry(QSGGeometry* obj) { delete obj; } class PythonQtShell_QSGGeometryNode : public QSGGeometryNode { public: - PythonQtShell_QSGGeometryNode():QSGGeometryNode(),_wrapper(NULL) {}; + PythonQtShell_QSGGeometryNode():QSGGeometryNode(),_wrapper(nullptr) {}; - ~PythonQtShell_QSGGeometryNode(); + ~PythonQtShell_QSGGeometryNode() override; -virtual bool isSubtreeBlocked() const; -virtual void preprocess(); +bool isSubtreeBlocked() const override; +void preprocess() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGGeometryNode : public QObject @@ -1511,7 +1512,7 @@ class PythonQtWrapper_QSGGeometryNode : public QObject public: public slots: QSGGeometryNode* new_QSGGeometryNode(); -void delete_QSGGeometryNode(QSGGeometryNode* obj) { delete obj; } +void delete_QSGGeometryNode(QSGGeometryNode* obj) { delete obj; } qreal inheritedOpacity(QSGGeometryNode* theWrappedObject) const; int renderOrder(QSGGeometryNode* theWrappedObject) const; void setInheritedOpacity(QSGGeometryNode* theWrappedObject, qreal opacity); @@ -1526,12 +1527,12 @@ void delete_QSGGeometryNode(QSGGeometryNode* obj) { delete obj; } class PythonQtShell_QSGGeometry__Attribute : public QSGGeometry::Attribute { public: - PythonQtShell_QSGGeometry__Attribute():QSGGeometry::Attribute(),_wrapper(NULL) {}; + PythonQtShell_QSGGeometry__Attribute():QSGGeometry::Attribute(),_wrapper(nullptr) {}; ~PythonQtShell_QSGGeometry__Attribute(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGGeometry__Attribute : public QObject @@ -1539,7 +1540,7 @@ class PythonQtWrapper_QSGGeometry__Attribute : public QObject public: public slots: QSGGeometry::Attribute* new_QSGGeometry__Attribute(); -void delete_QSGGeometry__Attribute(QSGGeometry::Attribute* obj) { delete obj; } +void delete_QSGGeometry__Attribute(QSGGeometry::Attribute* obj) { delete obj; } QSGGeometry::Attribute static_QSGGeometry__Attribute_create(int pos, int tupleSize, int primitiveType, bool isPosition = false); QSGGeometry::Attribute static_QSGGeometry__Attribute_createWithAttributeType(int pos, int tupleSize, int primitiveType, QSGGeometry::AttributeType attributeType); void py_set_attributeType(QSGGeometry::Attribute* theWrappedObject, QSGGeometry::AttributeType attributeType){ theWrappedObject->attributeType = attributeType; } @@ -1563,12 +1564,12 @@ int py_get_type(QSGGeometry::Attribute* theWrappedObject){ return theWrappedObj class PythonQtShell_QSGGeometry__AttributeSet : public QSGGeometry::AttributeSet { public: - PythonQtShell_QSGGeometry__AttributeSet():QSGGeometry::AttributeSet(),_wrapper(NULL) {}; + PythonQtShell_QSGGeometry__AttributeSet():QSGGeometry::AttributeSet(),_wrapper(nullptr) {}; ~PythonQtShell_QSGGeometry__AttributeSet(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGGeometry__AttributeSet : public QObject @@ -1576,7 +1577,7 @@ class PythonQtWrapper_QSGGeometry__AttributeSet : public QObject public: public slots: QSGGeometry::AttributeSet* new_QSGGeometry__AttributeSet(); -void delete_QSGGeometry__AttributeSet(QSGGeometry::AttributeSet* obj) { delete obj; } +void delete_QSGGeometry__AttributeSet(QSGGeometry::AttributeSet* obj) { delete obj; } const QSGGeometry::Attribute* py_get_attributes(QSGGeometry::AttributeSet* theWrappedObject){ return theWrappedObject->attributes; } void py_set_count(QSGGeometry::AttributeSet* theWrappedObject, int count){ theWrappedObject->count = count; } int py_get_count(QSGGeometry::AttributeSet* theWrappedObject){ return theWrappedObject->count; } @@ -1591,12 +1592,12 @@ int py_get_stride(QSGGeometry::AttributeSet* theWrappedObject){ return theWrapp class PythonQtShell_QSGGeometry__ColoredPoint2D : public QSGGeometry::ColoredPoint2D { public: - PythonQtShell_QSGGeometry__ColoredPoint2D():QSGGeometry::ColoredPoint2D(),_wrapper(NULL) {}; + PythonQtShell_QSGGeometry__ColoredPoint2D():QSGGeometry::ColoredPoint2D(),_wrapper(nullptr) {}; ~PythonQtShell_QSGGeometry__ColoredPoint2D(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGGeometry__ColoredPoint2D : public QObject @@ -1604,7 +1605,7 @@ class PythonQtWrapper_QSGGeometry__ColoredPoint2D : public QObject public: public slots: QSGGeometry::ColoredPoint2D* new_QSGGeometry__ColoredPoint2D(); -void delete_QSGGeometry__ColoredPoint2D(QSGGeometry::ColoredPoint2D* obj) { delete obj; } +void delete_QSGGeometry__ColoredPoint2D(QSGGeometry::ColoredPoint2D* obj) { delete obj; } void set(QSGGeometry::ColoredPoint2D* theWrappedObject, float nx, float ny, uchar nr, uchar ng, uchar nb, uchar na); void py_set_a(QSGGeometry::ColoredPoint2D* theWrappedObject, unsigned char a){ theWrappedObject->a = a; } unsigned char py_get_a(QSGGeometry::ColoredPoint2D* theWrappedObject){ return theWrappedObject->a; } @@ -1627,12 +1628,12 @@ float py_get_y(QSGGeometry::ColoredPoint2D* theWrappedObject){ return theWrappe class PythonQtShell_QSGGeometry__Point2D : public QSGGeometry::Point2D { public: - PythonQtShell_QSGGeometry__Point2D():QSGGeometry::Point2D(),_wrapper(NULL) {}; + PythonQtShell_QSGGeometry__Point2D():QSGGeometry::Point2D(),_wrapper(nullptr) {}; ~PythonQtShell_QSGGeometry__Point2D(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGGeometry__Point2D : public QObject @@ -1640,7 +1641,7 @@ class PythonQtWrapper_QSGGeometry__Point2D : public QObject public: public slots: QSGGeometry::Point2D* new_QSGGeometry__Point2D(); -void delete_QSGGeometry__Point2D(QSGGeometry::Point2D* obj) { delete obj; } +void delete_QSGGeometry__Point2D(QSGGeometry::Point2D* obj) { delete obj; } void set(QSGGeometry::Point2D* theWrappedObject, float nx, float ny); void py_set_x(QSGGeometry::Point2D* theWrappedObject, float x){ theWrappedObject->x = x; } float py_get_x(QSGGeometry::Point2D* theWrappedObject){ return theWrappedObject->x; } @@ -1655,12 +1656,12 @@ float py_get_y(QSGGeometry::Point2D* theWrappedObject){ return theWrappedObject class PythonQtShell_QSGGeometry__TexturedPoint2D : public QSGGeometry::TexturedPoint2D { public: - PythonQtShell_QSGGeometry__TexturedPoint2D():QSGGeometry::TexturedPoint2D(),_wrapper(NULL) {}; + PythonQtShell_QSGGeometry__TexturedPoint2D():QSGGeometry::TexturedPoint2D(),_wrapper(nullptr) {}; ~PythonQtShell_QSGGeometry__TexturedPoint2D(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGGeometry__TexturedPoint2D : public QObject @@ -1668,7 +1669,7 @@ class PythonQtWrapper_QSGGeometry__TexturedPoint2D : public QObject public: public slots: QSGGeometry::TexturedPoint2D* new_QSGGeometry__TexturedPoint2D(); -void delete_QSGGeometry__TexturedPoint2D(QSGGeometry::TexturedPoint2D* obj) { delete obj; } +void delete_QSGGeometry__TexturedPoint2D(QSGGeometry::TexturedPoint2D* obj) { delete obj; } void set(QSGGeometry::TexturedPoint2D* theWrappedObject, float nx, float ny, float ntx, float nty); void py_set_tx(QSGGeometry::TexturedPoint2D* theWrappedObject, float tx){ theWrappedObject->tx = tx; } float py_get_tx(QSGGeometry::TexturedPoint2D* theWrappedObject){ return theWrappedObject->tx; } @@ -1707,7 +1708,7 @@ Q_ENUMS(TextureCoordinatesTransformFlag ) enum TextureCoordinatesTransformFlag{ NoTransform = QSGImageNode::NoTransform, MirrorHorizontally = QSGImageNode::MirrorHorizontally, MirrorVertically = QSGImageNode::MirrorVertically}; public slots: -void delete_QSGImageNode(QSGImageNode* obj) { delete obj; } +void delete_QSGImageNode(QSGImageNode* obj) { delete obj; } QSGTexture::Filtering filtering(QSGImageNode* theWrappedObject) const; QSGTexture::Filtering py_q_filtering(QSGImageNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_filtering());} QSGTexture::Filtering mipmapFiltering(QSGImageNode* theWrappedObject) const; @@ -1743,12 +1744,12 @@ void delete_QSGImageNode(QSGImageNode* obj) { delete obj; } class PythonQtShell_QSGMaterialType : public QSGMaterialType { public: - PythonQtShell_QSGMaterialType():QSGMaterialType(),_wrapper(NULL) {}; + PythonQtShell_QSGMaterialType():QSGMaterialType(),_wrapper(nullptr) {}; ~PythonQtShell_QSGMaterialType(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGMaterialType : public QObject @@ -1756,7 +1757,7 @@ class PythonQtWrapper_QSGMaterialType : public QObject public: public slots: QSGMaterialType* new_QSGMaterialType(); -void delete_QSGMaterialType(QSGMaterialType* obj) { delete obj; } +void delete_QSGMaterialType(QSGMaterialType* obj) { delete obj; } }; @@ -1766,19 +1767,19 @@ void delete_QSGMaterialType(QSGMaterialType* obj) { delete obj; } class PythonQtShell_QSGNinePatchNode : public QSGNinePatchNode { public: - PythonQtShell_QSGNinePatchNode():QSGNinePatchNode(),_wrapper(NULL) {}; + PythonQtShell_QSGNinePatchNode():QSGNinePatchNode(),_wrapper(nullptr) {}; - ~PythonQtShell_QSGNinePatchNode(); + ~PythonQtShell_QSGNinePatchNode() override; -virtual bool isSubtreeBlocked() const; -virtual void preprocess(); -virtual void setBounds(const QRectF& bounds); -virtual void setDevicePixelRatio(qreal ratio); -virtual void setPadding(qreal left, qreal top, qreal right, qreal bottom); -virtual void setTexture(QSGTexture* texture); -virtual void update(); +bool isSubtreeBlocked() const override; +void preprocess() override; +void setBounds(const QRectF& bounds) override; +void setDevicePixelRatio(qreal ratio) override; +void setPadding(qreal left, qreal top, qreal right, qreal bottom) override; +void setTexture(QSGTexture* texture) override; +void update() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGNinePatchNode : public QSGNinePatchNode @@ -1795,7 +1796,7 @@ class PythonQtWrapper_QSGNinePatchNode : public QObject public: public slots: QSGNinePatchNode* new_QSGNinePatchNode(); -void delete_QSGNinePatchNode(QSGNinePatchNode* obj) { delete obj; } +void delete_QSGNinePatchNode(QSGNinePatchNode* obj) { delete obj; } void static_QSGNinePatchNode_rebuildGeometry(QSGTexture* texture, QSGGeometry* geometry, const QVector4D& padding, const QRectF& bounds, qreal dpr); void setBounds(QSGNinePatchNode* theWrappedObject, const QRectF& bounds); void py_q_setBounds(QSGNinePatchNode* theWrappedObject, const QRectF& bounds){ (((PythonQtPublicPromoter_QSGNinePatchNode*)theWrappedObject)->py_q_setBounds(bounds));} @@ -1816,15 +1817,15 @@ void delete_QSGNinePatchNode(QSGNinePatchNode* obj) { delete obj; } class PythonQtShell_QSGNode : public QSGNode { public: - PythonQtShell_QSGNode():QSGNode(),_wrapper(NULL) {}; - PythonQtShell_QSGNode(QSGNode::NodeType type):QSGNode(type),_wrapper(NULL) {}; + PythonQtShell_QSGNode():QSGNode(),_wrapper(nullptr) {}; + PythonQtShell_QSGNode(QSGNode::NodeType type):QSGNode(type),_wrapper(nullptr) {}; - ~PythonQtShell_QSGNode(); + ~PythonQtShell_QSGNode() override; -virtual bool isSubtreeBlocked() const; -virtual void preprocess(); +bool isSubtreeBlocked() const override; +void preprocess() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGNode : public QSGNode @@ -1846,7 +1847,7 @@ enum NodeType{ public slots: QSGNode* new_QSGNode(); QSGNode* new_QSGNode(QSGNode::NodeType type); -void delete_QSGNode(QSGNode* obj) { delete obj; } +void delete_QSGNode(QSGNode* obj) { delete obj; } void appendChildNode(QSGNode* theWrappedObject, QSGNode* node); QSGNode* childAtIndex(QSGNode* theWrappedObject, int i) const; int childCount(QSGNode* theWrappedObject) const; 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..f3b0999cb 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 @@ -18,6 +18,7 @@ #include #include #include +#include PythonQtShell_QSGNodeVisitor::~PythonQtShell_QSGNodeVisitor() { PythonQtPrivate* priv = PythonQt::priv(); @@ -33,9 +34,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSGClipNode*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -55,9 +56,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSGGeometryNode*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -77,9 +78,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSGOpacityNode*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -99,9 +100,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSGTransformNode*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -121,9 +122,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSGClipNode*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -143,9 +144,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSGGeometryNode*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -165,9 +166,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSGOpacityNode*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -187,9 +188,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSGTransformNode*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -209,9 +210,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSGNode*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&n0}; + void* args[2] = {nullptr, (void*)&n0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -231,9 +232,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSGNode*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&n0}; + void* args[2] = {nullptr, (void*)&n0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -313,20 +314,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -346,9 +347,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -405,20 +406,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QColor"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QColor returnValue; - void* args[1] = {NULL}; + QColor returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("color", methodInfo, result); } else { returnValue = *((QColor*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -438,20 +439,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -471,9 +472,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -493,20 +494,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -526,9 +527,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QColor&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&color0}; + void* args[2] = {nullptr, (void*)&color0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -548,9 +549,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -605,20 +606,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -638,9 +639,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -660,20 +661,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -693,9 +694,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -715,9 +716,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QSGRenderNode::RenderState*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&state0}; + void* args[2] = {nullptr, (void*)&state0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -777,20 +778,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"const QRegion*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - const QRegion* returnValue; - void* args[1] = {NULL}; + const QRegion* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("clipRegion", methodInfo, result); } else { returnValue = *((const QRegion**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -798,7 +799,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void* PythonQtShell_QSGRenderNode__RenderState::get(const char* state0) const { @@ -810,20 +811,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"void*" , "const char*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* returnValue; - void* args[2] = {NULL, (void*)&state0}; + void* returnValue{}; + void* args[2] = {nullptr, (void*)&state0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("get", methodInfo, result); } else { returnValue = *((void**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -843,20 +844,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"const QMatrix4x4*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - const QMatrix4x4* returnValue; - void* args[1] = {NULL}; + const QMatrix4x4* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("projectionMatrix", methodInfo, result); } else { returnValue = *((const QMatrix4x4**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -864,7 +865,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } bool PythonQtShell_QSGRenderNode__RenderState::scissorEnabled() const { @@ -876,20 +877,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("scissorEnabled", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -909,20 +910,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("scissorRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -942,20 +943,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stencilEnabled", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -975,20 +976,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stencilValue", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1053,20 +1054,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1086,9 +1087,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1125,9 +1126,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1147,9 +1148,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1169,9 +1170,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1191,20 +1192,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1224,20 +1225,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1257,20 +1258,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasAlphaChannel", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1290,20 +1291,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasMipmaps", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1323,20 +1324,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAtlasTexture", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1356,20 +1357,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("normalizedTextureSubRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1389,20 +1390,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSGTexture*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSGTexture* returnValue; - void* args[1] = {NULL}; + QSGTexture* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removedFromAtlas", methodInfo, result); } else { returnValue = *((QSGTexture**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1422,20 +1423,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textureId", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1455,20 +1456,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textureSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1488,9 +1489,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1633,20 +1634,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSGMaterialType*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSGMaterialType* returnValue; - void* args[1] = {NULL}; + QSGMaterialType* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((QSGMaterialType**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1681,9 +1682,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1703,9 +1704,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1725,20 +1726,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1758,20 +1759,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1791,20 +1792,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSGTexture*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSGTexture* returnValue; - void* args[1] = {NULL}; + QSGTexture* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("texture", methodInfo, result); } else { returnValue = *((QSGTexture**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1812,7 +1813,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QSGTextureProvider::timerEvent(QTimerEvent* event0) { @@ -1824,9 +1825,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1874,20 +1875,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1907,9 +1908,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick1.h b/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick1.h index 33dbb1a06..105aee1ae 100644 --- a/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick1.h +++ b/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick1.h @@ -19,28 +19,29 @@ #include #include #include +#include class PythonQtShell_QSGNodeVisitor : public QSGNodeVisitor { public: - PythonQtShell_QSGNodeVisitor():QSGNodeVisitor(),_wrapper(NULL) {}; - - ~PythonQtShell_QSGNodeVisitor(); - -virtual void enterClipNode(QSGClipNode* arg__1); -virtual void enterGeometryNode(QSGGeometryNode* arg__1); -virtual void enterOpacityNode(QSGOpacityNode* arg__1); -virtual void enterTransformNode(QSGTransformNode* arg__1); -virtual void leaveClipNode(QSGClipNode* arg__1); -virtual void leaveGeometryNode(QSGGeometryNode* arg__1); -virtual void leaveOpacityNode(QSGOpacityNode* arg__1); -virtual void leaveTransformNode(QSGTransformNode* arg__1); -virtual void visitChildren(QSGNode* n); -virtual void visitNode(QSGNode* n); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSGNodeVisitor():QSGNodeVisitor(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGNodeVisitor() override; + +void enterClipNode(QSGClipNode* arg__1) override; +void enterGeometryNode(QSGGeometryNode* arg__1) override; +void enterOpacityNode(QSGOpacityNode* arg__1) override; +void enterTransformNode(QSGTransformNode* arg__1) override; +void leaveClipNode(QSGClipNode* arg__1) override; +void leaveGeometryNode(QSGGeometryNode* arg__1) override; +void leaveOpacityNode(QSGOpacityNode* arg__1) override; +void leaveTransformNode(QSGTransformNode* arg__1) override; +void visitChildren(QSGNode* n) override; +void visitNode(QSGNode* n) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGNodeVisitor : public QSGNodeVisitor @@ -72,7 +73,7 @@ class PythonQtWrapper_QSGNodeVisitor : public QObject public: public slots: QSGNodeVisitor* new_QSGNodeVisitor(); -void delete_QSGNodeVisitor(QSGNodeVisitor* obj) { delete obj; } +void delete_QSGNodeVisitor(QSGNodeVisitor* obj) { delete obj; } void enterClipNode(QSGNodeVisitor* theWrappedObject, QSGClipNode* arg__1); void py_q_enterClipNode(QSGNodeVisitor* theWrappedObject, QSGClipNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_enterClipNode(arg__1));} void enterGeometryNode(QSGNodeVisitor* theWrappedObject, QSGGeometryNode* arg__1); @@ -102,14 +103,14 @@ void delete_QSGNodeVisitor(QSGNodeVisitor* obj) { delete obj; } class PythonQtShell_QSGOpacityNode : public QSGOpacityNode { public: - PythonQtShell_QSGOpacityNode():QSGOpacityNode(),_wrapper(NULL) {}; + PythonQtShell_QSGOpacityNode():QSGOpacityNode(),_wrapper(nullptr) {}; - ~PythonQtShell_QSGOpacityNode(); + ~PythonQtShell_QSGOpacityNode() override; -virtual bool isSubtreeBlocked() const; -virtual void preprocess(); +bool isSubtreeBlocked() const override; +void preprocess() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGOpacityNode : public QSGOpacityNode @@ -122,7 +123,7 @@ class PythonQtWrapper_QSGOpacityNode : public QObject public: public slots: QSGOpacityNode* new_QSGOpacityNode(); -void delete_QSGOpacityNode(QSGOpacityNode* obj) { delete obj; } +void delete_QSGOpacityNode(QSGOpacityNode* obj) { delete obj; } qreal combinedOpacity(QSGOpacityNode* theWrappedObject) const; bool py_q_isSubtreeBlocked(QSGOpacityNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGOpacityNode*)theWrappedObject)->py_q_isSubtreeBlocked());} qreal opacity(QSGOpacityNode* theWrappedObject) const; @@ -138,18 +139,18 @@ void delete_QSGOpacityNode(QSGOpacityNode* obj) { delete obj; } class PythonQtShell_QSGRectangleNode : public QSGRectangleNode { public: - PythonQtShell_QSGRectangleNode():QSGRectangleNode(),_wrapper(NULL) {}; + PythonQtShell_QSGRectangleNode():QSGRectangleNode(),_wrapper(nullptr) {}; - ~PythonQtShell_QSGRectangleNode(); + ~PythonQtShell_QSGRectangleNode() override; -virtual QColor color() const; -virtual bool isSubtreeBlocked() const; -virtual void preprocess(); -virtual QRectF rect() const; -virtual void setColor(const QColor& color); -virtual void setRect(const QRectF& rect); +QColor color() const override; +bool isSubtreeBlocked() const override; +void preprocess() override; +QRectF rect() const override; +void setColor(const QColor& color) override; +void setRect(const QRectF& rect) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGRectangleNode : public QSGRectangleNode @@ -165,7 +166,7 @@ class PythonQtWrapper_QSGRectangleNode : public QObject public: public slots: QSGRectangleNode* new_QSGRectangleNode(); -void delete_QSGRectangleNode(QSGRectangleNode* obj) { delete obj; } +void delete_QSGRectangleNode(QSGRectangleNode* obj) { delete obj; } QColor color(QSGRectangleNode* theWrappedObject) const; QColor py_q_color(QSGRectangleNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRectangleNode*)theWrappedObject)->py_q_color());} QRectF rect(QSGRectangleNode* theWrappedObject) const; @@ -184,17 +185,17 @@ void delete_QSGRectangleNode(QSGRectangleNode* obj) { delete obj; } class PythonQtShell_QSGRenderNode : public QSGRenderNode { public: - PythonQtShell_QSGRenderNode():QSGRenderNode(),_wrapper(NULL) {}; + PythonQtShell_QSGRenderNode():QSGRenderNode(),_wrapper(nullptr) {}; - ~PythonQtShell_QSGRenderNode(); + ~PythonQtShell_QSGRenderNode() override; -virtual bool isSubtreeBlocked() const; -virtual void preprocess(); -virtual QRectF rect() const; -virtual void releaseResources(); -virtual void render(const QSGRenderNode::RenderState* state); +bool isSubtreeBlocked() const override; +void preprocess() override; +QRectF rect() const override; +void releaseResources() override; +void render(const QSGRenderNode::RenderState* state) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGRenderNode : public QSGRenderNode @@ -214,7 +215,7 @@ enum StateFlag{ DepthState = QSGRenderNode::DepthState, StencilState = QSGRenderNode::StencilState, ScissorState = QSGRenderNode::ScissorState, ColorState = QSGRenderNode::ColorState, BlendState = QSGRenderNode::BlendState, CullState = QSGRenderNode::CullState, ViewportState = QSGRenderNode::ViewportState, RenderTargetState = QSGRenderNode::RenderTargetState}; public slots: QSGRenderNode* new_QSGRenderNode(); -void delete_QSGRenderNode(QSGRenderNode* obj) { delete obj; } +void delete_QSGRenderNode(QSGRenderNode* obj) { delete obj; } const QSGClipNode* clipList(QSGRenderNode* theWrappedObject) const; qreal inheritedOpacity(QSGRenderNode* theWrappedObject) const; const QMatrix4x4* matrix(QSGRenderNode* theWrappedObject) const; @@ -233,19 +234,19 @@ void delete_QSGRenderNode(QSGRenderNode* obj) { delete obj; } class PythonQtShell_QSGRenderNode__RenderState : public QSGRenderNode::RenderState { public: - PythonQtShell_QSGRenderNode__RenderState():QSGRenderNode::RenderState(),_wrapper(NULL) {}; + PythonQtShell_QSGRenderNode__RenderState():QSGRenderNode::RenderState(),_wrapper(nullptr) {}; - ~PythonQtShell_QSGRenderNode__RenderState(); + ~PythonQtShell_QSGRenderNode__RenderState() override; -virtual const QRegion* clipRegion() const; -virtual void* get(const char* state) const; -virtual const QMatrix4x4* projectionMatrix() const; -virtual bool scissorEnabled() const; -virtual QRect scissorRect() const; -virtual bool stencilEnabled() const; -virtual int stencilValue() const; +const QRegion* clipRegion() const override; +void* get(const char* state) const override; +const QMatrix4x4* projectionMatrix() const override; +bool scissorEnabled() const override; +QRect scissorRect() const override; +bool stencilEnabled() const override; +int stencilValue() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGRenderNode__RenderState : public QSGRenderNode::RenderState @@ -264,7 +265,7 @@ class PythonQtWrapper_QSGRenderNode__RenderState : public QObject public: public slots: QSGRenderNode::RenderState* new_QSGRenderNode__RenderState(); -void delete_QSGRenderNode__RenderState(QSGRenderNode::RenderState* obj) { delete obj; } +void delete_QSGRenderNode__RenderState(QSGRenderNode::RenderState* obj) { delete obj; } const QRegion* clipRegion(QSGRenderNode::RenderState* theWrappedObject) const; const QRegion* py_q_clipRegion(QSGRenderNode::RenderState* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRenderNode__RenderState*)theWrappedObject)->py_q_clipRegion());} void* get(QSGRenderNode::RenderState* theWrappedObject, const char* state) const; @@ -288,14 +289,14 @@ void delete_QSGRenderNode__RenderState(QSGRenderNode::RenderState* obj) { delete class PythonQtShell_QSGRootNode : public QSGRootNode { public: - PythonQtShell_QSGRootNode():QSGRootNode(),_wrapper(NULL) {}; + PythonQtShell_QSGRootNode():QSGRootNode(),_wrapper(nullptr) {}; - ~PythonQtShell_QSGRootNode(); + ~PythonQtShell_QSGRootNode() override; -virtual bool isSubtreeBlocked() const; -virtual void preprocess(); +bool isSubtreeBlocked() const override; +void preprocess() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGRootNode : public QObject @@ -303,7 +304,7 @@ class PythonQtWrapper_QSGRootNode : public QObject public: public slots: QSGRootNode* new_QSGRootNode(); -void delete_QSGRootNode(QSGRootNode* obj) { delete obj; } +void delete_QSGRootNode(QSGRootNode* obj) { delete obj; } QString py_toString(QSGRootNode*); }; @@ -314,27 +315,27 @@ void delete_QSGRootNode(QSGRootNode* obj) { delete obj; } class PythonQtShell_QSGTexture : public QSGTexture { public: - PythonQtShell_QSGTexture():QSGTexture(),_wrapper(NULL) {}; - - ~PythonQtShell_QSGTexture(); - -virtual void bind(); -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual bool hasAlphaChannel() const; -virtual bool hasMipmaps() const; -virtual bool isAtlasTexture() const; -virtual QRectF normalizedTextureSubRect() const; -virtual QSGTexture* removedFromAtlas() const; -virtual int textureId() const; -virtual QSize textureSize() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSGTexture():QSGTexture(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGTexture() override; + +void bind() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool hasAlphaChannel() const override; +bool hasMipmaps() const override; +bool isAtlasTexture() const override; +QRectF normalizedTextureSubRect() const override; +QSGTexture* removedFromAtlas() const override; +int textureId() const override; +QSize textureSize() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGTexture : public QSGTexture @@ -361,7 +362,7 @@ enum WrapMode{ Repeat = QSGTexture::Repeat, ClampToEdge = QSGTexture::ClampToEdge, MirroredRepeat = QSGTexture::MirroredRepeat}; public slots: QSGTexture* new_QSGTexture(); -void delete_QSGTexture(QSGTexture* obj) { delete obj; } +void delete_QSGTexture(QSGTexture* obj) { delete obj; } QSGTexture::AnisotropyLevel anisotropyLevel(QSGTexture* theWrappedObject) const; void bind(QSGTexture* theWrappedObject); void py_q_bind(QSGTexture* theWrappedObject){ (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_bind());} @@ -399,13 +400,13 @@ void delete_QSGTexture(QSGTexture* obj) { delete obj; } class PythonQtShell_QSGTextureMaterial : public QSGTextureMaterial { public: - PythonQtShell_QSGTextureMaterial():QSGTextureMaterial(),_wrapper(NULL) {}; + PythonQtShell_QSGTextureMaterial():QSGTextureMaterial(),_wrapper(nullptr) {}; ~PythonQtShell_QSGTextureMaterial(); -virtual QSGMaterialType* type() const; +QSGMaterialType* type() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGTextureMaterial : public QSGTextureMaterial @@ -418,7 +419,7 @@ class PythonQtWrapper_QSGTextureMaterial : public QObject public: public slots: QSGTextureMaterial* new_QSGTextureMaterial(); -void delete_QSGTextureMaterial(QSGTextureMaterial* obj) { delete obj; } +void delete_QSGTextureMaterial(QSGTextureMaterial* obj) { delete obj; } QSGMaterialType* type(QSGTextureMaterial* theWrappedObject) const; QSGMaterialType* py_q_type(QSGTextureMaterial* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTextureMaterial*)theWrappedObject)->py_q_type());} }; @@ -430,20 +431,20 @@ void delete_QSGTextureMaterial(QSGTextureMaterial* obj) { delete obj; } class PythonQtShell_QSGTextureProvider : public QSGTextureProvider { public: - PythonQtShell_QSGTextureProvider():QSGTextureProvider(),_wrapper(NULL) {}; + PythonQtShell_QSGTextureProvider():QSGTextureProvider(),_wrapper(nullptr) {}; - ~PythonQtShell_QSGTextureProvider(); + ~PythonQtShell_QSGTextureProvider() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QSGTexture* texture() const; -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QSGTexture* texture() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGTextureProvider : public QSGTextureProvider @@ -456,7 +457,7 @@ class PythonQtWrapper_QSGTextureProvider : public QObject public: public slots: QSGTextureProvider* new_QSGTextureProvider(); -void delete_QSGTextureProvider(QSGTextureProvider* obj) { delete obj; } +void delete_QSGTextureProvider(QSGTextureProvider* obj) { delete obj; } QSGTexture* texture(QSGTextureProvider* theWrappedObject) const; QSGTexture* py_q_texture(QSGTextureProvider* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTextureProvider*)theWrappedObject)->py_q_texture());} }; @@ -468,14 +469,14 @@ void delete_QSGTextureProvider(QSGTextureProvider* obj) { delete obj; } class PythonQtShell_QSGTransformNode : public QSGTransformNode { public: - PythonQtShell_QSGTransformNode():QSGTransformNode(),_wrapper(NULL) {}; + PythonQtShell_QSGTransformNode():QSGTransformNode(),_wrapper(nullptr) {}; - ~PythonQtShell_QSGTransformNode(); + ~PythonQtShell_QSGTransformNode() override; -virtual bool isSubtreeBlocked() const; -virtual void preprocess(); +bool isSubtreeBlocked() const override; +void preprocess() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGTransformNode : public QObject @@ -483,7 +484,7 @@ class PythonQtWrapper_QSGTransformNode : public QObject public: public slots: QSGTransformNode* new_QSGTransformNode(); -void delete_QSGTransformNode(QSGTransformNode* obj) { delete obj; } +void delete_QSGTransformNode(QSGTransformNode* obj) { delete obj; } const QMatrix4x4* combinedMatrix(QSGTransformNode* theWrappedObject) const; const QMatrix4x4* matrix(QSGTransformNode* theWrappedObject) const; void setCombinedMatrix(QSGTransformNode* theWrappedObject, const QMatrix4x4& matrix); diff --git a/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp b/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp index 217270ccb..35fcc1eba 100644 --- a/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp +++ b/generated_cpp_511/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp @@ -8,10 +8,10 @@ void PythonQt_init_QtQuick(PyObject* module) { PythonQt::priv()->registerClass(&QQuickFramebufferObject::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QQuickFramebufferObject::Renderer", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QQuickImageProvider", "", "QtQuick", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QQuickImageProvider", "", "QtQuick", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QQuickItem::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QQuickItemGrabResult::staticMetaObject, "QtQuick", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QQuickItem::UpdatePaintNodeData", "", "QtQuick", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QQuickItemGrabResult::staticMetaObject, "QtQuick", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QQuickItem::UpdatePaintNodeData", "", "QtQuick", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QQuickPaintedItem::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QQuickRenderControl::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QQuickTextDocument::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -32,7 +32,7 @@ PythonQt::priv()->registerCPPClass("QSGGeometry::AttributeSet", "", "QtQuick", P PythonQt::priv()->registerCPPClass("QSGGeometry::ColoredPoint2D", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QSGGeometry::Point2D", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QSGGeometry::TexturedPoint2D", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSGImageNode", "QSGGeometryNode", "QtQuick", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QSGImageNode", "QSGGeometryNode", "QtQuick", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QSGMaterialType", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QSGNinePatchNode", "QSGGeometryNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QSGNode", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); 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..b6b63f09e 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 @@ -31,6 +31,7 @@ #include #include #include +#include #include @@ -283,20 +284,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("beginTransaction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -316,20 +317,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cancelQuery", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -349,9 +350,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -371,9 +372,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -393,20 +394,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("commitTransaction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -426,20 +427,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSqlResult*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSqlResult* returnValue; - void* args[1] = {NULL}; + QSqlResult* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createResult", methodInfo, result); } else { returnValue = *((QSqlResult**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -447,7 +448,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QSqlDriver::customEvent(QEvent* event0) { @@ -459,9 +460,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -481,20 +482,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QString&" , "QSqlDriver::IdentifierType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&identifier0, (void*)&type1}; + QString returnValue{}; + void* args[3] = {nullptr, (void*)&identifier0, (void*)&type1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("escapeIdentifier", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -514,20 +515,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -547,20 +548,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -580,20 +581,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QSqlField&" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&field0, (void*)&trimStrings1}; + QString returnValue{}; + void* args[3] = {nullptr, (void*)&field0, (void*)&trimStrings1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("formatValue", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -613,20 +614,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVariant returnValue; - void* args[1] = {NULL}; + QVariant returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -646,20 +647,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QSqlDriver::DriverFeature"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&f0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&f0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasFeature", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -679,20 +680,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "QSqlDriver::IdentifierType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&identifier0, (void*)&type1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&identifier0, (void*)&type1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIdentifierEscaped", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -712,20 +713,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isOpen", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -745,20 +746,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&" , "int" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(7, argumentList); - bool returnValue = 0; - void* args[7] = {NULL, (void*)&db0, (void*)&user1, (void*)&password2, (void*)&host3, (void*)&port4, (void*)&connOpts5}; + bool returnValue{}; + void* args[7] = {nullptr, (void*)&db0, (void*)&user1, (void*)&password2, (void*)&host3, (void*)&port4, (void*)&connOpts5}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -778,20 +779,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSqlIndex" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSqlIndex returnValue; - void* args[2] = {NULL, (void*)&tableName0}; + QSqlIndex returnValue{}; + void* args[2] = {nullptr, (void*)&tableName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("primaryIndex", methodInfo, result); } else { returnValue = *((QSqlIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -811,20 +812,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSqlRecord" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSqlRecord returnValue; - void* args[2] = {NULL, (void*)&tableName0}; + QSqlRecord returnValue{}; + void* args[2] = {nullptr, (void*)&tableName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("record", methodInfo, result); } else { returnValue = *((QSqlRecord*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -844,20 +845,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rollbackTransaction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -877,9 +878,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QSqlError&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -899,9 +900,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&o0}; + void* args[2] = {nullptr, (void*)&o0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -921,9 +922,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -943,20 +944,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "QSqlDriver::StatementType" , "const QString&" , "const QSqlRecord&" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QString returnValue; - void* args[5] = {NULL, (void*)&type0, (void*)&tableName1, (void*)&rec2, (void*)&preparedStatement3}; + QString returnValue{}; + void* args[5] = {nullptr, (void*)&type0, (void*)&tableName1, (void*)&rec2, (void*)&preparedStatement3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sqlStatement", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -976,20 +977,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QString&" , "QSqlDriver::IdentifierType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&identifier0, (void*)&type1}; + QString returnValue{}; + void* args[3] = {nullptr, (void*)&identifier0, (void*)&type1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stripDelimiters", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1009,20 +1010,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&name0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("subscribeToNotification", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1042,20 +1043,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("subscribedToNotifications", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1075,20 +1076,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList" , "QSql::TableType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QStringList returnValue; - void* args[2] = {NULL, (void*)&tableType0}; + QStringList returnValue{}; + void* args[2] = {nullptr, (void*)&tableType0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("tables", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1108,9 +1109,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1130,20 +1131,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&name0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("unsubscribeFromNotification", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1326,20 +1327,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSqlDriver*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSqlDriver* returnValue; - void* args[1] = {NULL}; + QSqlDriver* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createObject", methodInfo, result); } else { returnValue = *((QSqlDriver**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1347,7 +1348,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QSqlDriverCreatorBase* PythonQtWrapper_QSqlDriverCreatorBase::new_QSqlDriverCreatorBase() { @@ -1899,20 +1900,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1932,20 +1933,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1965,20 +1966,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1998,9 +1999,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2020,9 +2021,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2042,20 +2043,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2075,9 +2076,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2097,20 +2098,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&item0, (void*)&role1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&item0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2130,20 +2131,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2163,20 +2164,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2196,20 +2197,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2229,9 +2230,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2251,20 +2252,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2284,20 +2285,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2317,20 +2318,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2350,20 +2351,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&item0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexInQuery", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2383,20 +2384,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2416,20 +2417,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2449,20 +2450,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2482,20 +2483,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + QList returnValue{}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2515,20 +2516,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2548,20 +2549,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2581,20 +2582,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2614,20 +2615,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2647,9 +2648,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2669,20 +2670,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2702,20 +2703,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2735,9 +2736,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2757,20 +2758,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2790,20 +2791,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2823,20 +2824,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2856,20 +2857,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2889,20 +2890,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2922,20 +2923,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2955,9 +2956,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2977,20 +2978,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3010,20 +3011,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3043,20 +3044,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3076,20 +3077,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3109,9 +3110,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3446,20 +3447,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3479,20 +3480,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3512,20 +3513,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3545,9 +3546,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3567,9 +3568,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3589,20 +3590,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3622,9 +3623,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3644,20 +3645,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&item0, (void*)&role1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&item0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3677,20 +3678,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&row0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deleteRowFromTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3710,20 +3711,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3743,20 +3744,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3776,20 +3777,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3809,9 +3810,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3831,20 +3832,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3864,20 +3865,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3897,20 +3898,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3930,20 +3931,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&item0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexInQuery", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3963,20 +3964,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3996,20 +3997,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QSqlRecord&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&values0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&values0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRowIntoTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4029,20 +4030,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4062,20 +4063,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4095,20 +4096,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + QList returnValue{}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4128,20 +4129,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4161,20 +4162,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4194,20 +4195,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4227,20 +4228,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4260,20 +4261,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("orderByClause", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4293,9 +4294,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4315,20 +4316,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSqlTableModel*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSqlTableModel* returnValue; - void* args[2] = {NULL, (void*)&column0}; + QSqlTableModel* returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("relationModel", methodInfo, result); } else { returnValue = *((QSqlTableModel**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4348,20 +4349,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4381,20 +4382,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4414,9 +4415,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4436,9 +4437,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4458,20 +4459,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4491,20 +4492,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4524,20 +4525,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("select", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4557,20 +4558,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&row0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectRow", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4590,20 +4591,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectStatement", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4623,20 +4624,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&item0, (void*)&value1, (void*)&role2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&item0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4656,9 +4657,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSqlTableModel::EditStrategy"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&strategy0}; + void* args[2] = {nullptr, (void*)&strategy0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4678,9 +4679,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&filter0}; + void* args[2] = {nullptr, (void*)&filter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4700,20 +4701,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4733,20 +4734,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4766,9 +4767,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "const QSqlRelation&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&relation1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&relation1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4788,9 +4789,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4810,9 +4811,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&tableName0}; + void* args[2] = {nullptr, (void*)&tableName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4832,20 +4833,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4865,9 +4866,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4887,20 +4888,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4920,20 +4921,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4953,20 +4954,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4986,20 +4987,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5019,9 +5020,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5041,20 +5042,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "const QSqlRecord&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&row0, (void*)&values1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&row0, (void*)&values1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("updateRowInTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5117,9 +5118,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "const QVariant&" , "QSql::ParamType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&placeholder0, (void*)&val1, (void*)&type2}; + void* args[4] = {nullptr, (void*)&placeholder0, (void*)&val1, (void*)&type2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5139,9 +5140,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "const QVariant&" , "QSql::ParamType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&pos0, (void*)&val1, (void*)&type2}; + void* args[4] = {nullptr, (void*)&pos0, (void*)&val1, (void*)&type2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5161,20 +5162,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&i0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&i0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5194,9 +5195,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5216,20 +5217,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5249,20 +5250,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&arrayBind0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arrayBind0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("execBatch", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5282,20 +5283,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&i0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&i0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetch", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5315,20 +5316,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetchFirst", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5348,20 +5349,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetchLast", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5381,20 +5382,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetchNext", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5414,20 +5415,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetchPrevious", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5447,20 +5448,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVariant returnValue; - void* args[1] = {NULL}; + QVariant returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5480,20 +5481,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&i0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&i0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isNull", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5513,20 +5514,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVariant returnValue; - void* args[1] = {NULL}; + QVariant returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("lastInsertId", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5546,20 +5547,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextResult", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5579,20 +5580,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("numRowsAffected", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5612,20 +5613,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&query0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("prepare", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5645,20 +5646,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSqlRecord"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSqlRecord returnValue; - void* args[1] = {NULL}; + QSqlRecord returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("record", methodInfo, result); } else { returnValue = *((QSqlRecord*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5678,20 +5679,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&sqlquery0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&sqlquery0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5711,20 +5712,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&sqlquery0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&sqlquery0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("savePrepare", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5744,9 +5745,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&a0}; + void* args[2] = {nullptr, (void*)&a0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5766,9 +5767,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&at0}; + void* args[2] = {nullptr, (void*)&at0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5788,9 +5789,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&forward0}; + void* args[2] = {nullptr, (void*)&forward0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5810,9 +5811,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QSqlError&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5832,9 +5833,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSql::NumericalPrecisionPolicy"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&policy0}; + void* args[2] = {nullptr, (void*)&policy0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5854,9 +5855,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5876,9 +5877,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&s0}; + void* args[2] = {nullptr, (void*)&s0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5898,20 +5899,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6191,20 +6192,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6224,20 +6225,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6257,20 +6258,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6290,9 +6291,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6312,9 +6313,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6334,20 +6335,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6367,9 +6368,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6389,20 +6390,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&idx0, (void*)&role1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&idx0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6422,20 +6423,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&row0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deleteRowFromTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6455,20 +6456,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6488,20 +6489,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6521,20 +6522,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6554,9 +6555,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6576,20 +6577,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6609,20 +6610,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6642,20 +6643,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6675,20 +6676,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&item0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexInQuery", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6708,20 +6709,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6741,20 +6742,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QSqlRecord&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&values0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&values0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRowIntoTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6774,20 +6775,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6807,20 +6808,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6840,20 +6841,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + QList returnValue{}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6873,20 +6874,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6906,20 +6907,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6939,20 +6940,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6972,20 +6973,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7005,20 +7006,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("orderByClause", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7038,9 +7039,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7060,20 +7061,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7093,20 +7094,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7126,9 +7127,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7148,9 +7149,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7170,20 +7171,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7203,20 +7204,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&parent0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7236,20 +7237,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("select", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7269,20 +7270,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&row0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectRow", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7302,20 +7303,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectStatement", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7335,20 +7336,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7368,9 +7369,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSqlTableModel::EditStrategy"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&strategy0}; + void* args[2] = {nullptr, (void*)&strategy0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7390,9 +7391,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&filter0}; + void* args[2] = {nullptr, (void*)&filter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7412,20 +7413,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7445,20 +7446,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7478,9 +7479,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7500,9 +7501,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&tableName0}; + void* args[2] = {nullptr, (void*)&tableName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7522,20 +7523,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7555,9 +7556,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7577,20 +7578,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7610,20 +7611,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7643,20 +7644,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7676,20 +7677,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7709,9 +7710,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7731,20 +7732,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "int" , "const QSqlRecord&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&row0, (void*)&values1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&row0, (void*)&values1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("updateRowInTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_511/com_trolltech_qt_sql/com_trolltech_qt_sql0.h b/generated_cpp_511/com_trolltech_qt_sql/com_trolltech_qt_sql0.h index 45b9608f7..471f19a92 100644 --- a/generated_cpp_511/com_trolltech_qt_sql/com_trolltech_qt_sql0.h +++ b/generated_cpp_511/com_trolltech_qt_sql/com_trolltech_qt_sql0.h @@ -31,6 +31,7 @@ #include #include #include +#include #include @@ -59,15 +60,15 @@ public slots: class PythonQtShell_QSqlDatabase : public QSqlDatabase { public: - PythonQtShell_QSqlDatabase():QSqlDatabase(),_wrapper(NULL) {}; - PythonQtShell_QSqlDatabase(QSqlDriver* driver):QSqlDatabase(driver),_wrapper(NULL) {}; - PythonQtShell_QSqlDatabase(const QSqlDatabase& other):QSqlDatabase(other),_wrapper(NULL) {}; - PythonQtShell_QSqlDatabase(const QString& type):QSqlDatabase(type),_wrapper(NULL) {}; + PythonQtShell_QSqlDatabase():QSqlDatabase(),_wrapper(nullptr) {}; + PythonQtShell_QSqlDatabase(QSqlDriver* driver):QSqlDatabase(driver),_wrapper(nullptr) {}; + PythonQtShell_QSqlDatabase(const QSqlDatabase& other):QSqlDatabase(other),_wrapper(nullptr) {}; + PythonQtShell_QSqlDatabase(const QString& type):QSqlDatabase(type),_wrapper(nullptr) {}; ~PythonQtShell_QSqlDatabase(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSqlDatabase : public QObject @@ -78,7 +79,7 @@ QSqlDatabase* new_QSqlDatabase(); QSqlDatabase* new_QSqlDatabase(QSqlDriver* driver); QSqlDatabase* new_QSqlDatabase(const QSqlDatabase& other); QSqlDatabase* new_QSqlDatabase(const QString& type); -void delete_QSqlDatabase(QSqlDatabase* obj) { delete obj; } +void delete_QSqlDatabase(QSqlDatabase* obj) { delete obj; } QSqlDatabase static_QSqlDatabase_addDatabase(QSqlDriver* driver, const QString& connectionName = QLatin1String(QSqlDatabase::defaultConnection)); QSqlDatabase static_QSqlDatabase_addDatabase(const QString& type, const QString& connectionName = QLatin1String(QSqlDatabase::defaultConnection)); QSqlDatabase static_QSqlDatabase_cloneDatabase(const QSqlDatabase& other, const QString& connectionName); @@ -131,43 +132,43 @@ void delete_QSqlDatabase(QSqlDatabase* obj) { delete obj; } class PythonQtShell_QSqlDriver : public QSqlDriver { public: - PythonQtShell_QSqlDriver(QObject* parent = nullptr):QSqlDriver(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSqlDriver(); - -virtual bool beginTransaction(); -virtual bool cancelQuery(); -virtual void childEvent(QChildEvent* event); -virtual void close(); -virtual bool commitTransaction(); -virtual QSqlResult* createResult() const; -virtual void customEvent(QEvent* event); -virtual QString escapeIdentifier(const QString& identifier, QSqlDriver::IdentifierType type) const; -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QString formatValue(const QSqlField& field, bool trimStrings = false) const; -virtual QVariant handle() const; -virtual bool hasFeature(QSqlDriver::DriverFeature f) const; -virtual bool isIdentifierEscaped(const QString& identifier, QSqlDriver::IdentifierType type) const; -virtual bool isOpen() const; -virtual bool open(const QString& db, const QString& user = QString(), const QString& password = QString(), const QString& host = QString(), int port = -1, const QString& connOpts = QString()); -virtual QSqlIndex primaryIndex(const QString& tableName) const; -virtual QSqlRecord record(const QString& tableName) const; -virtual bool rollbackTransaction(); -virtual void setLastError(const QSqlError& e); -virtual void setOpen(bool o); -virtual void setOpenError(bool e); -virtual QString sqlStatement(QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const; -virtual QString stripDelimiters(const QString& identifier, QSqlDriver::IdentifierType type) const; -virtual bool subscribeToNotification(const QString& name); -virtual QStringList subscribedToNotifications() const; -virtual QStringList tables(QSql::TableType tableType) const; -virtual void timerEvent(QTimerEvent* event); -virtual bool unsubscribeFromNotification(const QString& name); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlDriver(QObject* parent = nullptr):QSqlDriver(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlDriver() override; + +bool beginTransaction() override; +bool cancelQuery() override; +void childEvent(QChildEvent* event) override; +void close() override; +bool commitTransaction() override; +QSqlResult* createResult() const override; +void customEvent(QEvent* event) override; +QString escapeIdentifier(const QString& identifier, QSqlDriver::IdentifierType type) const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString formatValue(const QSqlField& field, bool trimStrings = false) const override; +QVariant handle() const override; +bool hasFeature(QSqlDriver::DriverFeature f) const override; +bool isIdentifierEscaped(const QString& identifier, QSqlDriver::IdentifierType type) const override; +bool isOpen() const override; +bool open(const QString& db, const QString& user = QString(), const QString& password = QString(), const QString& host = QString(), int port = -1, const QString& connOpts = QString()) override; +QSqlIndex primaryIndex(const QString& tableName) const override; +QSqlRecord record(const QString& tableName) const override; +bool rollbackTransaction() override; +void setLastError(const QSqlError& e) override; +void setOpen(bool o) override; +void setOpenError(bool e) override; +QString sqlStatement(QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const override; +QString stripDelimiters(const QString& identifier, QSqlDriver::IdentifierType type) const override; +bool subscribeToNotification(const QString& name) override; +QStringList subscribedToNotifications() const override; +QStringList tables(QSql::TableType tableType) const override; +void timerEvent(QTimerEvent* event) override; +bool unsubscribeFromNotification(const QString& name) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlDriver : public QSqlDriver @@ -217,7 +218,7 @@ enum StatementType{ WhereStatement = QSqlDriver::WhereStatement, SelectStatement = QSqlDriver::SelectStatement, UpdateStatement = QSqlDriver::UpdateStatement, InsertStatement = QSqlDriver::InsertStatement, DeleteStatement = QSqlDriver::DeleteStatement}; public slots: QSqlDriver* new_QSqlDriver(QObject* parent = nullptr); -void delete_QSqlDriver(QSqlDriver* obj) { delete obj; } +void delete_QSqlDriver(QSqlDriver* obj) { delete obj; } bool beginTransaction(QSqlDriver* theWrappedObject); bool py_q_beginTransaction(QSqlDriver* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_beginTransaction());} bool py_q_cancelQuery(QSqlDriver* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_cancelQuery());} @@ -279,13 +280,13 @@ void delete_QSqlDriver(QSqlDriver* obj) { delete obj; } class PythonQtShell_QSqlDriverCreatorBase : public QSqlDriverCreatorBase { public: - PythonQtShell_QSqlDriverCreatorBase():QSqlDriverCreatorBase(),_wrapper(NULL) {}; + PythonQtShell_QSqlDriverCreatorBase():QSqlDriverCreatorBase(),_wrapper(nullptr) {}; - ~PythonQtShell_QSqlDriverCreatorBase(); + ~PythonQtShell_QSqlDriverCreatorBase() override; -virtual QSqlDriver* createObject() const; +QSqlDriver* createObject() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlDriverCreatorBase : public QSqlDriverCreatorBase @@ -298,7 +299,7 @@ class PythonQtWrapper_QSqlDriverCreatorBase : public QObject public: public slots: QSqlDriverCreatorBase* new_QSqlDriverCreatorBase(); -void delete_QSqlDriverCreatorBase(QSqlDriverCreatorBase* obj) { delete obj; } +void delete_QSqlDriverCreatorBase(QSqlDriverCreatorBase* obj) { delete obj; } QSqlDriver* createObject(QSqlDriverCreatorBase* theWrappedObject) const; QSqlDriver* py_q_createObject(QSqlDriverCreatorBase* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlDriverCreatorBase*)theWrappedObject)->py_q_createObject());} }; @@ -317,7 +318,7 @@ public slots: QSqlError* new_QSqlError(const QSqlError& other); QSqlError* new_QSqlError(const QString& driverText = QString(), const QString& databaseText = QString(), QSqlError::ErrorType type = QSqlError::NoError, const QString& errorCode = QString()); QSqlError* new_QSqlError(const QString& driverText, const QString& databaseText, QSqlError::ErrorType type, int number); -void delete_QSqlError(QSqlError* obj) { delete obj; } +void delete_QSqlError(QSqlError* obj) { delete obj; } QString databaseText(QSqlError* theWrappedObject) const; QString driverText(QSqlError* theWrappedObject) const; bool isValid(QSqlError* theWrappedObject) const; @@ -350,7 +351,7 @@ public slots: QSqlField* new_QSqlField(const QSqlField& other); QSqlField* new_QSqlField(const QString& fieldName = QString(), QVariant::Type type = QVariant::Invalid); QSqlField* new_QSqlField(const QString& fieldName, QVariant::Type type, const QString& tableName); -void delete_QSqlField(QSqlField* obj) { delete obj; } +void delete_QSqlField(QSqlField* obj) { delete obj; } void clear(QSqlField* theWrappedObject); QVariant defaultValue(QSqlField* theWrappedObject) const; bool isAutoValue(QSqlField* theWrappedObject) const; @@ -395,7 +396,7 @@ class PythonQtWrapper_QSqlIndex : public QObject public slots: QSqlIndex* new_QSqlIndex(const QSqlIndex& other); QSqlIndex* new_QSqlIndex(const QString& cursorName = QString(), const QString& name = QString()); -void delete_QSqlIndex(QSqlIndex* obj) { delete obj; } +void delete_QSqlIndex(QSqlIndex* obj) { delete obj; } void append(QSqlIndex* theWrappedObject, const QSqlField& field); void append(QSqlIndex* theWrappedObject, const QSqlField& field, bool desc); QString cursorName(QSqlIndex* theWrappedObject) const; @@ -422,7 +423,7 @@ QSqlQuery* new_QSqlQuery(QSqlDatabase db); QSqlQuery* new_QSqlQuery(QSqlResult* r); QSqlQuery* new_QSqlQuery(const QSqlQuery& other); QSqlQuery* new_QSqlQuery(const QString& query = QString(), QSqlDatabase db = QSqlDatabase()); -void delete_QSqlQuery(QSqlQuery* obj) { delete obj; } +void delete_QSqlQuery(QSqlQuery* obj) { delete obj; } void addBindValue(QSqlQuery* theWrappedObject, const QVariant& val, QSql::ParamType type = QSql::In); int at(QSqlQuery* theWrappedObject) const; void bindValue(QSqlQuery* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type = QSql::In); @@ -472,54 +473,54 @@ void delete_QSqlQuery(QSqlQuery* obj) { delete obj; } class PythonQtShell_QSqlQueryModel : public QSqlQueryModel { public: - PythonQtShell_QSqlQueryModel(QObject* parent = nullptr):QSqlQueryModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSqlQueryModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent = QModelIndex()) const; -virtual void childEvent(QChildEvent* event); -virtual void clear(); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* event); -virtual QVariant data(const QModelIndex& item, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fetchMore(const QModelIndex& parent = QModelIndex()); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual QModelIndex indexInQuery(const QModelIndex& item) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual void queryChange(); -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlQueryModel(QObject* parent = nullptr):QSqlQueryModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlQueryModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent = QModelIndex()) const override; +void childEvent(QChildEvent* event) override; +void clear() override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& item, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent = QModelIndex()) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +QModelIndex indexInQuery(const QModelIndex& item) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +void queryChange() override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlQueryModel : public QSqlQueryModel @@ -557,7 +558,7 @@ class PythonQtWrapper_QSqlQueryModel : public QObject public: public slots: QSqlQueryModel* new_QSqlQueryModel(QObject* parent = nullptr); -void delete_QSqlQueryModel(QSqlQueryModel* obj) { delete obj; } +void delete_QSqlQueryModel(QSqlQueryModel* obj) { delete obj; } void beginInsertColumns(QSqlQueryModel* theWrappedObject, const QModelIndex& parent, int first, int last); void beginInsertRows(QSqlQueryModel* theWrappedObject, const QModelIndex& parent, int first, int last); void beginRemoveColumns(QSqlQueryModel* theWrappedObject, const QModelIndex& parent, int first, int last); @@ -603,7 +604,7 @@ class PythonQtWrapper_QSqlRecord : public QObject public slots: QSqlRecord* new_QSqlRecord(); QSqlRecord* new_QSqlRecord(const QSqlRecord& other); -void delete_QSqlRecord(QSqlRecord* obj) { delete obj; } +void delete_QSqlRecord(QSqlRecord* obj) { delete obj; } void append(QSqlRecord* theWrappedObject, const QSqlField& field); void clear(QSqlRecord* theWrappedObject); void clearValues(QSqlRecord* theWrappedObject); @@ -650,7 +651,7 @@ QSqlRelation* new_QSqlRelation(const QSqlRelation& other) { QSqlRelation* a = new QSqlRelation(); *((QSqlRelation*)a) = other; return a; } -void delete_QSqlRelation(QSqlRelation* obj) { delete obj; } +void delete_QSqlRelation(QSqlRelation* obj) { delete obj; } QString displayColumn(QSqlRelation* theWrappedObject) const; QString indexColumn(QSqlRelation* theWrappedObject) const; bool isValid(QSqlRelation* theWrappedObject) const; @@ -666,68 +667,68 @@ void delete_QSqlRelation(QSqlRelation* obj) { delete obj; } class PythonQtShell_QSqlRelationalTableModel : public QSqlRelationalTableModel { public: - PythonQtShell_QSqlRelationalTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()):QSqlRelationalTableModel(parent, db),_wrapper(NULL) {}; - - ~PythonQtShell_QSqlRelationalTableModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent = QModelIndex()) const; -virtual void childEvent(QChildEvent* event); -virtual void clear(); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* event); -virtual QVariant data(const QModelIndex& item, int role = Qt::DisplayRole) const; -virtual bool deleteRowFromTable(int row); -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fetchMore(const QModelIndex& parent = QModelIndex()); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual QModelIndex indexInQuery(const QModelIndex& item) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRowIntoTable(const QSqlRecord& values); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QString orderByClause() const; -virtual void queryChange(); -virtual QSqlTableModel* relationModel(int column) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual void revertRow(int row); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool select(); -virtual bool selectRow(int row); -virtual QString selectStatement() const; -virtual bool setData(const QModelIndex& item, const QVariant& value, int role = Qt::EditRole); -virtual void setEditStrategy(QSqlTableModel::EditStrategy strategy); -virtual void setFilter(const QString& filter); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setRelation(int column, const QSqlRelation& relation); -virtual void setSort(int column, Qt::SortOrder order); -virtual void setTable(const QString& tableName); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); -virtual bool updateRowInTable(int row, const QSqlRecord& values); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlRelationalTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()):QSqlRelationalTableModel(parent, db),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlRelationalTableModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent = QModelIndex()) const override; +void childEvent(QChildEvent* event) override; +void clear() override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& item, int role = Qt::DisplayRole) const override; +bool deleteRowFromTable(int row) override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent = QModelIndex()) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +QModelIndex indexInQuery(const QModelIndex& item) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRowIntoTable(const QSqlRecord& values) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QString orderByClause() const override; +void queryChange() override; +QSqlTableModel* relationModel(int column) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +void revertRow(int row) override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool select() override; +bool selectRow(int row) override; +QString selectStatement() const override; +bool setData(const QModelIndex& item, const QVariant& value, int role = Qt::EditRole) override; +void setEditStrategy(QSqlTableModel::EditStrategy strategy) override; +void setFilter(const QString& filter) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +void setRelation(int column, const QSqlRelation& relation) override; +void setSort(int column, Qt::SortOrder order) override; +void setTable(const QString& tableName) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; +bool updateRowInTable(int row, const QSqlRecord& values) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlRelationalTableModel : public QSqlRelationalTableModel @@ -759,7 +760,7 @@ enum JoinMode{ InnerJoin = QSqlRelationalTableModel::InnerJoin, LeftJoin = QSqlRelationalTableModel::LeftJoin}; public slots: QSqlRelationalTableModel* new_QSqlRelationalTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()); -void delete_QSqlRelationalTableModel(QSqlRelationalTableModel* obj) { delete obj; } +void delete_QSqlRelationalTableModel(QSqlRelationalTableModel* obj) { delete obj; } void py_q_clear(QSqlRelationalTableModel* theWrappedObject){ (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_clear());} QVariant py_q_data(QSqlRelationalTableModel* theWrappedObject, const QModelIndex& item, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_data(item, role));} bool py_q_insertRowIntoTable(QSqlRelationalTableModel* theWrappedObject, const QSqlRecord& values){ return (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_insertRowIntoTable(values));} @@ -786,40 +787,40 @@ void delete_QSqlRelationalTableModel(QSqlRelationalTableModel* obj) { delete obj class PythonQtShell_QSqlResult : public QSqlResult { public: - PythonQtShell_QSqlResult(const QSqlDriver* db):QSqlResult(db),_wrapper(NULL) {}; - - ~PythonQtShell_QSqlResult(); - -virtual void bindValue(const QString& placeholder, const QVariant& val, QSql::ParamType type); -virtual void bindValue(int pos, const QVariant& val, QSql::ParamType type); -virtual QVariant data(int i); -virtual void detachFromResultSet(); -virtual bool exec(); -virtual bool execBatch(bool arrayBind = false); -virtual bool fetch(int i); -virtual bool fetchFirst(); -virtual bool fetchLast(); -virtual bool fetchNext(); -virtual bool fetchPrevious(); -virtual QVariant handle() const; -virtual bool isNull(int i); -virtual QVariant lastInsertId() const; -virtual bool nextResult(); -virtual int numRowsAffected(); -virtual bool prepare(const QString& query); -virtual QSqlRecord record() const; -virtual bool reset(const QString& sqlquery); -virtual bool savePrepare(const QString& sqlquery); -virtual void setActive(bool a); -virtual void setAt(int at); -virtual void setForwardOnly(bool forward); -virtual void setLastError(const QSqlError& e); -virtual void setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy policy); -virtual void setQuery(const QString& query); -virtual void setSelect(bool s); -virtual int size(); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlResult(const QSqlDriver* db):QSqlResult(db),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlResult() override; + +void bindValue(const QString& placeholder, const QVariant& val, QSql::ParamType type) override; +void bindValue(int pos, const QVariant& val, QSql::ParamType type) override; +QVariant data(int i) override; +void detachFromResultSet() override; +bool exec() override; +bool execBatch(bool arrayBind = false) override; +bool fetch(int i) override; +bool fetchFirst() override; +bool fetchLast() override; +bool fetchNext() override; +bool fetchPrevious() override; +QVariant handle() const override; +bool isNull(int i) override; +QVariant lastInsertId() const override; +bool nextResult() override; +int numRowsAffected() override; +bool prepare(const QString& query) override; +QSqlRecord record() const override; +bool reset(const QString& sqlquery) override; +bool savePrepare(const QString& sqlquery) override; +void setActive(bool a) override; +void setAt(int at) override; +void setForwardOnly(bool forward) override; +void setLastError(const QSqlError& e) override; +void setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy policy) override; +void setQuery(const QString& query) override; +void setSelect(bool s) override; +int size() override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlResult : public QSqlResult @@ -917,7 +918,7 @@ enum VirtualHookOperation{ }; public slots: QSqlResult* new_QSqlResult(const QSqlDriver* db); -void delete_QSqlResult(QSqlResult* obj) { delete obj; } +void delete_QSqlResult(QSqlResult* obj) { delete obj; } void addBindValue(QSqlResult* theWrappedObject, const QVariant& val, QSql::ParamType type); int at(QSqlResult* theWrappedObject) const; void bindValue(QSqlResult* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type); @@ -1005,66 +1006,66 @@ void delete_QSqlResult(QSqlResult* obj) { delete obj; } class PythonQtShell_QSqlTableModel : public QSqlTableModel { public: - PythonQtShell_QSqlTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()):QSqlTableModel(parent, db),_wrapper(NULL) {}; - - ~PythonQtShell_QSqlTableModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent = QModelIndex()) const; -virtual void childEvent(QChildEvent* event); -virtual void clear(); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* event); -virtual QVariant data(const QModelIndex& idx, int role = Qt::DisplayRole) const; -virtual bool deleteRowFromTable(int row); -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void fetchMore(const QModelIndex& parent = QModelIndex()); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual QModelIndex indexInQuery(const QModelIndex& item) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRowIntoTable(const QSqlRecord& values); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QString orderByClause() const; -virtual void queryChange(); -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual void revertRow(int row); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool select(); -virtual bool selectRow(int row); -virtual QString selectStatement() const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual void setEditStrategy(QSqlTableModel::EditStrategy strategy); -virtual void setFilter(const QString& filter); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setSort(int column, Qt::SortOrder order); -virtual void setTable(const QString& tableName); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); -virtual bool updateRowInTable(int row, const QSqlRecord& values); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()):QSqlTableModel(parent, db),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlTableModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent = QModelIndex()) const override; +void childEvent(QChildEvent* event) override; +void clear() override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& idx, int role = Qt::DisplayRole) const override; +bool deleteRowFromTable(int row) override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent = QModelIndex()) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +QModelIndex indexInQuery(const QModelIndex& item) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRowIntoTable(const QSqlRecord& values) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QString orderByClause() const override; +void queryChange() override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +void revertRow(int row) override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool select() override; +bool selectRow(int row) override; +QString selectStatement() const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +void setEditStrategy(QSqlTableModel::EditStrategy strategy) override; +void setFilter(const QString& filter) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +void setSort(int column, Qt::SortOrder order) override; +void setTable(const QString& tableName) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; +bool updateRowInTable(int row, const QSqlRecord& values) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlTableModel : public QSqlTableModel @@ -1113,7 +1114,7 @@ enum EditStrategy{ OnFieldChange = QSqlTableModel::OnFieldChange, OnRowChange = QSqlTableModel::OnRowChange, OnManualSubmit = QSqlTableModel::OnManualSubmit}; public slots: QSqlTableModel* new_QSqlTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()); -void delete_QSqlTableModel(QSqlTableModel* obj) { delete obj; } +void delete_QSqlTableModel(QSqlTableModel* obj) { delete obj; } void py_q_clear(QSqlTableModel* theWrappedObject){ (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_clear());} QVariant py_q_data(QSqlTableModel* theWrappedObject, const QModelIndex& idx, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_data(idx, role));} QSqlDatabase database(QSqlTableModel* theWrappedObject) const; diff --git a/generated_cpp_511/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp b/generated_cpp_511/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp index 98adb05b2..3747b8591 100644 --- a/generated_cpp_511/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp +++ b/generated_cpp_511/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp @@ -5,17 +5,17 @@ void PythonQt_init_QtSql(PyObject* module) { -PythonQt::priv()->registerCPPClass("QSql", "", "QtSql", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QSql", "", "QtSql", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QSqlDatabase", "", "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QSqlDriver::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QSqlDriverCreatorBase", "", "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSqlError", "", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QSqlField", "", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QSqlIndex", "QSqlRecord", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QSqlQuery", "", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QSqlError", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlField", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlIndex", "QSqlRecord", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlQuery", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QSqlQueryModel::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSqlRecord", "", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QSqlRelation", "", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QSqlRecord", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlRelation", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QSqlRelationalTableModel::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QSqlResult", "", "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSqlTableModel::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); 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..5e094f91a 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 @@ -22,7 +22,11 @@ #include #include #include +#include +#include #include +#include +#include #include #include #include @@ -35,9 +39,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -46,6 +52,8 @@ #include #include #include +#include +#include #include #include #include @@ -54,30 +62,602 @@ PythonQtShell_QGraphicsSvgItem::~PythonQtShell_QGraphicsSvgItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QGraphicsSvgItem::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::advance(phase0); +} QRectF PythonQtShell_QGraphicsSvgItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::boundingRect(); +} +void PythonQtShell_QGraphicsSvgItem::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::childEvent(event0); +} +bool PythonQtShell_QGraphicsSvgItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsSvgItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsSvgItem::contains(const QPointF& point0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::contains(point0); +} +void PythonQtShell_QGraphicsSvgItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::customEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dropEvent(event0); +} +bool PythonQtShell_QGraphicsSvgItem::event(QEvent* ev0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::event(ev0); +} +bool PythonQtShell_QGraphicsSvgItem::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::eventFilter(watched0, event1); +} +QVariant PythonQtShell_QGraphicsSvgItem::extension(const QVariant& variant0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::extension(variant0); +} +void PythonQtShell_QGraphicsSvgItem::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsSvgItem::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsSvgItem::isObscuredBy(const QGraphicsItem* item0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -85,21 +665,57 @@ if (_wrapper) { } } } - return QGraphicsSvgItem::boundingRect(); + return QGraphicsSvgItem::isObscuredBy(item0); } -void PythonQtShell_QGraphicsSvgItem::childEvent(QChildEvent* event0) +QVariant PythonQtShell_QGraphicsSvgItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsSvgItem::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -107,21 +723,21 @@ if (_wrapper) { } } } - QGraphicsSvgItem::childEvent(event0); + QGraphicsSvgItem::keyPressEvent(event0); } -void PythonQtShell_QGraphicsSvgItem::customEvent(QEvent* event0) +void PythonQtShell_QGraphicsSvgItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -129,32 +745,175 @@ if (_wrapper) { } } } - QGraphicsSvgItem::customEvent(event0); + QGraphicsSvgItem::keyReleaseEvent(event0); } -bool PythonQtShell_QGraphicsSvgItem::event(QEvent* ev0) +void PythonQtShell_QGraphicsSvgItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsSvgItem::opaqueArea() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("opaqueArea"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::opaqueArea(); +} +void PythonQtShell_QGraphicsSvgItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::paint(painter0, option1, widget2); +} +bool PythonQtShell_QGraphicsSvgItem::sceneEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&ev0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -162,32 +921,32 @@ if (_wrapper) { } } } - return QGraphicsSvgItem::event(ev0); + return QGraphicsSvgItem::sceneEvent(event0); } -bool PythonQtShell_QGraphicsSvgItem::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QGraphicsSvgItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -195,21 +954,21 @@ if (_wrapper) { } } } - return QGraphicsSvgItem::eventFilter(watched0, event1); + return QGraphicsSvgItem::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsSvgItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsSvgItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -217,7 +976,73 @@ if (_wrapper) { } } } - QGraphicsSvgItem::paint(painter0, option1, widget2); + QGraphicsSvgItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsSvgItem::shape() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::shape(); +} +bool PythonQtShell_QGraphicsSvgItem::supportsExtension(QGraphicsItem::Extension extension0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::supportsExtension(extension0); } void PythonQtShell_QGraphicsSvgItem::timerEvent(QTimerEvent* event0) { @@ -229,9 +1054,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -251,20 +1076,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -274,6 +1099,28 @@ if (_wrapper) { } return QGraphicsSvgItem::type(); } +void PythonQtShell_QGraphicsSvgItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::wheelEvent(event0); +} QGraphicsSvgItem* PythonQtWrapper_QGraphicsSvgItem::new_QGraphicsSvgItem(QGraphicsItem* parentItem) { return new PythonQtShell_QGraphicsSvgItem(parentItem); } @@ -295,11 +1142,6 @@ int PythonQtShell_QGraphicsSvgItem::qt_metacall(QMetaObject::Call call, int id, int result = QGraphicsSvgItem::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QRectF PythonQtWrapper_QGraphicsSvgItem::boundingRect(QGraphicsSvgItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - QString PythonQtWrapper_QGraphicsSvgItem::elementId(QGraphicsSvgItem* theWrappedObject) const { return ( theWrappedObject->elementId()); @@ -315,11 +1157,6 @@ QSize PythonQtWrapper_QGraphicsSvgItem::maximumCacheSize(QGraphicsSvgItem* theW return ( theWrappedObject->maximumCacheSize()); } -void PythonQtWrapper_QGraphicsSvgItem::paint(QGraphicsSvgItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - QSvgRenderer* PythonQtWrapper_QGraphicsSvgItem::renderer(QGraphicsSvgItem* theWrappedObject) const { return ( theWrappedObject->renderer()); @@ -345,11 +1182,6 @@ void PythonQtWrapper_QGraphicsSvgItem::setSharedRenderer(QGraphicsSvgItem* theWr ( theWrappedObject->setSharedRenderer(renderer)); } -int PythonQtWrapper_QGraphicsSvgItem::type(QGraphicsSvgItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - PythonQtShell_QSvgGenerator::~PythonQtShell_QSvgGenerator() { @@ -366,20 +1198,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -399,9 +1231,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -421,20 +1253,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&metric0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -454,20 +1286,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -487,20 +1319,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -520,20 +1352,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -643,9 +1475,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -665,9 +1497,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -687,20 +1519,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -720,20 +1552,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -753,9 +1585,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -885,9 +1717,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -907,9 +1739,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -929,9 +1761,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -951,9 +1783,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -973,9 +1805,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -995,9 +1827,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1017,20 +1849,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1050,9 +1882,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1072,9 +1904,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1094,9 +1926,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1116,9 +1948,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1138,9 +1970,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1160,20 +1992,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1193,20 +2025,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1226,9 +2058,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1248,20 +2080,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&next0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1281,9 +2113,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1303,20 +2135,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1336,20 +2168,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1369,9 +2201,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1391,9 +2223,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1413,9 +2245,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1435,20 +2267,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1468,9 +2300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1490,9 +2322,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1512,9 +2344,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1534,20 +2366,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue = 0; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1567,20 +2399,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1600,9 +2432,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1622,9 +2454,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1644,9 +2476,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1666,9 +2498,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1688,9 +2520,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1710,20 +2542,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1743,20 +2575,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1776,9 +2608,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1798,20 +2630,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1831,9 +2663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1853,9 +2685,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1875,20 +2707,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1908,9 +2740,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1930,20 +2762,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1963,9 +2795,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1985,9 +2817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2007,9 +2839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_svg/com_trolltech_qt_svg0.h b/generated_cpp_511/com_trolltech_qt_svg/com_trolltech_qt_svg0.h index abdd460f0..8a6d61fcf 100644 --- a/generated_cpp_511/com_trolltech_qt_svg/com_trolltech_qt_svg0.h +++ b/generated_cpp_511/com_trolltech_qt_svg/com_trolltech_qt_svg0.h @@ -20,7 +20,11 @@ #include #include #include +#include +#include #include +#include +#include #include #include #include @@ -33,9 +37,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -45,6 +51,8 @@ #include #include #include +#include +#include #include #include #include @@ -54,23 +62,55 @@ class PythonQtShell_QGraphicsSvgItem : public QGraphicsSvgItem { public: - PythonQtShell_QGraphicsSvgItem(QGraphicsItem* parentItem = nullptr):QGraphicsSvgItem(parentItem),_wrapper(NULL) {}; - PythonQtShell_QGraphicsSvgItem(const QString& fileName, QGraphicsItem* parentItem = nullptr):QGraphicsSvgItem(fileName, parentItem),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsSvgItem(); - -virtual QRectF boundingRect() const; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* ev); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void timerEvent(QTimerEvent* event); -virtual int type() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsSvgItem(QGraphicsItem* parentItem = nullptr):QGraphicsSvgItem(parentItem),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsSvgItem(const QString& fileName, QGraphicsItem* parentItem = nullptr):QGraphicsSvgItem(fileName, parentItem),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsSvgItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void childEvent(QChildEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* ev) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsSvgItem : public QGraphicsSvgItem @@ -89,20 +129,17 @@ enum enum_1{ public slots: QGraphicsSvgItem* new_QGraphicsSvgItem(QGraphicsItem* parentItem = nullptr); QGraphicsSvgItem* new_QGraphicsSvgItem(const QString& fileName, QGraphicsItem* parentItem = nullptr); -void delete_QGraphicsSvgItem(QGraphicsSvgItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsSvgItem* theWrappedObject) const; +void delete_QGraphicsSvgItem(QGraphicsSvgItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsSvgItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSvgItem*)theWrappedObject)->py_q_boundingRect());} QString elementId(QGraphicsSvgItem* theWrappedObject) const; bool isCachingEnabled(QGraphicsSvgItem* theWrappedObject) const; QSize maximumCacheSize(QGraphicsSvgItem* theWrappedObject) const; - void paint(QGraphicsSvgItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsSvgItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsSvgItem*)theWrappedObject)->py_q_paint(painter, option, widget));} QSvgRenderer* renderer(QGraphicsSvgItem* theWrappedObject) const; void setCachingEnabled(QGraphicsSvgItem* theWrappedObject, bool arg__1); void setElementId(QGraphicsSvgItem* theWrappedObject, const QString& id); void setMaximumCacheSize(QGraphicsSvgItem* theWrappedObject, const QSize& size); void setSharedRenderer(QGraphicsSvgItem* theWrappedObject, QSvgRenderer* renderer); - int type(QGraphicsSvgItem* theWrappedObject) const; int py_q_type(QGraphicsSvgItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSvgItem*)theWrappedObject)->py_q_type());} }; @@ -113,18 +150,18 @@ void delete_QGraphicsSvgItem(QGraphicsSvgItem* obj) { delete obj; } class PythonQtShell_QSvgGenerator : public QSvgGenerator { public: - PythonQtShell_QSvgGenerator():QSvgGenerator(),_wrapper(NULL) {}; + PythonQtShell_QSvgGenerator():QSvgGenerator(),_wrapper(nullptr) {}; - ~PythonQtShell_QSvgGenerator(); + ~PythonQtShell_QSvgGenerator() override; -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSvgGenerator : public QSvgGenerator @@ -140,7 +177,7 @@ class PythonQtWrapper_QSvgGenerator : public QObject public: public slots: QSvgGenerator* new_QSvgGenerator(); -void delete_QSvgGenerator(QSvgGenerator* obj) { delete obj; } +void delete_QSvgGenerator(QSvgGenerator* obj) { delete obj; } QString description(QSvgGenerator* theWrappedObject) const; QString fileName(QSvgGenerator* theWrappedObject) const; int py_q_metric(QSvgGenerator* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QSvgGenerator*)theWrappedObject)->py_q_metric(metric));} @@ -168,22 +205,22 @@ void delete_QSvgGenerator(QSvgGenerator* obj) { delete obj; } class PythonQtShell_QSvgRenderer : public QSvgRenderer { public: - PythonQtShell_QSvgRenderer(QObject* parent = nullptr):QSvgRenderer(parent),_wrapper(NULL) {}; - PythonQtShell_QSvgRenderer(QXmlStreamReader* contents, QObject* parent = nullptr):QSvgRenderer(contents, parent),_wrapper(NULL) {}; - PythonQtShell_QSvgRenderer(const QByteArray& contents, QObject* parent = nullptr):QSvgRenderer(contents, parent),_wrapper(NULL) {}; - PythonQtShell_QSvgRenderer(const QString& filename, QObject* parent = nullptr):QSvgRenderer(filename, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSvgRenderer(); - -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSvgRenderer(QObject* parent = nullptr):QSvgRenderer(parent),_wrapper(nullptr) {}; + PythonQtShell_QSvgRenderer(QXmlStreamReader* contents, QObject* parent = nullptr):QSvgRenderer(contents, parent),_wrapper(nullptr) {}; + PythonQtShell_QSvgRenderer(const QByteArray& contents, QObject* parent = nullptr):QSvgRenderer(contents, parent),_wrapper(nullptr) {}; + PythonQtShell_QSvgRenderer(const QString& filename, QObject* parent = nullptr):QSvgRenderer(filename, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSvgRenderer() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSvgRenderer : public QObject @@ -194,7 +231,7 @@ QSvgRenderer* new_QSvgRenderer(QObject* parent = nullptr); QSvgRenderer* new_QSvgRenderer(QXmlStreamReader* contents, QObject* parent = nullptr); QSvgRenderer* new_QSvgRenderer(const QByteArray& contents, QObject* parent = nullptr); QSvgRenderer* new_QSvgRenderer(const QString& filename, QObject* parent = nullptr); -void delete_QSvgRenderer(QSvgRenderer* obj) { delete obj; } +void delete_QSvgRenderer(QSvgRenderer* obj) { delete obj; } bool animated(QSvgRenderer* theWrappedObject) const; int animationDuration(QSvgRenderer* theWrappedObject) const; QRectF boundsOnElement(QSvgRenderer* theWrappedObject, const QString& id) const; @@ -220,60 +257,60 @@ void delete_QSvgRenderer(QSvgRenderer* obj) { delete obj; } class PythonQtShell_QSvgWidget : public QSvgWidget { public: - PythonQtShell_QSvgWidget(QWidget* parent = nullptr):QSvgWidget(parent),_wrapper(NULL) {}; - PythonQtShell_QSvgWidget(const QString& file, QWidget* parent = nullptr):QSvgWidget(file, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSvgWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSvgWidget(QWidget* parent = nullptr):QSvgWidget(parent),_wrapper(nullptr) {}; + PythonQtShell_QSvgWidget(const QString& file, QWidget* parent = nullptr):QSvgWidget(file, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSvgWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSvgWidget : public QSvgWidget @@ -289,7 +326,7 @@ class PythonQtWrapper_QSvgWidget : public QObject public slots: QSvgWidget* new_QSvgWidget(QWidget* parent = nullptr); QSvgWidget* new_QSvgWidget(const QString& file, QWidget* parent = nullptr); -void delete_QSvgWidget(QSvgWidget* obj) { delete obj; } +void delete_QSvgWidget(QSvgWidget* obj) { delete obj; } void py_q_paintEvent(QSvgWidget* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QSvgWidget*)theWrappedObject)->py_q_paintEvent(event));} QSvgRenderer* renderer(QSvgWidget* theWrappedObject) const; QSize sizeHint(QSvgWidget* theWrappedObject) const; 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..576ab6dcc 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 @@ -14,6 +14,7 @@ #include #include #include +#include #include #include @@ -31,9 +32,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -53,20 +54,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QAction*" , "QObject*" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QAction* returnValue; - void* args[3] = {NULL, (void*)&parent0, (void*)&name1}; + QAction* returnValue{}; + void* args[3] = {nullptr, (void*)&parent0, (void*)&name1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createAction", methodInfo, result); } else { returnValue = *((QAction**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -86,20 +87,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QActionGroup*" , "QObject*" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QActionGroup* returnValue; - void* args[3] = {NULL, (void*)&parent0, (void*)&name1}; + QActionGroup* returnValue{}; + void* args[3] = {nullptr, (void*)&parent0, (void*)&name1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createActionGroup", methodInfo, result); } else { returnValue = *((QActionGroup**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -119,20 +120,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QLayout*" , "const QString&" , "QObject*" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QLayout* returnValue; - void* args[4] = {NULL, (void*)&className0, (void*)&parent1, (void*)&name2}; + QLayout* returnValue{}; + void* args[4] = {nullptr, (void*)&className0, (void*)&parent1, (void*)&name2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createLayout", methodInfo, result); } else { returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -152,20 +153,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QWidget*" , "const QString&" , "QWidget*" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QWidget* returnValue; - void* args[4] = {NULL, (void*)&className0, (void*)&parent1, (void*)&name2}; + QWidget* returnValue{}; + void* args[4] = {nullptr, (void*)&className0, (void*)&parent1, (void*)&name2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -185,9 +186,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -207,20 +208,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -240,20 +241,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -273,9 +274,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h b/generated_cpp_511/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h index 0390c9f35..3ecb17a06 100644 --- a/generated_cpp_511/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h +++ b/generated_cpp_511/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h @@ -12,6 +12,7 @@ #include #include #include +#include #include #include @@ -20,23 +21,23 @@ class PythonQtShell_QUiLoader : public QUiLoader { public: - PythonQtShell_QUiLoader(QObject* parent = nullptr):QUiLoader(parent),_wrapper(NULL) {}; + PythonQtShell_QUiLoader(QObject* parent = nullptr):QUiLoader(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QUiLoader(); + ~PythonQtShell_QUiLoader() override; -virtual void childEvent(QChildEvent* event); -virtual QAction* createAction(QObject* parent = nullptr, const QString& name = QString()); -virtual QActionGroup* createActionGroup(QObject* parent = nullptr, const QString& name = QString()); -virtual QLayout* createLayout(const QString& className, QObject* parent = nullptr, const QString& name = QString()); -virtual QWidget* createWidget(const QString& className, QWidget* parent = nullptr, const QString& name = QString()); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +QAction* createAction(QObject* parent = nullptr, const QString& name = QString()) override; +QActionGroup* createActionGroup(QObject* parent = nullptr, const QString& name = QString()) override; +QLayout* createLayout(const QString& className, QObject* parent = nullptr, const QString& name = QString()) override; +QWidget* createWidget(const QString& className, QWidget* parent = nullptr, const QString& name = QString()) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QUiLoader : public QUiLoader @@ -52,7 +53,7 @@ class PythonQtWrapper_QUiLoader : public QObject public: public slots: QUiLoader* new_QUiLoader(QObject* parent = nullptr); -void delete_QUiLoader(QUiLoader* obj) { delete obj; } +void delete_QUiLoader(QUiLoader* obj) { delete obj; } void addPluginPath(QUiLoader* theWrappedObject, const QString& path); QStringList availableLayouts(QUiLoader* theWrappedObject) const; QStringList availableWidgets(QUiLoader* theWrappedObject) const; 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..d2b7a43ab 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 @@ -1167,20 +1167,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&ch0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("characters", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1200,20 +1200,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endDocument", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1233,20 +1233,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endElement", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1266,20 +1266,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&prefix0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&prefix0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endPrefixMapping", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1299,20 +1299,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1332,20 +1332,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&ch0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("ignorableWhitespace", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1365,20 +1365,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&target0, (void*)&data1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&target0, (void*)&data1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("processingInstruction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1398,9 +1398,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlLocator*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&locator0}; + void* args[2] = {nullptr, (void*)&locator0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1420,20 +1420,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&name0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("skippedEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1453,20 +1453,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startDocument", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1486,20 +1486,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QXmlAttributes&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2, (void*)&atts3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2, (void*)&atts3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startElement", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1519,20 +1519,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&prefix0, (void*)&uri1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&prefix0, (void*)&uri1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startPrefixMapping", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1622,20 +1622,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1655,20 +1655,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("notationDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1688,20 +1688,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2, (void*)¬ationName3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2, (void*)¬ationName3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("unparsedEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1746,20 +1746,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&eName0, (void*)&aName1, (void*)&type2, (void*)&valueDefault3, (void*)&value4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&eName0, (void*)&aName1, (void*)&type2, (void*)&valueDefault3, (void*)&value4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("attributeDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1779,20 +1779,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1812,20 +1812,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("externalEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1845,20 +1845,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("internalEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1908,20 +1908,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue = 0; - void* args[6] = {NULL, (void*)&eName0, (void*)&aName1, (void*)&type2, (void*)&valueDefault3, (void*)&value4}; + bool returnValue{}; + void* args[6] = {nullptr, (void*)&eName0, (void*)&aName1, (void*)&type2, (void*)&valueDefault3, (void*)&value4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("attributeDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1941,20 +1941,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&ch0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("characters", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1974,20 +1974,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&ch0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("comment", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2007,20 +2007,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endCDATA", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2040,20 +2040,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endDTD", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2073,20 +2073,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endDocument", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2106,20 +2106,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endElement", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2139,20 +2139,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&name0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2172,20 +2172,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&prefix0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&prefix0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endPrefixMapping", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2205,20 +2205,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&exception0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2238,20 +2238,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2271,20 +2271,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("externalEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2304,20 +2304,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&exception0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fatalError", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2337,20 +2337,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&ch0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("ignorableWhitespace", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2370,20 +2370,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("internalEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2403,20 +2403,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("notationDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2436,20 +2436,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&target0, (void*)&data1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&target0, (void*)&data1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("processingInstruction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2469,20 +2469,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QXmlInputSource*&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&publicId0, (void*)&systemId1, (void*)&ret2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&publicId0, (void*)&systemId1, (void*)&ret2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resolveEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2502,9 +2502,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlLocator*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&locator0}; + void* args[2] = {nullptr, (void*)&locator0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2524,20 +2524,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&name0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("skippedEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2557,20 +2557,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startCDATA", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2590,20 +2590,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startDTD", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2623,20 +2623,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startDocument", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2656,20 +2656,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QXmlAttributes&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2, (void*)&atts3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2, (void*)&atts3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startElement", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2689,20 +2689,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&name0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2722,20 +2722,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&prefix0, (void*)&uri1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&prefix0, (void*)&uri1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startPrefixMapping", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2755,20 +2755,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue = 0; - void* args[5] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2, (void*)¬ationName3}; + bool returnValue{}; + void* args[5] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2, (void*)¬ationName3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("unparsedEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2788,20 +2788,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&exception0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("warning", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2831,20 +2831,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2864,20 +2864,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QXmlInputSource*&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&publicId0, (void*)&systemId1, (void*)&ret2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&publicId0, (void*)&systemId1, (void*)&ret2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resolveEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2917,20 +2917,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&exception0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2950,20 +2950,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2983,20 +2983,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&exception0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fatalError", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3016,20 +3016,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&exception0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("warning", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3079,20 +3079,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3112,9 +3112,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3134,20 +3134,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QByteArray&" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&beginning1}; + QString returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&beginning1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fromRawData", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3167,20 +3167,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QChar"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QChar returnValue; - void* args[1] = {NULL}; + QChar returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("next", methodInfo, result); } else { returnValue = *((QChar*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3200,9 +3200,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3222,9 +3222,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&dat0}; + void* args[2] = {nullptr, (void*)&dat0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3244,9 +3244,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&dat0}; + void* args[2] = {nullptr, (void*)&dat0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3315,20 +3315,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&ch0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("comment", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3348,20 +3348,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endCDATA", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3381,20 +3381,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endDTD", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3414,20 +3414,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&name0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3447,20 +3447,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3480,20 +3480,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startCDATA", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3513,20 +3513,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue = 0; - void* args[4] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startDTD", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3546,20 +3546,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&name0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3629,20 +3629,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnNumber", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3662,20 +3662,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue = 0; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("lineNumber", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3750,20 +3750,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlDTDHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlDTDHandler* returnValue; - void* args[1] = {NULL}; + QXmlDTDHandler* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("DTDHandler", methodInfo, result); } else { returnValue = *((QXmlDTDHandler**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3771,7 +3771,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QXmlContentHandler* PythonQtShell_QXmlReader::contentHandler() const { @@ -3783,20 +3783,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlContentHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlContentHandler* returnValue; - void* args[1] = {NULL}; + QXmlContentHandler* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contentHandler", methodInfo, result); } else { returnValue = *((QXmlContentHandler**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3804,7 +3804,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QXmlDeclHandler* PythonQtShell_QXmlReader::declHandler() const { @@ -3816,20 +3816,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlDeclHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlDeclHandler* returnValue; - void* args[1] = {NULL}; + QXmlDeclHandler* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("declHandler", methodInfo, result); } else { returnValue = *((QXmlDeclHandler**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3837,7 +3837,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QXmlEntityResolver* PythonQtShell_QXmlReader::entityResolver() const { @@ -3849,20 +3849,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlEntityResolver*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlEntityResolver* returnValue; - void* args[1] = {NULL}; + QXmlEntityResolver* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("entityResolver", methodInfo, result); } else { returnValue = *((QXmlEntityResolver**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3870,7 +3870,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QXmlErrorHandler* PythonQtShell_QXmlReader::errorHandler() const { @@ -3882,20 +3882,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlErrorHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlErrorHandler* returnValue; - void* args[1] = {NULL}; + QXmlErrorHandler* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorHandler", methodInfo, result); } else { returnValue = *((QXmlErrorHandler**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3903,7 +3903,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } bool PythonQtShell_QXmlReader::feature(const QString& name0, bool* ok1) const { @@ -3915,20 +3915,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&name0, (void*)&ok1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&name0, (void*)&ok1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("feature", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3948,20 +3948,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&name0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasFeature", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3981,20 +3981,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&name0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasProperty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4014,20 +4014,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlLexicalHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlLexicalHandler* returnValue; - void* args[1] = {NULL}; + QXmlLexicalHandler* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("lexicalHandler", methodInfo, result); } else { returnValue = *((QXmlLexicalHandler**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4035,7 +4035,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } bool PythonQtShell_QXmlReader::parse(const QXmlInputSource& input0) { @@ -4047,20 +4047,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QXmlInputSource&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&input0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4080,20 +4080,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QXmlInputSource*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&input0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4113,20 +4113,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"void*" , "const QString&" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* returnValue; - void* args[3] = {NULL, (void*)&name0, (void*)&ok1}; + void* returnValue{}; + void* args[3] = {nullptr, (void*)&name0, (void*)&ok1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); } else { returnValue = *((void**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4134,7 +4134,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QXmlReader::setContentHandler(QXmlContentHandler* handler0) { @@ -4146,9 +4146,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlContentHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler0}; + void* args[2] = {nullptr, (void*)&handler0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4168,9 +4168,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlDTDHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler0}; + void* args[2] = {nullptr, (void*)&handler0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4190,9 +4190,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlDeclHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler0}; + void* args[2] = {nullptr, (void*)&handler0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4212,9 +4212,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlEntityResolver*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler0}; + void* args[2] = {nullptr, (void*)&handler0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4234,9 +4234,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlErrorHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler0}; + void* args[2] = {nullptr, (void*)&handler0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4256,9 +4256,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4278,9 +4278,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlLexicalHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler0}; + void* args[2] = {nullptr, (void*)&handler0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4300,9 +4300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "void*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4432,20 +4432,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlDTDHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlDTDHandler* returnValue; - void* args[1] = {NULL}; + QXmlDTDHandler* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("DTDHandler", methodInfo, result); } else { returnValue = *((QXmlDTDHandler**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4465,20 +4465,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlContentHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlContentHandler* returnValue; - void* args[1] = {NULL}; + QXmlContentHandler* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contentHandler", methodInfo, result); } else { returnValue = *((QXmlContentHandler**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4498,20 +4498,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlDeclHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlDeclHandler* returnValue; - void* args[1] = {NULL}; + QXmlDeclHandler* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("declHandler", methodInfo, result); } else { returnValue = *((QXmlDeclHandler**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4531,20 +4531,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlEntityResolver*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlEntityResolver* returnValue; - void* args[1] = {NULL}; + QXmlEntityResolver* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("entityResolver", methodInfo, result); } else { returnValue = *((QXmlEntityResolver**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4564,20 +4564,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlErrorHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlErrorHandler* returnValue; - void* args[1] = {NULL}; + QXmlErrorHandler* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorHandler", methodInfo, result); } else { returnValue = *((QXmlErrorHandler**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4597,20 +4597,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&name0, (void*)&ok1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&name0, (void*)&ok1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("feature", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4630,20 +4630,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&name0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasFeature", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4663,20 +4663,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&name0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasProperty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4696,20 +4696,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlLexicalHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlLexicalHandler* returnValue; - void* args[1] = {NULL}; + QXmlLexicalHandler* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("lexicalHandler", methodInfo, result); } else { returnValue = *((QXmlLexicalHandler**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4729,20 +4729,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QXmlInputSource&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&input0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4762,20 +4762,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QXmlInputSource*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&input0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4795,20 +4795,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QXmlInputSource*" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&input0, (void*)&incremental1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&incremental1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4828,20 +4828,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue = 0; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parseContinue", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4861,20 +4861,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"void*" , "const QString&" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* returnValue; - void* args[3] = {NULL, (void*)&name0, (void*)&ok1}; + void* returnValue{}; + void* args[3] = {nullptr, (void*)&name0, (void*)&ok1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); } else { returnValue = *((void**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4894,9 +4894,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlContentHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler0}; + void* args[2] = {nullptr, (void*)&handler0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4916,9 +4916,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlDTDHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler0}; + void* args[2] = {nullptr, (void*)&handler0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4938,9 +4938,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlDeclHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler0}; + void* args[2] = {nullptr, (void*)&handler0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4960,9 +4960,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlEntityResolver*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler0}; + void* args[2] = {nullptr, (void*)&handler0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4982,9 +4982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlErrorHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler0}; + void* args[2] = {nullptr, (void*)&handler0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5004,9 +5004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5026,9 +5026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlLexicalHandler*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler0}; + void* args[2] = {nullptr, (void*)&handler0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5048,9 +5048,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "void*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml0.h b/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml0.h index 52e859c7e..cc0abf4e4 100644 --- a/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml0.h +++ b/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml0.h @@ -15,7 +15,7 @@ class PythonQtWrapper_QDomAttr : public QObject public slots: QDomAttr* new_QDomAttr(); QDomAttr* new_QDomAttr(const QDomAttr& x); -void delete_QDomAttr(QDomAttr* obj) { delete obj; } +void delete_QDomAttr(QDomAttr* obj) { delete obj; } QString name(QDomAttr* theWrappedObject) const; QDomElement ownerElement(QDomAttr* theWrappedObject) const; void setValue(QDomAttr* theWrappedObject, const QString& arg__1); @@ -34,7 +34,7 @@ class PythonQtWrapper_QDomCDATASection : public QObject public slots: QDomCDATASection* new_QDomCDATASection(); QDomCDATASection* new_QDomCDATASection(const QDomCDATASection& x); -void delete_QDomCDATASection(QDomCDATASection* obj) { delete obj; } +void delete_QDomCDATASection(QDomCDATASection* obj) { delete obj; } bool __nonzero__(QDomCDATASection* obj) { return !obj->isNull(); } }; @@ -48,7 +48,7 @@ class PythonQtWrapper_QDomCharacterData : public QObject public slots: QDomCharacterData* new_QDomCharacterData(); QDomCharacterData* new_QDomCharacterData(const QDomCharacterData& x); -void delete_QDomCharacterData(QDomCharacterData* obj) { delete obj; } +void delete_QDomCharacterData(QDomCharacterData* obj) { delete obj; } void appendData(QDomCharacterData* theWrappedObject, const QString& arg); QString data(QDomCharacterData* theWrappedObject) const; void deleteData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count); @@ -70,7 +70,7 @@ class PythonQtWrapper_QDomComment : public QObject public slots: QDomComment* new_QDomComment(); QDomComment* new_QDomComment(const QDomComment& x); -void delete_QDomComment(QDomComment* obj) { delete obj; } +void delete_QDomComment(QDomComment* obj) { delete obj; } bool __nonzero__(QDomComment* obj) { return !obj->isNull(); } }; @@ -86,7 +86,7 @@ QDomDocument* new_QDomDocument(); QDomDocument* new_QDomDocument(const QDomDocument& x); QDomDocument* new_QDomDocument(const QDomDocumentType& doctype); QDomDocument* new_QDomDocument(const QString& name); -void delete_QDomDocument(QDomDocument* obj) { delete obj; } +void delete_QDomDocument(QDomDocument* obj) { delete obj; } QDomAttr createAttribute(QDomDocument* theWrappedObject, const QString& name); QDomAttr createAttributeNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName); QDomCDATASection createCDATASection(QDomDocument* theWrappedObject, const QString& data); @@ -128,7 +128,7 @@ class PythonQtWrapper_QDomDocumentFragment : public QObject public slots: QDomDocumentFragment* new_QDomDocumentFragment(); QDomDocumentFragment* new_QDomDocumentFragment(const QDomDocumentFragment& x); -void delete_QDomDocumentFragment(QDomDocumentFragment* obj) { delete obj; } +void delete_QDomDocumentFragment(QDomDocumentFragment* obj) { delete obj; } bool __nonzero__(QDomDocumentFragment* obj) { return !obj->isNull(); } }; @@ -142,7 +142,7 @@ class PythonQtWrapper_QDomDocumentType : public QObject public slots: QDomDocumentType* new_QDomDocumentType(); QDomDocumentType* new_QDomDocumentType(const QDomDocumentType& x); -void delete_QDomDocumentType(QDomDocumentType* obj) { delete obj; } +void delete_QDomDocumentType(QDomDocumentType* obj) { delete obj; } QDomNamedNodeMap entities(QDomDocumentType* theWrappedObject) const; QString internalSubset(QDomDocumentType* theWrappedObject) const; QString name(QDomDocumentType* theWrappedObject) const; @@ -162,7 +162,7 @@ class PythonQtWrapper_QDomElement : public QObject public slots: QDomElement* new_QDomElement(); QDomElement* new_QDomElement(const QDomElement& x); -void delete_QDomElement(QDomElement* obj) { delete obj; } +void delete_QDomElement(QDomElement* obj) { delete obj; } QString attribute(QDomElement* theWrappedObject, const QString& name, const QString& defValue = QString()) const; QString attributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& localName, const QString& defValue = QString()) const; QDomAttr attributeNode(QDomElement* theWrappedObject, const QString& name); @@ -202,7 +202,7 @@ class PythonQtWrapper_QDomEntity : public QObject public slots: QDomEntity* new_QDomEntity(); QDomEntity* new_QDomEntity(const QDomEntity& x); -void delete_QDomEntity(QDomEntity* obj) { delete obj; } +void delete_QDomEntity(QDomEntity* obj) { delete obj; } QString notationName(QDomEntity* theWrappedObject) const; QString publicId(QDomEntity* theWrappedObject) const; QString systemId(QDomEntity* theWrappedObject) const; @@ -219,7 +219,7 @@ class PythonQtWrapper_QDomEntityReference : public QObject public slots: QDomEntityReference* new_QDomEntityReference(); QDomEntityReference* new_QDomEntityReference(const QDomEntityReference& x); -void delete_QDomEntityReference(QDomEntityReference* obj) { delete obj; } +void delete_QDomEntityReference(QDomEntityReference* obj) { delete obj; } bool __nonzero__(QDomEntityReference* obj) { return !obj->isNull(); } }; @@ -236,7 +236,7 @@ enum InvalidDataPolicy{ public slots: QDomImplementation* new_QDomImplementation(); QDomImplementation* new_QDomImplementation(const QDomImplementation& arg__1); -void delete_QDomImplementation(QDomImplementation* obj) { delete obj; } +void delete_QDomImplementation(QDomImplementation* obj) { delete obj; } QDomDocument createDocument(QDomImplementation* theWrappedObject, const QString& nsURI, const QString& qName, const QDomDocumentType& doctype); QDomDocumentType createDocumentType(QDomImplementation* theWrappedObject, const QString& qName, const QString& publicId, const QString& systemId); bool hasFeature(QDomImplementation* theWrappedObject, const QString& feature, const QString& version) const; @@ -258,7 +258,7 @@ class PythonQtWrapper_QDomNamedNodeMap : public QObject public slots: QDomNamedNodeMap* new_QDomNamedNodeMap(); QDomNamedNodeMap* new_QDomNamedNodeMap(const QDomNamedNodeMap& arg__1); -void delete_QDomNamedNodeMap(QDomNamedNodeMap* obj) { delete obj; } +void delete_QDomNamedNodeMap(QDomNamedNodeMap* obj) { delete obj; } bool contains(QDomNamedNodeMap* theWrappedObject, const QString& name) const; int count(QDomNamedNodeMap* theWrappedObject) const; bool isEmpty(QDomNamedNodeMap* theWrappedObject) const; @@ -291,7 +291,7 @@ enum NodeType{ public slots: QDomNode* new_QDomNode(); QDomNode* new_QDomNode(const QDomNode& arg__1); -void delete_QDomNode(QDomNode* obj) { delete obj; } +void delete_QDomNode(QDomNode* obj) { delete obj; } QDomNode appendChild(QDomNode* theWrappedObject, const QDomNode& newChild); QDomNodeList childNodes(QDomNode* theWrappedObject) const; void clear(QDomNode* theWrappedObject); @@ -369,7 +369,7 @@ class PythonQtWrapper_QDomNodeList : public QObject public slots: QDomNodeList* new_QDomNodeList(); QDomNodeList* new_QDomNodeList(const QDomNodeList& arg__1); -void delete_QDomNodeList(QDomNodeList* obj) { delete obj; } +void delete_QDomNodeList(QDomNodeList* obj) { delete obj; } QDomNode at(QDomNodeList* theWrappedObject, int index) const; int count(QDomNodeList* theWrappedObject) const; bool isEmpty(QDomNodeList* theWrappedObject) const; @@ -391,7 +391,7 @@ class PythonQtWrapper_QDomNotation : public QObject public slots: QDomNotation* new_QDomNotation(); QDomNotation* new_QDomNotation(const QDomNotation& x); -void delete_QDomNotation(QDomNotation* obj) { delete obj; } +void delete_QDomNotation(QDomNotation* obj) { delete obj; } QString publicId(QDomNotation* theWrappedObject) const; QString systemId(QDomNotation* theWrappedObject) const; bool __nonzero__(QDomNotation* obj) { return !obj->isNull(); } @@ -407,7 +407,7 @@ class PythonQtWrapper_QDomProcessingInstruction : public QObject public slots: QDomProcessingInstruction* new_QDomProcessingInstruction(); QDomProcessingInstruction* new_QDomProcessingInstruction(const QDomProcessingInstruction& x); -void delete_QDomProcessingInstruction(QDomProcessingInstruction* obj) { delete obj; } +void delete_QDomProcessingInstruction(QDomProcessingInstruction* obj) { delete obj; } QString data(QDomProcessingInstruction* theWrappedObject) const; void setData(QDomProcessingInstruction* theWrappedObject, const QString& d); QString target(QDomProcessingInstruction* theWrappedObject) const; @@ -424,7 +424,7 @@ class PythonQtWrapper_QDomText : public QObject public slots: QDomText* new_QDomText(); QDomText* new_QDomText(const QDomText& x); -void delete_QDomText(QDomText* obj) { delete obj; } +void delete_QDomText(QDomText* obj) { delete obj; } QDomText splitText(QDomText* theWrappedObject, int offset); bool __nonzero__(QDomText* obj) { return !obj->isNull(); } }; @@ -436,12 +436,12 @@ void delete_QDomText(QDomText* obj) { delete obj; } class PythonQtShell_QXmlAttributes : public QXmlAttributes { public: - PythonQtShell_QXmlAttributes():QXmlAttributes(),_wrapper(NULL) {}; + PythonQtShell_QXmlAttributes():QXmlAttributes(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlAttributes(); + ~PythonQtShell_QXmlAttributes() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QXmlAttributes : public QObject @@ -453,7 +453,7 @@ QXmlAttributes* new_QXmlAttributes(const QXmlAttributes& other) { PythonQtShell_QXmlAttributes* a = new PythonQtShell_QXmlAttributes(); *((QXmlAttributes*)a) = other; return a; } -void delete_QXmlAttributes(QXmlAttributes* obj) { delete obj; } +void delete_QXmlAttributes(QXmlAttributes* obj) { delete obj; } void append(QXmlAttributes* theWrappedObject, const QString& qName, const QString& uri, const QString& localPart, const QString& value); void clear(QXmlAttributes* theWrappedObject); int count(QXmlAttributes* theWrappedObject) const; @@ -479,24 +479,24 @@ void delete_QXmlAttributes(QXmlAttributes* obj) { delete obj; } class PythonQtShell_QXmlContentHandler : public QXmlContentHandler { public: - PythonQtShell_QXmlContentHandler():QXmlContentHandler(),_wrapper(NULL) {}; - - ~PythonQtShell_QXmlContentHandler(); - -virtual bool characters(const QString& ch); -virtual bool endDocument(); -virtual bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName); -virtual bool endPrefixMapping(const QString& prefix); -virtual QString errorString() const; -virtual bool ignorableWhitespace(const QString& ch); -virtual bool processingInstruction(const QString& target, const QString& data); -virtual void setDocumentLocator(QXmlLocator* locator); -virtual bool skippedEntity(const QString& name); -virtual bool startDocument(); -virtual bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts); -virtual bool startPrefixMapping(const QString& prefix, const QString& uri); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QXmlContentHandler():QXmlContentHandler(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlContentHandler() override; + +bool characters(const QString& ch) override; +bool endDocument() override; +bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName) override; +bool endPrefixMapping(const QString& prefix) override; +QString errorString() const override; +bool ignorableWhitespace(const QString& ch) override; +bool processingInstruction(const QString& target, const QString& data) override; +void setDocumentLocator(QXmlLocator* locator) override; +bool skippedEntity(const QString& name) override; +bool startDocument() override; +bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) override; +bool startPrefixMapping(const QString& prefix, const QString& uri) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlContentHandler : public QXmlContentHandler @@ -520,7 +520,7 @@ class PythonQtWrapper_QXmlContentHandler : public QObject public: public slots: QXmlContentHandler* new_QXmlContentHandler(); -void delete_QXmlContentHandler(QXmlContentHandler* obj) { delete obj; } +void delete_QXmlContentHandler(QXmlContentHandler* obj) { delete obj; } bool characters(QXmlContentHandler* theWrappedObject, const QString& ch); bool py_q_characters(QXmlContentHandler* theWrappedObject, const QString& ch){ return (((PythonQtPublicPromoter_QXmlContentHandler*)theWrappedObject)->py_q_characters(ch));} bool endDocument(QXmlContentHandler* theWrappedObject); @@ -554,15 +554,15 @@ void delete_QXmlContentHandler(QXmlContentHandler* obj) { delete obj; } class PythonQtShell_QXmlDTDHandler : public QXmlDTDHandler { public: - PythonQtShell_QXmlDTDHandler():QXmlDTDHandler(),_wrapper(NULL) {}; + PythonQtShell_QXmlDTDHandler():QXmlDTDHandler(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlDTDHandler(); + ~PythonQtShell_QXmlDTDHandler() override; -virtual QString errorString() const; -virtual bool notationDecl(const QString& name, const QString& publicId, const QString& systemId); -virtual bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName); +QString errorString() const override; +bool notationDecl(const QString& name, const QString& publicId, const QString& systemId) override; +bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlDTDHandler : public QXmlDTDHandler @@ -577,7 +577,7 @@ class PythonQtWrapper_QXmlDTDHandler : public QObject public: public slots: QXmlDTDHandler* new_QXmlDTDHandler(); -void delete_QXmlDTDHandler(QXmlDTDHandler* obj) { delete obj; } +void delete_QXmlDTDHandler(QXmlDTDHandler* obj) { delete obj; } QString errorString(QXmlDTDHandler* theWrappedObject) const; QString py_q_errorString(QXmlDTDHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlDTDHandler*)theWrappedObject)->py_q_errorString());} bool notationDecl(QXmlDTDHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId); @@ -593,16 +593,16 @@ void delete_QXmlDTDHandler(QXmlDTDHandler* obj) { delete obj; } class PythonQtShell_QXmlDeclHandler : public QXmlDeclHandler { public: - PythonQtShell_QXmlDeclHandler():QXmlDeclHandler(),_wrapper(NULL) {}; + PythonQtShell_QXmlDeclHandler():QXmlDeclHandler(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlDeclHandler(); + ~PythonQtShell_QXmlDeclHandler() override; -virtual bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value); -virtual QString errorString() const; -virtual bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId); -virtual bool internalEntityDecl(const QString& name, const QString& value); +bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) override; +QString errorString() const override; +bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) override; +bool internalEntityDecl(const QString& name, const QString& value) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlDeclHandler : public QXmlDeclHandler @@ -618,7 +618,7 @@ class PythonQtWrapper_QXmlDeclHandler : public QObject public: public slots: QXmlDeclHandler* new_QXmlDeclHandler(); -void delete_QXmlDeclHandler(QXmlDeclHandler* obj) { delete obj; } +void delete_QXmlDeclHandler(QXmlDeclHandler* obj) { delete obj; } bool attributeDecl(QXmlDeclHandler* theWrappedObject, const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value); bool py_q_attributeDecl(QXmlDeclHandler* theWrappedObject, const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value){ return (((PythonQtPublicPromoter_QXmlDeclHandler*)theWrappedObject)->py_q_attributeDecl(eName, aName, type, valueDefault, value));} QString errorString(QXmlDeclHandler* theWrappedObject) const; @@ -636,40 +636,40 @@ void delete_QXmlDeclHandler(QXmlDeclHandler* obj) { delete obj; } class PythonQtShell_QXmlDefaultHandler : public QXmlDefaultHandler { public: - PythonQtShell_QXmlDefaultHandler():QXmlDefaultHandler(),_wrapper(NULL) {}; - - ~PythonQtShell_QXmlDefaultHandler(); - -virtual bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value); -virtual bool characters(const QString& ch); -virtual bool comment(const QString& ch); -virtual bool endCDATA(); -virtual bool endDTD(); -virtual bool endDocument(); -virtual bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName); -virtual bool endEntity(const QString& name); -virtual bool endPrefixMapping(const QString& prefix); -virtual bool error(const QXmlParseException& exception); -virtual QString errorString() const; -virtual bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId); -virtual bool fatalError(const QXmlParseException& exception); -virtual bool ignorableWhitespace(const QString& ch); -virtual bool internalEntityDecl(const QString& name, const QString& value); -virtual bool notationDecl(const QString& name, const QString& publicId, const QString& systemId); -virtual bool processingInstruction(const QString& target, const QString& data); -virtual bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret); -virtual void setDocumentLocator(QXmlLocator* locator); -virtual bool skippedEntity(const QString& name); -virtual bool startCDATA(); -virtual bool startDTD(const QString& name, const QString& publicId, const QString& systemId); -virtual bool startDocument(); -virtual bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts); -virtual bool startEntity(const QString& name); -virtual bool startPrefixMapping(const QString& prefix, const QString& uri); -virtual bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName); -virtual bool warning(const QXmlParseException& exception); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QXmlDefaultHandler():QXmlDefaultHandler(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlDefaultHandler() override; + +bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) override; +bool characters(const QString& ch) override; +bool comment(const QString& ch) override; +bool endCDATA() override; +bool endDTD() override; +bool endDocument() override; +bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName) override; +bool endEntity(const QString& name) override; +bool endPrefixMapping(const QString& prefix) override; +bool error(const QXmlParseException& exception) override; +QString errorString() const override; +bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) override; +bool fatalError(const QXmlParseException& exception) override; +bool ignorableWhitespace(const QString& ch) override; +bool internalEntityDecl(const QString& name, const QString& value) override; +bool notationDecl(const QString& name, const QString& publicId, const QString& systemId) override; +bool processingInstruction(const QString& target, const QString& data) override; +bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) override; +void setDocumentLocator(QXmlLocator* locator) override; +bool skippedEntity(const QString& name) override; +bool startCDATA() override; +bool startDTD(const QString& name, const QString& publicId, const QString& systemId) override; +bool startDocument() override; +bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) override; +bool startEntity(const QString& name) override; +bool startPrefixMapping(const QString& prefix, const QString& uri) override; +bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) override; +bool warning(const QXmlParseException& exception) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlDefaultHandler : public QXmlDefaultHandler @@ -709,7 +709,7 @@ class PythonQtWrapper_QXmlDefaultHandler : public QObject public: public slots: QXmlDefaultHandler* new_QXmlDefaultHandler(); -void delete_QXmlDefaultHandler(QXmlDefaultHandler* obj) { delete obj; } +void delete_QXmlDefaultHandler(QXmlDefaultHandler* obj) { delete obj; } bool py_q_attributeDecl(QXmlDefaultHandler* theWrappedObject, const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_attributeDecl(eName, aName, type, valueDefault, value));} bool py_q_characters(QXmlDefaultHandler* theWrappedObject, const QString& ch){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_characters(ch));} bool py_q_comment(QXmlDefaultHandler* theWrappedObject, const QString& ch){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_comment(ch));} @@ -747,14 +747,14 @@ void delete_QXmlDefaultHandler(QXmlDefaultHandler* obj) { delete obj; } class PythonQtShell_QXmlEntityResolver : public QXmlEntityResolver { public: - PythonQtShell_QXmlEntityResolver():QXmlEntityResolver(),_wrapper(NULL) {}; + PythonQtShell_QXmlEntityResolver():QXmlEntityResolver(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlEntityResolver(); + ~PythonQtShell_QXmlEntityResolver() override; -virtual QString errorString() const; -virtual bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret); +QString errorString() const override; +bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlEntityResolver : public QXmlEntityResolver @@ -768,7 +768,7 @@ class PythonQtWrapper_QXmlEntityResolver : public QObject public: public slots: QXmlEntityResolver* new_QXmlEntityResolver(); -void delete_QXmlEntityResolver(QXmlEntityResolver* obj) { delete obj; } +void delete_QXmlEntityResolver(QXmlEntityResolver* obj) { delete obj; } QString errorString(QXmlEntityResolver* theWrappedObject) const; QString py_q_errorString(QXmlEntityResolver* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlEntityResolver*)theWrappedObject)->py_q_errorString());} bool resolveEntity(QXmlEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId, QXmlInputSource*& ret); @@ -782,16 +782,16 @@ void delete_QXmlEntityResolver(QXmlEntityResolver* obj) { delete obj; } class PythonQtShell_QXmlErrorHandler : public QXmlErrorHandler { public: - PythonQtShell_QXmlErrorHandler():QXmlErrorHandler(),_wrapper(NULL) {}; + PythonQtShell_QXmlErrorHandler():QXmlErrorHandler(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlErrorHandler(); + ~PythonQtShell_QXmlErrorHandler() override; -virtual bool error(const QXmlParseException& exception); -virtual QString errorString() const; -virtual bool fatalError(const QXmlParseException& exception); -virtual bool warning(const QXmlParseException& exception); +bool error(const QXmlParseException& exception) override; +QString errorString() const override; +bool fatalError(const QXmlParseException& exception) override; +bool warning(const QXmlParseException& exception) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlErrorHandler : public QXmlErrorHandler @@ -807,7 +807,7 @@ class PythonQtWrapper_QXmlErrorHandler : public QObject public: public slots: QXmlErrorHandler* new_QXmlErrorHandler(); -void delete_QXmlErrorHandler(QXmlErrorHandler* obj) { delete obj; } +void delete_QXmlErrorHandler(QXmlErrorHandler* obj) { delete obj; } bool error(QXmlErrorHandler* theWrappedObject, const QXmlParseException& exception); bool py_q_error(QXmlErrorHandler* theWrappedObject, const QXmlParseException& exception){ return (((PythonQtPublicPromoter_QXmlErrorHandler*)theWrappedObject)->py_q_error(exception));} QString errorString(QXmlErrorHandler* theWrappedObject) const; @@ -825,20 +825,20 @@ void delete_QXmlErrorHandler(QXmlErrorHandler* obj) { delete obj; } class PythonQtShell_QXmlInputSource : public QXmlInputSource { public: - PythonQtShell_QXmlInputSource():QXmlInputSource(),_wrapper(NULL) {}; - PythonQtShell_QXmlInputSource(QIODevice* dev):QXmlInputSource(dev),_wrapper(NULL) {}; + PythonQtShell_QXmlInputSource():QXmlInputSource(),_wrapper(nullptr) {}; + PythonQtShell_QXmlInputSource(QIODevice* dev):QXmlInputSource(dev),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlInputSource(); + ~PythonQtShell_QXmlInputSource() override; -virtual QString data() const; -virtual void fetchData(); -virtual QString fromRawData(const QByteArray& data, bool beginning = false); -virtual QChar next(); -virtual void reset(); -virtual void setData(const QByteArray& dat); -virtual void setData(const QString& dat); +QString data() const override; +void fetchData() override; +QString fromRawData(const QByteArray& data, bool beginning = false) override; +QChar next() override; +void reset() override; +void setData(const QByteArray& dat) override; +void setData(const QString& dat) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlInputSource : public QXmlInputSource @@ -859,7 +859,7 @@ class PythonQtWrapper_QXmlInputSource : public QObject public slots: QXmlInputSource* new_QXmlInputSource(); QXmlInputSource* new_QXmlInputSource(QIODevice* dev); -void delete_QXmlInputSource(QXmlInputSource* obj) { delete obj; } +void delete_QXmlInputSource(QXmlInputSource* obj) { delete obj; } QString data(QXmlInputSource* theWrappedObject) const; QString py_q_data(QXmlInputSource* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->py_q_data());} void fetchData(QXmlInputSource* theWrappedObject); @@ -883,20 +883,20 @@ void delete_QXmlInputSource(QXmlInputSource* obj) { delete obj; } class PythonQtShell_QXmlLexicalHandler : public QXmlLexicalHandler { public: - PythonQtShell_QXmlLexicalHandler():QXmlLexicalHandler(),_wrapper(NULL) {}; + PythonQtShell_QXmlLexicalHandler():QXmlLexicalHandler(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlLexicalHandler(); + ~PythonQtShell_QXmlLexicalHandler() override; -virtual bool comment(const QString& ch); -virtual bool endCDATA(); -virtual bool endDTD(); -virtual bool endEntity(const QString& name); -virtual QString errorString() const; -virtual bool startCDATA(); -virtual bool startDTD(const QString& name, const QString& publicId, const QString& systemId); -virtual bool startEntity(const QString& name); +bool comment(const QString& ch) override; +bool endCDATA() override; +bool endDTD() override; +bool endEntity(const QString& name) override; +QString errorString() const override; +bool startCDATA() override; +bool startDTD(const QString& name, const QString& publicId, const QString& systemId) override; +bool startEntity(const QString& name) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlLexicalHandler : public QXmlLexicalHandler @@ -916,7 +916,7 @@ class PythonQtWrapper_QXmlLexicalHandler : public QObject public: public slots: QXmlLexicalHandler* new_QXmlLexicalHandler(); -void delete_QXmlLexicalHandler(QXmlLexicalHandler* obj) { delete obj; } +void delete_QXmlLexicalHandler(QXmlLexicalHandler* obj) { delete obj; } bool comment(QXmlLexicalHandler* theWrappedObject, const QString& ch); bool py_q_comment(QXmlLexicalHandler* theWrappedObject, const QString& ch){ return (((PythonQtPublicPromoter_QXmlLexicalHandler*)theWrappedObject)->py_q_comment(ch));} bool endCDATA(QXmlLexicalHandler* theWrappedObject); @@ -942,14 +942,14 @@ void delete_QXmlLexicalHandler(QXmlLexicalHandler* obj) { delete obj; } class PythonQtShell_QXmlLocator : public QXmlLocator { public: - PythonQtShell_QXmlLocator():QXmlLocator(),_wrapper(NULL) {}; + PythonQtShell_QXmlLocator():QXmlLocator(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlLocator(); + ~PythonQtShell_QXmlLocator() override; -virtual int columnNumber() const; -virtual int lineNumber() const; +int columnNumber() const override; +int lineNumber() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlLocator : public QXmlLocator @@ -963,7 +963,7 @@ class PythonQtWrapper_QXmlLocator : public QObject public: public slots: QXmlLocator* new_QXmlLocator(); -void delete_QXmlLocator(QXmlLocator* obj) { delete obj; } +void delete_QXmlLocator(QXmlLocator* obj) { delete obj; } int columnNumber(QXmlLocator* theWrappedObject) const; int py_q_columnNumber(QXmlLocator* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlLocator*)theWrappedObject)->py_q_columnNumber());} int lineNumber(QXmlLocator* theWrappedObject) const; @@ -980,7 +980,7 @@ class PythonQtWrapper_QXmlParseException : public QObject public slots: QXmlParseException* new_QXmlParseException(const QString& name = QString(), int c = -1, int l = -1, const QString& p = QString(), const QString& s = QString()); QXmlParseException* new_QXmlParseException(const QXmlParseException& other); -void delete_QXmlParseException(QXmlParseException* obj) { delete obj; } +void delete_QXmlParseException(QXmlParseException* obj) { delete obj; } int columnNumber(QXmlParseException* theWrappedObject) const; int lineNumber(QXmlParseException* theWrappedObject) const; QString message(QXmlParseException* theWrappedObject) const; @@ -995,32 +995,32 @@ void delete_QXmlParseException(QXmlParseException* obj) { delete obj; } class PythonQtShell_QXmlReader : public QXmlReader { public: - PythonQtShell_QXmlReader():QXmlReader(),_wrapper(NULL) {}; - - ~PythonQtShell_QXmlReader(); - -virtual QXmlDTDHandler* DTDHandler() const; -virtual QXmlContentHandler* contentHandler() const; -virtual QXmlDeclHandler* declHandler() const; -virtual QXmlEntityResolver* entityResolver() const; -virtual QXmlErrorHandler* errorHandler() const; -virtual bool feature(const QString& name, bool* ok = nullptr) const; -virtual bool hasFeature(const QString& name) const; -virtual bool hasProperty(const QString& name) const; -virtual QXmlLexicalHandler* lexicalHandler() const; -virtual bool parse(const QXmlInputSource& input); -virtual bool parse(const QXmlInputSource* input); -virtual void* property(const QString& name, bool* ok = nullptr) const; -virtual void setContentHandler(QXmlContentHandler* handler); -virtual void setDTDHandler(QXmlDTDHandler* handler); -virtual void setDeclHandler(QXmlDeclHandler* handler); -virtual void setEntityResolver(QXmlEntityResolver* handler); -virtual void setErrorHandler(QXmlErrorHandler* handler); -virtual void setFeature(const QString& name, bool value); -virtual void setLexicalHandler(QXmlLexicalHandler* handler); -virtual void setProperty(const QString& name, void* value); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QXmlReader():QXmlReader(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlReader() override; + +QXmlDTDHandler* DTDHandler() const override; +QXmlContentHandler* contentHandler() const override; +QXmlDeclHandler* declHandler() const override; +QXmlEntityResolver* entityResolver() const override; +QXmlErrorHandler* errorHandler() const override; +bool feature(const QString& name, bool* ok = nullptr) const override; +bool hasFeature(const QString& name) const override; +bool hasProperty(const QString& name) const override; +QXmlLexicalHandler* lexicalHandler() const override; +bool parse(const QXmlInputSource& input) override; +bool parse(const QXmlInputSource* input) override; +void* property(const QString& name, bool* ok = nullptr) const override; +void setContentHandler(QXmlContentHandler* handler) override; +void setDTDHandler(QXmlDTDHandler* handler) override; +void setDeclHandler(QXmlDeclHandler* handler) override; +void setEntityResolver(QXmlEntityResolver* handler) override; +void setErrorHandler(QXmlErrorHandler* handler) override; +void setFeature(const QString& name, bool value) override; +void setLexicalHandler(QXmlLexicalHandler* handler) override; +void setProperty(const QString& name, void* value) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlReader : public QXmlReader @@ -1052,7 +1052,7 @@ class PythonQtWrapper_QXmlReader : public QObject public: public slots: QXmlReader* new_QXmlReader(); -void delete_QXmlReader(QXmlReader* obj) { delete obj; } +void delete_QXmlReader(QXmlReader* obj) { delete obj; } QXmlDTDHandler* DTDHandler(QXmlReader* theWrappedObject) const; QXmlDTDHandler* py_q_DTDHandler(QXmlReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_DTDHandler());} QXmlContentHandler* contentHandler(QXmlReader* theWrappedObject) const; @@ -1102,34 +1102,34 @@ void delete_QXmlReader(QXmlReader* obj) { delete obj; } class PythonQtShell_QXmlSimpleReader : public QXmlSimpleReader { public: - PythonQtShell_QXmlSimpleReader():QXmlSimpleReader(),_wrapper(NULL) {}; - - ~PythonQtShell_QXmlSimpleReader(); - -virtual QXmlDTDHandler* DTDHandler() const; -virtual QXmlContentHandler* contentHandler() const; -virtual QXmlDeclHandler* declHandler() const; -virtual QXmlEntityResolver* entityResolver() const; -virtual QXmlErrorHandler* errorHandler() const; -virtual bool feature(const QString& name, bool* ok = nullptr) const; -virtual bool hasFeature(const QString& name) const; -virtual bool hasProperty(const QString& name) const; -virtual QXmlLexicalHandler* lexicalHandler() const; -virtual bool parse(const QXmlInputSource& input); -virtual bool parse(const QXmlInputSource* input); -virtual bool parse(const QXmlInputSource* input, bool incremental); -virtual bool parseContinue(); -virtual void* property(const QString& name, bool* ok = nullptr) const; -virtual void setContentHandler(QXmlContentHandler* handler); -virtual void setDTDHandler(QXmlDTDHandler* handler); -virtual void setDeclHandler(QXmlDeclHandler* handler); -virtual void setEntityResolver(QXmlEntityResolver* handler); -virtual void setErrorHandler(QXmlErrorHandler* handler); -virtual void setFeature(const QString& name, bool value); -virtual void setLexicalHandler(QXmlLexicalHandler* handler); -virtual void setProperty(const QString& name, void* value); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QXmlSimpleReader():QXmlSimpleReader(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlSimpleReader() override; + +QXmlDTDHandler* DTDHandler() const override; +QXmlContentHandler* contentHandler() const override; +QXmlDeclHandler* declHandler() const override; +QXmlEntityResolver* entityResolver() const override; +QXmlErrorHandler* errorHandler() const override; +bool feature(const QString& name, bool* ok = nullptr) const override; +bool hasFeature(const QString& name) const override; +bool hasProperty(const QString& name) const override; +QXmlLexicalHandler* lexicalHandler() const override; +bool parse(const QXmlInputSource& input) override; +bool parse(const QXmlInputSource* input) override; +bool parse(const QXmlInputSource* input, bool incremental) override; +bool parseContinue() override; +void* property(const QString& name, bool* ok = nullptr) const override; +void setContentHandler(QXmlContentHandler* handler) override; +void setDTDHandler(QXmlDTDHandler* handler) override; +void setDeclHandler(QXmlDeclHandler* handler) override; +void setEntityResolver(QXmlEntityResolver* handler) override; +void setErrorHandler(QXmlErrorHandler* handler) override; +void setFeature(const QString& name, bool value) override; +void setLexicalHandler(QXmlLexicalHandler* handler) override; +void setProperty(const QString& name, void* value) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlSimpleReader : public QXmlSimpleReader @@ -1163,7 +1163,7 @@ class PythonQtWrapper_QXmlSimpleReader : public QObject public: public slots: QXmlSimpleReader* new_QXmlSimpleReader(); -void delete_QXmlSimpleReader(QXmlSimpleReader* obj) { delete obj; } +void delete_QXmlSimpleReader(QXmlSimpleReader* obj) { delete obj; } QXmlDTDHandler* py_q_DTDHandler(QXmlSimpleReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_DTDHandler());} QXmlContentHandler* py_q_contentHandler(QXmlSimpleReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_contentHandler());} QXmlDeclHandler* py_q_declHandler(QXmlSimpleReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_declHandler());} diff --git a/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml1.h b/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml1.h index 99f50be3c..c19d5fc90 100644 --- a/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml1.h +++ b/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml1.h @@ -18,7 +18,7 @@ QXmlStreamAttribute* new_QXmlStreamAttribute(); QXmlStreamAttribute* new_QXmlStreamAttribute(const QString& namespaceUri, const QString& name, const QString& value); QXmlStreamAttribute* new_QXmlStreamAttribute(const QString& qualifiedName, const QString& value); QXmlStreamAttribute* new_QXmlStreamAttribute(const QXmlStreamAttribute& arg__1); -void delete_QXmlStreamAttribute(QXmlStreamAttribute* obj) { delete obj; } +void delete_QXmlStreamAttribute(QXmlStreamAttribute* obj) { delete obj; } bool isDefault(QXmlStreamAttribute* theWrappedObject) const; QStringRef name(QXmlStreamAttribute* theWrappedObject) const; QStringRef namespaceUri(QXmlStreamAttribute* theWrappedObject) const; @@ -42,7 +42,7 @@ QXmlStreamAttributes* new_QXmlStreamAttributes(const QXmlStreamAttributes& other QXmlStreamAttributes* a = new QXmlStreamAttributes(); *((QXmlStreamAttributes*)a) = other; return a; } -void delete_QXmlStreamAttributes(QXmlStreamAttributes* obj) { delete obj; } +void delete_QXmlStreamAttributes(QXmlStreamAttributes* obj) { delete obj; } void append(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value); void append(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName, const QString& value); const QXmlStreamAttribute* at(QXmlStreamAttributes* theWrappedObject, int i) const; @@ -107,7 +107,7 @@ class PythonQtWrapper_QXmlStreamEntityDeclaration : public QObject public slots: QXmlStreamEntityDeclaration* new_QXmlStreamEntityDeclaration(); QXmlStreamEntityDeclaration* new_QXmlStreamEntityDeclaration(const QXmlStreamEntityDeclaration& arg__1); -void delete_QXmlStreamEntityDeclaration(QXmlStreamEntityDeclaration* obj) { delete obj; } +void delete_QXmlStreamEntityDeclaration(QXmlStreamEntityDeclaration* obj) { delete obj; } QStringRef name(QXmlStreamEntityDeclaration* theWrappedObject) const; QStringRef notationName(QXmlStreamEntityDeclaration* theWrappedObject) const; bool __ne__(QXmlStreamEntityDeclaration* theWrappedObject, const QXmlStreamEntityDeclaration& other) const; @@ -128,7 +128,7 @@ public slots: QXmlStreamNamespaceDeclaration* new_QXmlStreamNamespaceDeclaration(); QXmlStreamNamespaceDeclaration* new_QXmlStreamNamespaceDeclaration(const QString& prefix, const QString& namespaceUri); QXmlStreamNamespaceDeclaration* new_QXmlStreamNamespaceDeclaration(const QXmlStreamNamespaceDeclaration& arg__1); -void delete_QXmlStreamNamespaceDeclaration(QXmlStreamNamespaceDeclaration* obj) { delete obj; } +void delete_QXmlStreamNamespaceDeclaration(QXmlStreamNamespaceDeclaration* obj) { delete obj; } QStringRef namespaceUri(QXmlStreamNamespaceDeclaration* theWrappedObject) const; bool __ne__(QXmlStreamNamespaceDeclaration* theWrappedObject, const QXmlStreamNamespaceDeclaration& other) const; bool __eq__(QXmlStreamNamespaceDeclaration* theWrappedObject, const QXmlStreamNamespaceDeclaration& other) const; @@ -145,7 +145,7 @@ class PythonQtWrapper_QXmlStreamNotationDeclaration : public QObject public slots: QXmlStreamNotationDeclaration* new_QXmlStreamNotationDeclaration(); QXmlStreamNotationDeclaration* new_QXmlStreamNotationDeclaration(const QXmlStreamNotationDeclaration& arg__1); -void delete_QXmlStreamNotationDeclaration(QXmlStreamNotationDeclaration* obj) { delete obj; } +void delete_QXmlStreamNotationDeclaration(QXmlStreamNotationDeclaration* obj) { delete obj; } QStringRef name(QXmlStreamNotationDeclaration* theWrappedObject) const; bool __ne__(QXmlStreamNotationDeclaration* theWrappedObject, const QXmlStreamNotationDeclaration& other) const; bool __eq__(QXmlStreamNotationDeclaration* theWrappedObject, const QXmlStreamNotationDeclaration& other) const; @@ -172,7 +172,7 @@ QXmlStreamReader* new_QXmlStreamReader(); QXmlStreamReader* new_QXmlStreamReader(QIODevice* device); QXmlStreamReader* new_QXmlStreamReader(const QByteArray& data); QXmlStreamReader* new_QXmlStreamReader(const QString& data); -void delete_QXmlStreamReader(QXmlStreamReader* obj) { delete obj; } +void delete_QXmlStreamReader(QXmlStreamReader* obj) { delete obj; } void addData(QXmlStreamReader* theWrappedObject, const QByteArray& data); void addData(QXmlStreamReader* theWrappedObject, const QString& data); void addExtraNamespaceDeclaration(QXmlStreamReader* theWrappedObject, const QXmlStreamNamespaceDeclaration& extraNamespaceDeclaraction); @@ -239,7 +239,7 @@ public slots: QXmlStreamWriter* new_QXmlStreamWriter(); QXmlStreamWriter* new_QXmlStreamWriter(QByteArray* array); QXmlStreamWriter* new_QXmlStreamWriter(QIODevice* device); -void delete_QXmlStreamWriter(QXmlStreamWriter* obj) { delete obj; } +void delete_QXmlStreamWriter(QXmlStreamWriter* obj) { delete obj; } bool autoFormatting(QXmlStreamWriter* theWrappedObject) const; int autoFormattingIndent(QXmlStreamWriter* theWrappedObject) const; QTextCodec* codec(QXmlStreamWriter* theWrappedObject) const; diff --git a/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp b/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp index 271111f86..fa2806972 100644 --- a/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp +++ b/generated_cpp_511/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp @@ -6,23 +6,23 @@ void PythonQt_init_QtXml(PyObject* module) { -PythonQt::priv()->registerCPPClass("QDomAttr", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomCDATASection", "QDomText", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomCharacterData", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomComment", "QDomCharacterData", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomDocument", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomDocumentFragment", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomDocumentType", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomElement", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomEntity", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomEntityReference", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomImplementation", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomNamedNodeMap", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomNode", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomNodeList", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomNotation", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomProcessingInstruction", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomText", "QDomCharacterData", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomAttr", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomCDATASection", "QDomText", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomCharacterData", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomComment", "QDomCharacterData", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomDocument", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomDocumentFragment", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomDocumentType", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomElement", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomEntity", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomEntityReference", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomImplementation", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomNamedNodeMap", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomNode", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomNodeList", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomNotation", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomProcessingInstruction", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomText", "QDomCharacterData", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QXmlAttributes", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlContentHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlDTDHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -39,16 +39,16 @@ PythonQt::priv()->registerCPPClass("QXmlErrorHandler", "", "QtXml", PythonQtCrea PythonQt::priv()->registerCPPClass("QXmlInputSource", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlLexicalHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlLocator", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QXmlParseException", "", "QtXml", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QXmlParseException", "", "QtXml", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QXmlReader", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlSimpleReader", "QXmlReader", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QXmlStreamAttribute", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QXmlStreamAttributes", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QXmlStreamEntityDeclaration", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QXmlStreamNamespaceDeclaration", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QXmlStreamNotationDeclaration", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QXmlStreamReader", "", "QtXml", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QXmlStreamWriter", "", "QtXml", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QXmlStreamAttribute", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlStreamAttributes", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlStreamEntityDeclaration", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlStreamNamespaceDeclaration", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlStreamNotationDeclaration", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlStreamReader", "", "QtXml", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QXmlStreamWriter", "", "QtXml", PythonQtCreateObject, nullptr, module, 0); PythonQtRegisterListTemplateConverterForKnownClass(QList, QXmlStreamAttribute); 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..e366bad18 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 @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include @@ -39,9 +40,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -61,9 +62,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -83,20 +84,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -116,20 +117,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -149,9 +150,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QtMsgType" , "const QString&" , "const QUrl&" , "const QSourceLocation&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&type0, (void*)&description1, (void*)&identifier2, (void*)&sourceLocation3}; + void* args[5] = {nullptr, (void*)&type0, (void*)&description1, (void*)&identifier2, (void*)&sourceLocation3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -171,9 +172,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -226,9 +227,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -248,9 +249,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -270,20 +271,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue = 0; - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -303,20 +304,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -336,20 +337,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QUrl" , "const QUrl&" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QUrl returnValue; - void* args[3] = {NULL, (void*)&relative0, (void*)&baseURI1}; + QUrl returnValue{}; + void* args[3] = {nullptr, (void*)&relative0, (void*)&baseURI1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resolve", methodInfo, result); } else { returnValue = *((QUrl*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -369,9 +370,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -419,20 +420,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVector returnValue; - void* args[2] = {NULL, (void*)&element0}; + QVector returnValue{}; + void* args[2] = {nullptr, (void*)&element0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("attributes", methodInfo, result); } else { returnValue = *((QVector*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -452,20 +453,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QUrl returnValue; - void* args[2] = {NULL, (void*)&ni0}; + QUrl returnValue{}; + void* args[2] = {nullptr, (void*)&ni0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("baseUri", methodInfo, result); } else { returnValue = *((QUrl*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -485,20 +486,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlNodeModelIndex::DocumentOrder" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QXmlNodeModelIndex::DocumentOrder returnValue; - void* args[3] = {NULL, (void*)&ni10, (void*)&ni21}; + QXmlNodeModelIndex::DocumentOrder returnValue{}; + void* args[3] = {nullptr, (void*)&ni10, (void*)&ni21}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("compareOrder", methodInfo, result); } else { returnValue = *((QXmlNodeModelIndex::DocumentOrder*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -518,20 +519,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QUrl returnValue; - void* args[2] = {NULL, (void*)&ni0}; + QUrl returnValue{}; + void* args[2] = {nullptr, (void*)&ni0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("documentUri", methodInfo, result); } else { returnValue = *((QUrl*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -551,20 +552,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlName&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlNodeModelIndex returnValue; - void* args[2] = {NULL, (void*)&NCName0}; + QXmlNodeModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&NCName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("elementById", methodInfo, result); } else { returnValue = *((QXmlNodeModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -584,20 +585,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&ni10, (void*)&ni21}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&ni10, (void*)&ni21}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isDeepEqual", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -617,20 +618,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlNodeModelIndex::NodeKind" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlNodeModelIndex::NodeKind returnValue; - void* args[2] = {NULL, (void*)&ni0}; + QXmlNodeModelIndex::NodeKind returnValue{}; + void* args[2] = {nullptr, (void*)&ni0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("kind", methodInfo, result); } else { returnValue = *((QXmlNodeModelIndex::NodeKind*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -650,20 +651,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlName" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlName returnValue; - void* args[2] = {NULL, (void*)&ni0}; + QXmlName returnValue{}; + void* args[2] = {nullptr, (void*)&ni0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); } else { returnValue = *((QXmlName*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -683,20 +684,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVector returnValue; - void* args[2] = {NULL, (void*)&n0}; + QVector returnValue{}; + void* args[2] = {nullptr, (void*)&n0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("namespaceBindings", methodInfo, result); } else { returnValue = *((QVector*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -716,20 +717,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"short" , "const QXmlNodeModelIndex&" , "const short"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - short returnValue = 0; - void* args[3] = {NULL, (void*)&ni0, (void*)&prefix1}; + short returnValue{}; + void* args[3] = {nullptr, (void*)&ni0, (void*)&prefix1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("namespaceForPrefix", methodInfo, result); } else { returnValue = *((short*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -749,20 +750,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlNodeModelIndex" , "QAbstractXmlNodeModel::SimpleAxis" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QXmlNodeModelIndex returnValue; - void* args[3] = {NULL, (void*)&axis0, (void*)&origin1}; + QXmlNodeModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&axis0, (void*)&origin1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextFromSimpleAxis", methodInfo, result); } else { returnValue = *((QXmlNodeModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -782,20 +783,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVector" , "const QXmlName&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVector returnValue; - void* args[2] = {NULL, (void*)&NCName0}; + QVector returnValue{}; + void* args[2] = {nullptr, (void*)&NCName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nodesByIdref", methodInfo, result); } else { returnValue = *((QVector*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -815,20 +816,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlNodeModelIndex returnValue; - void* args[2] = {NULL, (void*)&n0}; + QXmlNodeModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&n0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("root", methodInfo, result); } else { returnValue = *((QXmlNodeModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -848,20 +849,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&n0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&n0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stringValue", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -881,20 +882,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&n0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&n0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("typedValue", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1019,9 +1020,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1041,9 +1042,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1063,9 +1064,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QStringRef&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1085,9 +1086,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1107,9 +1108,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1129,9 +1130,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1151,9 +1152,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1173,9 +1174,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QXmlName&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1195,9 +1196,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&target0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&target0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1217,9 +1218,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1239,9 +1240,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QXmlName&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1261,9 +1262,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1283,9 +1284,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QStringRef&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1384,20 +1385,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVector returnValue; - void* args[2] = {NULL, (void*)&element0}; + QVector returnValue{}; + void* args[2] = {nullptr, (void*)&element0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("attributes", methodInfo, result); } else { returnValue = *((QVector*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1417,20 +1418,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QUrl returnValue; - void* args[2] = {NULL, (void*)&node0}; + QUrl returnValue{}; + void* args[2] = {nullptr, (void*)&node0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("baseUri", methodInfo, result); } else { returnValue = *((QUrl*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1450,20 +1451,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlNodeModelIndex::DocumentOrder" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QXmlNodeModelIndex::DocumentOrder returnValue; - void* args[3] = {NULL, (void*)&ni10, (void*)&ni21}; + QXmlNodeModelIndex::DocumentOrder returnValue{}; + void* args[3] = {nullptr, (void*)&ni10, (void*)&ni21}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("compareOrder", methodInfo, result); } else { returnValue = *((QXmlNodeModelIndex::DocumentOrder*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1483,20 +1484,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QUrl returnValue; - void* args[2] = {NULL, (void*)&ni0}; + QUrl returnValue{}; + void* args[2] = {nullptr, (void*)&ni0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("documentUri", methodInfo, result); } else { returnValue = *((QUrl*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1516,20 +1517,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlName&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlNodeModelIndex returnValue; - void* args[2] = {NULL, (void*)&id0}; + QXmlNodeModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&id0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("elementById", methodInfo, result); } else { returnValue = *((QXmlNodeModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1549,20 +1550,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue = 0; - void* args[3] = {NULL, (void*)&ni10, (void*)&ni21}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&ni10, (void*)&ni21}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isDeepEqual", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1582,20 +1583,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlNodeModelIndex::NodeKind" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlNodeModelIndex::NodeKind returnValue; - void* args[2] = {NULL, (void*)&ni0}; + QXmlNodeModelIndex::NodeKind returnValue{}; + void* args[2] = {nullptr, (void*)&ni0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("kind", methodInfo, result); } else { returnValue = *((QXmlNodeModelIndex::NodeKind*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1615,20 +1616,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlName" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlName returnValue; - void* args[2] = {NULL, (void*)&ni0}; + QXmlName returnValue{}; + void* args[2] = {nullptr, (void*)&ni0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); } else { returnValue = *((QXmlName*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1648,20 +1649,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVector returnValue; - void* args[2] = {NULL, (void*)&arg__1}; + QVector returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("namespaceBindings", methodInfo, result); } else { returnValue = *((QVector*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1681,20 +1682,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"short" , "const QXmlNodeModelIndex&" , "const short"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - short returnValue = 0; - void* args[3] = {NULL, (void*)&ni0, (void*)&prefix1}; + short returnValue{}; + void* args[3] = {nullptr, (void*)&ni0, (void*)&prefix1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("namespaceForPrefix", methodInfo, result); } else { returnValue = *((short*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1714,20 +1715,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlNodeModelIndex" , "QAbstractXmlNodeModel::SimpleAxis" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QXmlNodeModelIndex returnValue; - void* args[3] = {NULL, (void*)&axis0, (void*)&origin1}; + QXmlNodeModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&axis0, (void*)&origin1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextFromSimpleAxis", methodInfo, result); } else { returnValue = *((QXmlNodeModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1747,20 +1748,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVector" , "const QXmlName&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVector returnValue; - void* args[2] = {NULL, (void*)&idref0}; + QVector returnValue{}; + void* args[2] = {nullptr, (void*)&idref0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nodesByIdref", methodInfo, result); } else { returnValue = *((QVector*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1780,20 +1781,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlNodeModelIndex returnValue; - void* args[2] = {NULL, (void*)&n0}; + QXmlNodeModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&n0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("root", methodInfo, result); } else { returnValue = *((QXmlNodeModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1813,20 +1814,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QString" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&node0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&node0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stringValue", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1846,20 +1847,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QVariant" , "const QXmlNodeModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&n0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&n0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("typedValue", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1960,9 +1961,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1982,9 +1983,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2004,9 +2005,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QStringRef&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2026,9 +2027,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2048,9 +2049,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2070,9 +2071,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2092,9 +2093,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2114,9 +2115,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QXmlName&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&nb0}; + void* args[2] = {nullptr, (void*)&nb0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2136,9 +2137,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2158,9 +2159,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2180,9 +2181,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QXmlName&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2202,9 +2203,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2224,9 +2225,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QStringRef&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2746,9 +2747,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2768,9 +2769,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2790,9 +2791,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QStringRef&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2812,9 +2813,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2834,9 +2835,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2856,9 +2857,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2878,9 +2879,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2900,9 +2901,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QXmlName&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&nb0}; + void* args[2] = {nullptr, (void*)&nb0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2922,9 +2923,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2944,9 +2945,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2966,9 +2967,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QXmlName&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2988,9 +2989,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3010,9 +3011,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QStringRef&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_511/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h b/generated_cpp_511/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h index 84c3fdc7c..757addcc2 100644 --- a/generated_cpp_511/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h +++ b/generated_cpp_511/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -31,20 +32,20 @@ class PythonQtShell_QAbstractMessageHandler : public QAbstractMessageHandler { public: - PythonQtShell_QAbstractMessageHandler(QObject* parent = nullptr):QAbstractMessageHandler(parent),_wrapper(NULL) {}; + PythonQtShell_QAbstractMessageHandler(QObject* parent = nullptr):QAbstractMessageHandler(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractMessageHandler(); + ~PythonQtShell_QAbstractMessageHandler() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void handleMessage(QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation); -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void handleMessage(QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractMessageHandler : public QAbstractMessageHandler @@ -58,7 +59,7 @@ class PythonQtWrapper_QAbstractMessageHandler : public QObject public: public slots: QAbstractMessageHandler* new_QAbstractMessageHandler(QObject* parent = nullptr); -void delete_QAbstractMessageHandler(QAbstractMessageHandler* obj) { delete obj; } +void delete_QAbstractMessageHandler(QAbstractMessageHandler* obj) { delete obj; } void handleMessage(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation); void py_q_handleMessage(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation){ (((PythonQtPublicPromoter_QAbstractMessageHandler*)theWrappedObject)->py_q_handleMessage(type, description, identifier, sourceLocation));} void message(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier = QUrl(), const QSourceLocation& sourceLocation = QSourceLocation()); @@ -71,20 +72,20 @@ void delete_QAbstractMessageHandler(QAbstractMessageHandler* obj) { delete obj; class PythonQtShell_QAbstractUriResolver : public QAbstractUriResolver { public: - PythonQtShell_QAbstractUriResolver(QObject* parent = nullptr):QAbstractUriResolver(parent),_wrapper(NULL) {}; + PythonQtShell_QAbstractUriResolver(QObject* parent = nullptr):QAbstractUriResolver(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractUriResolver(); + ~PythonQtShell_QAbstractUriResolver() override; -virtual void childEvent(QChildEvent* event); -virtual void customEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QUrl resolve(const QUrl& relative, const QUrl& baseURI) const; -virtual void timerEvent(QTimerEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QUrl resolve(const QUrl& relative, const QUrl& baseURI) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractUriResolver : public QAbstractUriResolver @@ -97,7 +98,7 @@ class PythonQtWrapper_QAbstractUriResolver : public QObject public: public slots: QAbstractUriResolver* new_QAbstractUriResolver(QObject* parent = nullptr); -void delete_QAbstractUriResolver(QAbstractUriResolver* obj) { delete obj; } +void delete_QAbstractUriResolver(QAbstractUriResolver* obj) { delete obj; } QUrl resolve(QAbstractUriResolver* theWrappedObject, const QUrl& relative, const QUrl& baseURI) const; QUrl py_q_resolve(QAbstractUriResolver* theWrappedObject, const QUrl& relative, const QUrl& baseURI) const{ return (((PythonQtPublicPromoter_QAbstractUriResolver*)theWrappedObject)->py_q_resolve(relative, baseURI));} }; @@ -109,27 +110,27 @@ void delete_QAbstractUriResolver(QAbstractUriResolver* obj) { delete obj; } class PythonQtShell_QAbstractXmlNodeModel : public QAbstractXmlNodeModel { public: - PythonQtShell_QAbstractXmlNodeModel():QAbstractXmlNodeModel(),_wrapper(NULL) {}; + PythonQtShell_QAbstractXmlNodeModel():QAbstractXmlNodeModel(),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractXmlNodeModel(); + ~PythonQtShell_QAbstractXmlNodeModel() override; -virtual QVector attributes(const QXmlNodeModelIndex& element) const; -virtual QUrl baseUri(const QXmlNodeModelIndex& ni) const; -virtual QXmlNodeModelIndex::DocumentOrder compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; -virtual QUrl documentUri(const QXmlNodeModelIndex& ni) const; -virtual QXmlNodeModelIndex elementById(const QXmlName& NCName) const; -virtual bool isDeepEqual(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; -virtual QXmlNodeModelIndex::NodeKind kind(const QXmlNodeModelIndex& ni) const; -virtual QXmlName name(const QXmlNodeModelIndex& ni) const; -virtual QVector namespaceBindings(const QXmlNodeModelIndex& n) const; -virtual short namespaceForPrefix(const QXmlNodeModelIndex& ni, const short prefix) const; -virtual QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const; -virtual QVector nodesByIdref(const QXmlName& NCName) const; -virtual QXmlNodeModelIndex root(const QXmlNodeModelIndex& n) const; -virtual QString stringValue(const QXmlNodeModelIndex& n) const; -virtual QVariant typedValue(const QXmlNodeModelIndex& n) const; +QVector attributes(const QXmlNodeModelIndex& element) const override; +QUrl baseUri(const QXmlNodeModelIndex& ni) const override; +QXmlNodeModelIndex::DocumentOrder compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const override; +QUrl documentUri(const QXmlNodeModelIndex& ni) const override; +QXmlNodeModelIndex elementById(const QXmlName& NCName) const override; +bool isDeepEqual(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const override; +QXmlNodeModelIndex::NodeKind kind(const QXmlNodeModelIndex& ni) const override; +QXmlName name(const QXmlNodeModelIndex& ni) const override; +QVector namespaceBindings(const QXmlNodeModelIndex& n) const override; +short namespaceForPrefix(const QXmlNodeModelIndex& ni, const short prefix) const override; +QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const override; +QVector nodesByIdref(const QXmlName& NCName) const override; +QXmlNodeModelIndex root(const QXmlNodeModelIndex& n) const override; +QString stringValue(const QXmlNodeModelIndex& n) const override; +QVariant typedValue(const QXmlNodeModelIndex& n) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractXmlNodeModel : public QAbstractXmlNodeModel @@ -166,7 +167,7 @@ enum SimpleAxis{ Parent = QAbstractXmlNodeModel::Parent, FirstChild = QAbstractXmlNodeModel::FirstChild, PreviousSibling = QAbstractXmlNodeModel::PreviousSibling, NextSibling = QAbstractXmlNodeModel::NextSibling}; public slots: QAbstractXmlNodeModel* new_QAbstractXmlNodeModel(); -void delete_QAbstractXmlNodeModel(QAbstractXmlNodeModel* obj) { delete obj; } +void delete_QAbstractXmlNodeModel(QAbstractXmlNodeModel* obj) { delete obj; } QVector attributes(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& element) const; QVector py_q_attributes(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& element) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_attributes(element));} QUrl baseUri(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const; @@ -210,25 +211,25 @@ void delete_QAbstractXmlNodeModel(QAbstractXmlNodeModel* obj) { delete obj; } class PythonQtShell_QAbstractXmlReceiver : public QAbstractXmlReceiver { public: - PythonQtShell_QAbstractXmlReceiver():QAbstractXmlReceiver(),_wrapper(NULL) {}; + PythonQtShell_QAbstractXmlReceiver():QAbstractXmlReceiver(),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractXmlReceiver(); + ~PythonQtShell_QAbstractXmlReceiver() override; -virtual void atomicValue(const QVariant& value); -virtual void attribute(const QXmlName& name, const QStringRef& value); -virtual void characters(const QStringRef& value); -virtual void comment(const QString& value); -virtual void endDocument(); -virtual void endElement(); -virtual void endOfSequence(); -virtual void namespaceBinding(const QXmlName& name); -virtual void processingInstruction(const QXmlName& target, const QString& value); -virtual void startDocument(); -virtual void startElement(const QXmlName& name); -virtual void startOfSequence(); -virtual void whitespaceOnly(const QStringRef& value); +void atomicValue(const QVariant& value) override; +void attribute(const QXmlName& name, const QStringRef& value) override; +void characters(const QStringRef& value) override; +void comment(const QString& value) override; +void endDocument() override; +void endElement() override; +void endOfSequence() override; +void namespaceBinding(const QXmlName& name) override; +void processingInstruction(const QXmlName& target, const QString& value) override; +void startDocument() override; +void startElement(const QXmlName& name) override; +void startOfSequence() override; +void whitespaceOnly(const QStringRef& value) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractXmlReceiver : public QAbstractXmlReceiver @@ -253,7 +254,7 @@ class PythonQtWrapper_QAbstractXmlReceiver : public QObject public: public slots: QAbstractXmlReceiver* new_QAbstractXmlReceiver(); -void delete_QAbstractXmlReceiver(QAbstractXmlReceiver* obj) { delete obj; } +void delete_QAbstractXmlReceiver(QAbstractXmlReceiver* obj) { delete obj; } void atomicValue(QAbstractXmlReceiver* theWrappedObject, const QVariant& value); void py_q_atomicValue(QAbstractXmlReceiver* theWrappedObject, const QVariant& value){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_atomicValue(value));} void attribute(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name, const QStringRef& value); @@ -309,27 +310,27 @@ public slots: class PythonQtShell_QSimpleXmlNodeModel : public QSimpleXmlNodeModel { public: - PythonQtShell_QSimpleXmlNodeModel(const QXmlNamePool& namePool):QSimpleXmlNodeModel(namePool),_wrapper(NULL) {}; + PythonQtShell_QSimpleXmlNodeModel(const QXmlNamePool& namePool):QSimpleXmlNodeModel(namePool),_wrapper(nullptr) {}; - ~PythonQtShell_QSimpleXmlNodeModel(); + ~PythonQtShell_QSimpleXmlNodeModel() override; -virtual QVector attributes(const QXmlNodeModelIndex& element) const; -virtual QUrl baseUri(const QXmlNodeModelIndex& node) const; -virtual QXmlNodeModelIndex::DocumentOrder compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; -virtual QUrl documentUri(const QXmlNodeModelIndex& ni) const; -virtual QXmlNodeModelIndex elementById(const QXmlName& id) const; -virtual bool isDeepEqual(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; -virtual QXmlNodeModelIndex::NodeKind kind(const QXmlNodeModelIndex& ni) const; -virtual QXmlName name(const QXmlNodeModelIndex& ni) const; -virtual QVector namespaceBindings(const QXmlNodeModelIndex& arg__1) const; -virtual short namespaceForPrefix(const QXmlNodeModelIndex& ni, const short prefix) const; -virtual QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const; -virtual QVector nodesByIdref(const QXmlName& idref) const; -virtual QXmlNodeModelIndex root(const QXmlNodeModelIndex& n) const; -virtual QString stringValue(const QXmlNodeModelIndex& node) const; -virtual QVariant typedValue(const QXmlNodeModelIndex& n) const; +QVector attributes(const QXmlNodeModelIndex& element) const override; +QUrl baseUri(const QXmlNodeModelIndex& node) const override; +QXmlNodeModelIndex::DocumentOrder compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const override; +QUrl documentUri(const QXmlNodeModelIndex& ni) const override; +QXmlNodeModelIndex elementById(const QXmlName& id) const override; +bool isDeepEqual(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const override; +QXmlNodeModelIndex::NodeKind kind(const QXmlNodeModelIndex& ni) const override; +QXmlName name(const QXmlNodeModelIndex& ni) const override; +QVector namespaceBindings(const QXmlNodeModelIndex& arg__1) const override; +short namespaceForPrefix(const QXmlNodeModelIndex& ni, const short prefix) const override; +QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const override; +QVector nodesByIdref(const QXmlName& idref) const override; +QXmlNodeModelIndex root(const QXmlNodeModelIndex& n) const override; +QString stringValue(const QXmlNodeModelIndex& node) const override; +QVariant typedValue(const QXmlNodeModelIndex& n) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSimpleXmlNodeModel : public QSimpleXmlNodeModel @@ -346,7 +347,7 @@ class PythonQtWrapper_QSimpleXmlNodeModel : public QObject public: public slots: QSimpleXmlNodeModel* new_QSimpleXmlNodeModel(const QXmlNamePool& namePool); -void delete_QSimpleXmlNodeModel(QSimpleXmlNodeModel* obj) { delete obj; } +void delete_QSimpleXmlNodeModel(QSimpleXmlNodeModel* obj) { delete obj; } QUrl py_q_baseUri(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& node) const{ return (((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->py_q_baseUri(node));} QXmlNodeModelIndex py_q_elementById(QSimpleXmlNodeModel* theWrappedObject, const QXmlName& id) const{ return (((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->py_q_elementById(id));} QXmlNamePool* namePool(QSimpleXmlNodeModel* theWrappedObject) const; @@ -366,7 +367,7 @@ public slots: QSourceLocation* new_QSourceLocation(); QSourceLocation* new_QSourceLocation(const QSourceLocation& other); QSourceLocation* new_QSourceLocation(const QUrl& uri, int line = -1, int column = -1); -void delete_QSourceLocation(QSourceLocation* obj) { delete obj; } +void delete_QSourceLocation(QSourceLocation* obj) { delete obj; } qint64 column(QSourceLocation* theWrappedObject) const; bool isNull(QSourceLocation* theWrappedObject) const; qint64 line(QSourceLocation* theWrappedObject) const; @@ -387,25 +388,25 @@ void delete_QSourceLocation(QSourceLocation* obj) { delete obj; } class PythonQtShell_QXmlFormatter : public QXmlFormatter { public: - PythonQtShell_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice):QXmlFormatter(query, outputDevice),_wrapper(NULL) {}; + PythonQtShell_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice):QXmlFormatter(query, outputDevice),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlFormatter(); + ~PythonQtShell_QXmlFormatter() override; -virtual void atomicValue(const QVariant& value); -virtual void attribute(const QXmlName& name, const QStringRef& value); -virtual void characters(const QStringRef& value); -virtual void comment(const QString& value); -virtual void endDocument(); -virtual void endElement(); -virtual void endOfSequence(); -virtual void namespaceBinding(const QXmlName& nb); -virtual void processingInstruction(const QXmlName& name, const QString& value); -virtual void startDocument(); -virtual void startElement(const QXmlName& name); -virtual void startOfSequence(); -virtual void whitespaceOnly(const QStringRef& value); +void atomicValue(const QVariant& value) override; +void attribute(const QXmlName& name, const QStringRef& value) override; +void characters(const QStringRef& value) override; +void comment(const QString& value) override; +void endDocument() override; +void endElement() override; +void endOfSequence() override; +void namespaceBinding(const QXmlName& nb) override; +void processingInstruction(const QXmlName& name, const QString& value) override; +void startDocument() override; +void startElement(const QXmlName& name) override; +void startOfSequence() override; +void whitespaceOnly(const QStringRef& value) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlFormatter : public QXmlFormatter @@ -428,7 +429,7 @@ class PythonQtWrapper_QXmlFormatter : public QObject public: public slots: QXmlFormatter* new_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice); -void delete_QXmlFormatter(QXmlFormatter* obj) { delete obj; } +void delete_QXmlFormatter(QXmlFormatter* obj) { delete obj; } void py_q_atomicValue(QXmlFormatter* theWrappedObject, const QVariant& value){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_atomicValue(value));} void py_q_attribute(QXmlFormatter* theWrappedObject, const QXmlName& name, const QStringRef& value){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_attribute(name, value));} void py_q_characters(QXmlFormatter* theWrappedObject, const QStringRef& value){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_characters(value));} @@ -456,7 +457,7 @@ QXmlItem* new_QXmlItem(); QXmlItem* new_QXmlItem(const QVariant& atomicValue); QXmlItem* new_QXmlItem(const QXmlItem& other); QXmlItem* new_QXmlItem(const QXmlNodeModelIndex& node); -void delete_QXmlItem(QXmlItem* obj) { delete obj; } +void delete_QXmlItem(QXmlItem* obj) { delete obj; } bool isAtomicValue(QXmlItem* theWrappedObject) const; bool isNode(QXmlItem* theWrappedObject) const; bool isNull(QXmlItem* theWrappedObject) const; @@ -476,7 +477,7 @@ public slots: QXmlName* new_QXmlName(); QXmlName* new_QXmlName(QXmlNamePool& namePool, const QString& localName, const QString& namespaceURI = QString(), const QString& prefix = QString()); QXmlName* new_QXmlName(const QXmlName& other); -void delete_QXmlName(QXmlName* obj) { delete obj; } +void delete_QXmlName(QXmlName* obj) { delete obj; } QXmlName static_QXmlName_fromClarkName(const QString& clarkName, const QXmlNamePool& namePool); bool static_QXmlName_isNCName(const QString& candidate); bool isNull(QXmlName* theWrappedObject) const; @@ -499,7 +500,7 @@ class PythonQtWrapper_QXmlNamePool : public QObject public slots: QXmlNamePool* new_QXmlNamePool(); QXmlNamePool* new_QXmlNamePool(const QXmlNamePool& other); -void delete_QXmlNamePool(QXmlNamePool* obj) { delete obj; } +void delete_QXmlNamePool(QXmlNamePool* obj) { delete obj; } }; @@ -517,7 +518,7 @@ enum NodeKind{ public slots: QXmlNodeModelIndex* new_QXmlNodeModelIndex(); QXmlNodeModelIndex* new_QXmlNodeModelIndex(const QXmlNodeModelIndex& other); -void delete_QXmlNodeModelIndex(QXmlNodeModelIndex* obj) { delete obj; } +void delete_QXmlNodeModelIndex(QXmlNodeModelIndex* obj) { delete obj; } qint64 additionalData(QXmlNodeModelIndex* theWrappedObject) const; qint64 data(QXmlNodeModelIndex* theWrappedObject) const; bool isNull(QXmlNodeModelIndex* theWrappedObject) const; @@ -542,7 +543,7 @@ QXmlQuery* new_QXmlQuery(); QXmlQuery* new_QXmlQuery(QXmlQuery::QueryLanguage queryLanguage, const QXmlNamePool& np = QXmlNamePool()); QXmlQuery* new_QXmlQuery(const QXmlNamePool& np); QXmlQuery* new_QXmlQuery(const QXmlQuery& other); -void delete_QXmlQuery(QXmlQuery* obj) { delete obj; } +void delete_QXmlQuery(QXmlQuery* obj) { delete obj; } void bindVariable(QXmlQuery* theWrappedObject, const QString& localName, QIODevice* arg__2); void bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlItem& value); void bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlQuery& query); @@ -582,12 +583,12 @@ void delete_QXmlQuery(QXmlQuery* obj) { delete obj; } class PythonQtShell_QXmlResultItems : public QXmlResultItems { public: - PythonQtShell_QXmlResultItems():QXmlResultItems(),_wrapper(NULL) {}; + PythonQtShell_QXmlResultItems():QXmlResultItems(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlResultItems(); + ~PythonQtShell_QXmlResultItems() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QXmlResultItems : public QObject @@ -595,7 +596,7 @@ class PythonQtWrapper_QXmlResultItems : public QObject public: public slots: QXmlResultItems* new_QXmlResultItems(); -void delete_QXmlResultItems(QXmlResultItems* obj) { delete obj; } +void delete_QXmlResultItems(QXmlResultItems* obj) { delete obj; } QXmlItem current(QXmlResultItems* theWrappedObject) const; bool hasError(QXmlResultItems* theWrappedObject) const; QXmlItem next(QXmlResultItems* theWrappedObject); @@ -611,7 +612,7 @@ class PythonQtWrapper_QXmlSchema : public QObject public slots: QXmlSchema* new_QXmlSchema(); QXmlSchema* new_QXmlSchema(const QXmlSchema& other); -void delete_QXmlSchema(QXmlSchema* obj) { delete obj; } +void delete_QXmlSchema(QXmlSchema* obj) { delete obj; } QUrl documentUri(QXmlSchema* theWrappedObject) const; bool isValid(QXmlSchema* theWrappedObject) const; bool load(QXmlSchema* theWrappedObject, QIODevice* source, const QUrl& documentUri = QUrl()); @@ -638,7 +639,7 @@ class PythonQtWrapper_QXmlSchemaValidator : public QObject public slots: QXmlSchemaValidator* new_QXmlSchemaValidator(); QXmlSchemaValidator* new_QXmlSchemaValidator(const QXmlSchema& schema); -void delete_QXmlSchemaValidator(QXmlSchemaValidator* obj) { delete obj; } +void delete_QXmlSchemaValidator(QXmlSchemaValidator* obj) { delete obj; } QAbstractMessageHandler* messageHandler(QXmlSchemaValidator* theWrappedObject) const; QXmlNamePool namePool(QXmlSchemaValidator* theWrappedObject) const; QNetworkAccessManager* networkAccessManager(QXmlSchemaValidator* theWrappedObject) const; @@ -659,25 +660,25 @@ void delete_QXmlSchemaValidator(QXmlSchemaValidator* obj) { delete obj; } class PythonQtShell_QXmlSerializer : public QXmlSerializer { public: - PythonQtShell_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice):QXmlSerializer(query, outputDevice),_wrapper(NULL) {}; + PythonQtShell_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice):QXmlSerializer(query, outputDevice),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlSerializer(); + ~PythonQtShell_QXmlSerializer() override; -virtual void atomicValue(const QVariant& value); -virtual void attribute(const QXmlName& name, const QStringRef& value); -virtual void characters(const QStringRef& value); -virtual void comment(const QString& value); -virtual void endDocument(); -virtual void endElement(); -virtual void endOfSequence(); -virtual void namespaceBinding(const QXmlName& nb); -virtual void processingInstruction(const QXmlName& name, const QString& value); -virtual void startDocument(); -virtual void startElement(const QXmlName& name); -virtual void startOfSequence(); -virtual void whitespaceOnly(const QStringRef& value); +void atomicValue(const QVariant& value) override; +void attribute(const QXmlName& name, const QStringRef& value) override; +void characters(const QStringRef& value) override; +void comment(const QString& value) override; +void endDocument() override; +void endElement() override; +void endOfSequence() override; +void namespaceBinding(const QXmlName& nb) override; +void processingInstruction(const QXmlName& name, const QString& value) override; +void startDocument() override; +void startElement(const QXmlName& name) override; +void startOfSequence() override; +void whitespaceOnly(const QStringRef& value) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlSerializer : public QXmlSerializer @@ -701,7 +702,7 @@ class PythonQtWrapper_QXmlSerializer : public QObject public: public slots: QXmlSerializer* new_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice); -void delete_QXmlSerializer(QXmlSerializer* obj) { delete obj; } +void delete_QXmlSerializer(QXmlSerializer* obj) { delete obj; } void py_q_atomicValue(QXmlSerializer* theWrappedObject, const QVariant& value){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_atomicValue(value));} void py_q_attribute(QXmlSerializer* theWrappedObject, const QXmlName& name, const QStringRef& value){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_attribute(name, value));} void py_q_characters(QXmlSerializer* theWrappedObject, const QStringRef& value){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_characters(value));} diff --git a/generated_cpp_511/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp b/generated_cpp_511/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp index a38b192b2..48553c77b 100644 --- a/generated_cpp_511/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp +++ b/generated_cpp_511/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp @@ -9,19 +9,19 @@ PythonQt::priv()->registerClass(&QAbstractMessageHandler::staticMetaObject, "QtX PythonQt::priv()->registerClass(&QAbstractUriResolver::staticMetaObject, "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QAbstractXmlNodeModel", "", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QAbstractXmlReceiver", "", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QPatternist", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QPatternistSDK", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QPatternist", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QPatternistSDK", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QSimpleXmlNodeModel", "QAbstractXmlNodeModel", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSourceLocation", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSourceLocation", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QXmlFormatter", "QXmlSerializer", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QXmlItem", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QXmlName", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QXmlNamePool", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QXmlNodeModelIndex", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QXmlQuery", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QXmlItem", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QXmlName", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlNamePool", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QXmlNodeModelIndex", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlQuery", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QXmlResultItems", "", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QXmlSchema", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QXmlSchemaValidator", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QXmlSchema", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QXmlSchemaValidator", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QXmlSerializer", "QAbstractXmlReceiver", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); From ebe211da58091639ab1bc2cc9803365a4a19cdae Mon Sep 17 00:00:00 2001 From: YuriUfimtsev Date: Tue, 31 Oct 2023 23:06:17 +0300 Subject: [PATCH 2/2] Add 5.11.3 generated with enum class support --- .../com_trolltech_qt_core/com_trolltech_qt_core1.h | 4 +++- .../com_trolltech_qt_core/com_trolltech_qt_core3.cpp | 10 ++++++++++ .../com_trolltech_qt_core/com_trolltech_qt_core3.h | 5 +++++ .../com_trolltech_qt_network0.cpp | 10 ++++++++++ .../com_trolltech_qt_network0.h | 5 +++++ 5 files changed, 33 insertions(+), 1 deletion(-) diff --git a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core1.h b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core1.h index 2195fe67e..50810926c 100644 --- a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core1.h +++ b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core1.h @@ -1316,8 +1316,10 @@ void delete_QMetaProperty(QMetaProperty* obj) { delete obj; } class PythonQtWrapper_QMetaType : public QObject { Q_OBJECT public: -Q_ENUMS(TypeFlag ) +Q_ENUMS(Type TypeFlag ) Q_FLAGS(TypeFlags ) +enum Type{ + UnknownType = QMetaType::UnknownType, Bool = QMetaType::Bool, Int = QMetaType::Int, UInt = QMetaType::UInt, LongLong = QMetaType::LongLong, ULongLong = QMetaType::ULongLong, Double = QMetaType::Double, Long = QMetaType::Long, Short = QMetaType::Short, Char = QMetaType::Char, ULong = QMetaType::ULong, UShort = QMetaType::UShort, UChar = QMetaType::UChar, Float = QMetaType::Float, VoidStar = QMetaType::VoidStar, QChar = QMetaType::QChar, QString = QMetaType::QString, QStringList = QMetaType::QStringList, QByteArray = QMetaType::QByteArray, QBitArray = QMetaType::QBitArray, QDate = QMetaType::QDate, QTime = QMetaType::QTime, QDateTime = QMetaType::QDateTime, QUrl = QMetaType::QUrl, QLocale = QMetaType::QLocale, QRect = QMetaType::QRect, QRectF = QMetaType::QRectF, QSize = QMetaType::QSize, QSizeF = QMetaType::QSizeF, QLine = QMetaType::QLine, QLineF = QMetaType::QLineF, QPoint = QMetaType::QPoint, QPointF = QMetaType::QPointF, QRegExp = QMetaType::QRegExp, QEasingCurve = QMetaType::QEasingCurve, QUuid = QMetaType::QUuid, QVariant = QMetaType::QVariant, QModelIndex = QMetaType::QModelIndex, QPersistentModelIndex = QMetaType::QPersistentModelIndex, QRegularExpression = QMetaType::QRegularExpression, QJsonValue = QMetaType::QJsonValue, QJsonObject = QMetaType::QJsonObject, QJsonArray = QMetaType::QJsonArray, QJsonDocument = QMetaType::QJsonDocument, QByteArrayList = QMetaType::QByteArrayList, QObjectStar = QMetaType::QObjectStar, SChar = QMetaType::SChar, Void = QMetaType::Void, Nullptr = QMetaType::Nullptr, QVariantMap = QMetaType::QVariantMap, QVariantList = QMetaType::QVariantList, QVariantHash = QMetaType::QVariantHash, QFont = QMetaType::QFont, QPixmap = QMetaType::QPixmap, QBrush = QMetaType::QBrush, QColor = QMetaType::QColor, QPalette = QMetaType::QPalette, QIcon = QMetaType::QIcon, QImage = QMetaType::QImage, QPolygon = QMetaType::QPolygon, QRegion = QMetaType::QRegion, QBitmap = QMetaType::QBitmap, QCursor = QMetaType::QCursor, QKeySequence = QMetaType::QKeySequence, QPen = QMetaType::QPen, QTextLength = QMetaType::QTextLength, QTextFormat = QMetaType::QTextFormat, QMatrix = QMetaType::QMatrix, QTransform = QMetaType::QTransform, QMatrix4x4 = QMetaType::QMatrix4x4, QVector2D = QMetaType::QVector2D, QVector3D = QMetaType::QVector3D, QVector4D = QMetaType::QVector4D, QQuaternion = QMetaType::QQuaternion, QPolygonF = QMetaType::QPolygonF, QSizePolicy = QMetaType::QSizePolicy, LastCoreType = QMetaType::LastCoreType, LastGuiType = QMetaType::LastGuiType, User = QMetaType::User}; enum TypeFlag{ NeedsConstruction = QMetaType::NeedsConstruction, NeedsDestruction = QMetaType::NeedsDestruction, MovableType = QMetaType::MovableType, PointerToQObject = QMetaType::PointerToQObject, IsEnumeration = QMetaType::IsEnumeration, SharedPointerToQObject = QMetaType::SharedPointerToQObject, WeakPointerToQObject = QMetaType::WeakPointerToQObject, TrackingPointerToQObject = QMetaType::TrackingPointerToQObject, WasDeclaredAsMetaType = QMetaType::WasDeclaredAsMetaType, IsGadget = QMetaType::IsGadget, PointerToGadget = QMetaType::PointerToGadget}; Q_DECLARE_FLAGS(TypeFlags, TypeFlag) 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 2e9fa9d83..9f84cbea3 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 @@ -2838,6 +2838,11 @@ void PythonQtWrapper_QThread::static_QThread_msleep(unsigned long arg__1) (QThread::msleep(arg__1)); } +QThread::Priority PythonQtWrapper_QThread::priority(QThread* theWrappedObject) const +{ + return ( theWrappedObject->priority()); +} + void PythonQtWrapper_QThread::requestInterruption(QThread* theWrappedObject) { ( theWrappedObject->requestInterruption()); @@ -2853,6 +2858,11 @@ void PythonQtWrapper_QThread::setEventDispatcher(QThread* theWrappedObject, QAbs ( theWrappedObject->setEventDispatcher(eventDispatcher)); } +void PythonQtWrapper_QThread::setPriority(QThread* theWrappedObject, QThread::Priority priority) +{ + ( theWrappedObject->setPriority(priority)); +} + void PythonQtWrapper_QThread::setStackSize(QThread* theWrappedObject, uint stackSize) { ( theWrappedObject->setStackSize(stackSize)); diff --git a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core3.h b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core3.h index 0c700f8d6..c306504d7 100644 --- a/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core3.h +++ b/generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core3.h @@ -701,6 +701,9 @@ inline void py_q_run() { QThread::run(); } class PythonQtWrapper_QThread : public QObject { Q_OBJECT public: +Q_ENUMS(Priority ) +enum Priority{ + IdlePriority = QThread::IdlePriority, LowestPriority = QThread::LowestPriority, LowPriority = QThread::LowPriority, NormalPriority = QThread::NormalPriority, HighPriority = QThread::HighPriority, HighestPriority = QThread::HighestPriority, TimeCriticalPriority = QThread::TimeCriticalPriority, InheritPriority = QThread::InheritPriority}; public slots: QThread* new_QThread(QObject* parent = nullptr); void delete_QThread(QThread* obj) { delete obj; } @@ -716,10 +719,12 @@ void delete_QThread(QThread* obj) { delete obj; } bool isRunning(QThread* theWrappedObject) const; int loopLevel(QThread* theWrappedObject) const; void static_QThread_msleep(unsigned long arg__1); + QThread::Priority priority(QThread* theWrappedObject) const; void requestInterruption(QThread* theWrappedObject); void run(QThread* theWrappedObject); void py_q_run(QThread* theWrappedObject){ (((PythonQtPublicPromoter_QThread*)theWrappedObject)->py_q_run());} void setEventDispatcher(QThread* theWrappedObject, QAbstractEventDispatcher* eventDispatcher); + void setPriority(QThread* theWrappedObject, QThread::Priority priority); void setStackSize(QThread* theWrappedObject, uint stackSize); void static_QThread_setTerminationEnabled(bool enabled = true); void static_QThread_sleep(unsigned long arg__1); 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 9be5d68a7..15c5e90df 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 @@ -4196,6 +4196,11 @@ void PythonQtWrapper_QNetworkAddressEntry::clearAddressLifetime(QNetworkAddressE ( theWrappedObject->clearAddressLifetime()); } +QNetworkAddressEntry::DnsEligibilityStatus PythonQtWrapper_QNetworkAddressEntry::dnsEligibility(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->dnsEligibility()); +} + QHostAddress PythonQtWrapper_QNetworkAddressEntry::ip(QNetworkAddressEntry* theWrappedObject) const { return ( theWrappedObject->ip()); @@ -4251,6 +4256,11 @@ void PythonQtWrapper_QNetworkAddressEntry::setBroadcast(QNetworkAddressEntry* th ( theWrappedObject->setBroadcast(newBroadcast)); } +void PythonQtWrapper_QNetworkAddressEntry::setDnsEligibility(QNetworkAddressEntry* theWrappedObject, QNetworkAddressEntry::DnsEligibilityStatus status) +{ + ( theWrappedObject->setDnsEligibility(status)); +} + void PythonQtWrapper_QNetworkAddressEntry::setIp(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newIp) { ( theWrappedObject->setIp(newIp)); diff --git a/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network0.h b/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network0.h index 4071c623a..e83c59eea 100644 --- a/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network0.h +++ b/generated_cpp_511/com_trolltech_qt_network/com_trolltech_qt_network0.h @@ -887,12 +887,16 @@ void delete_QNetworkAccessManager(QNetworkAccessManager* obj) { delete obj; } class PythonQtWrapper_QNetworkAddressEntry : public QObject { Q_OBJECT public: +Q_ENUMS(DnsEligibilityStatus ) +enum DnsEligibilityStatus{ + DnsEligibilityUnknown = QNetworkAddressEntry::DnsEligibilityUnknown, DnsIneligible = QNetworkAddressEntry::DnsIneligible, DnsEligible = QNetworkAddressEntry::DnsEligible}; public slots: QNetworkAddressEntry* new_QNetworkAddressEntry(); QNetworkAddressEntry* new_QNetworkAddressEntry(const QNetworkAddressEntry& other); void delete_QNetworkAddressEntry(QNetworkAddressEntry* obj) { delete obj; } QHostAddress broadcast(QNetworkAddressEntry* theWrappedObject) const; void clearAddressLifetime(QNetworkAddressEntry* theWrappedObject); + QNetworkAddressEntry::DnsEligibilityStatus dnsEligibility(QNetworkAddressEntry* theWrappedObject) const; QHostAddress ip(QNetworkAddressEntry* theWrappedObject) const; bool isLifetimeKnown(QNetworkAddressEntry* theWrappedObject) const; bool isPermanent(QNetworkAddressEntry* theWrappedObject) const; @@ -904,6 +908,7 @@ void delete_QNetworkAddressEntry(QNetworkAddressEntry* obj) { delete obj; } int prefixLength(QNetworkAddressEntry* theWrappedObject) const; void setAddressLifetime(QNetworkAddressEntry* theWrappedObject, QDeadlineTimer preferred, QDeadlineTimer validity); void setBroadcast(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newBroadcast); + void setDnsEligibility(QNetworkAddressEntry* theWrappedObject, QNetworkAddressEntry::DnsEligibilityStatus status); void setIp(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newIp); void setNetmask(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newNetmask); void setPrefixLength(QNetworkAddressEntry* theWrappedObject, int length);